X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=transform-eax.c;fp=transform-eax.c;h=46dc879c69ffcb1c6f21c71aea28424cc28322c5;hb=4f28e77ed21e75fcfb30e2f8d1d2b9b1657f44c6;hp=f881abb9eb424ec444da7ce091e8a038592760f6;hpb=8438de14c58421696ce5679b062fca4a56188a34;p=secnet.git 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);