chiark
/
gitweb
/
~mdw
/
secnet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use memcpy helpers and FILLZERO
[secnet]
/
transform-eax.c
diff --git
a/transform-eax.c
b/transform-eax.c
index f881abb9eb424ec444da7ce091e8a038592760f6..46dc879c69ffcb1c6f21c71aea28424cc28322c5 100644
(file)
--- a/
transform-eax.c
+++ b/
transform-eax.c
@@
-179,7
+179,7
@@
static uint32_t transform_forward(void *sst, struct buffer_if *buf,
TEAX_DEBUG(buf->start,buf->size);
-
memcpy(buf_append(buf,SEQLEN), nonce,
SEQLEN);
+
BUF_ADD_BYTES(append,buf,nonce,
SEQLEN);
TEAX_DEBUG(nonce,SEQLEN);