libaes_siv release candidate

Daniel Franke dfoxfranke at gmail.com
Tue Feb 19 04:01:22 UTC 2019


You can assume it's a verification failure because "failure in
underlying machinery" shouldn't be possible. The call doesn't allocate
memory and doesn't make any system calls. There's nothing that can
fail.

On Mon, Feb 18, 2019 at 3:53 PM Hal Murray <hmurray at megapathdsl.net> wrote:
>
>
> 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