Re: EVP Signing and Verifying

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 27/04/2020 20:51, Thomas Dwyer III wrote:
> The first signing example at
> https://wiki.openssl.org/index.php/EVP_Signing_and_Verifying explicitly
> calls both EVP_DigestInit_ex() and EVP_DigestSignInit(). Is the former
> really necessary? It appears that the implementation of
> EVP_DigestSignInit() in all versions of OpenSSL internally invokes
> EVP_DigestInit_ex() so I'm confused by this example. Did I miss something?

No - it's not necessary.

In fact both of those HMAC examples looked a bit more complicated to me
than they needed to be for the purposes of an example. So I've updated
the page to try and simplify things a bit and removed the double init.

Matt




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux