X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/secnet/blobdiff_plain/8438de14c58421696ce5679b062fca4a56188a34..4f28e77ed21e75fcfb30e2f8d1d2b9b1657f44c6:/transform-eax.c diff --git a/transform-eax.c b/transform-eax.c index f881abb..46dc879 100644 --- 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);