On 15-11-16 03:13, Arne Schwabe wrote:
> I think that
> 
>     cipher_ctx_reset (ctx->cipher, tag);
> 
> belongs into the encrypt block instead of the auth block.

Yes and no.  It's part of the encryption, but SIV uses the auth tag as
the IV, so this function needs to be called within the scope where the
tag pointer is available.  I will add a comment to make this more clear.

I'll send a v2 with your comments addressed in a few minutes.

Thanks again!

-Steffan


------------------------------------------------------------------------------
_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to