libaes_siv release candidate

Hal Murray hmurray at megapathdsl.net
Mon Feb 18 20:52:54 UTC 2019


There is a rough edge that I don't fully understand.

The man page for AES_SIV_Decrypt says:
       These functions return 1 on success and 0 on failure.

There are 2 types of errors: the CMAC check failed, or there was a problem in 
some underlying machinery.

Is there any way to distinguish between the two?

It seems like you have inherited a general OpenSSL problem.  You might be able 
to solve it by storing a magic value in out_len.

-- 
These are my opinions.  I hate spam.





More information about the devel mailing list