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 <hmur...@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. > > > _______________________________________________ devel mailing list devel@ntpsec.org http://lists.ntpsec.org/mailman/listinfo/devel