Re: failing in reproducing .so files
Thanks Salz, That investigation I will do for all the files I added, but for sure is not that case for the API I added (EVP_PKEY_get0_TUV) since is in a "native" openssl file (crypto/evp/p_lib.c and include/openssl/evp.h)... But OK it could be a side effect. Il giorno ven 14 giu 2019 alle ore 20:48 Salz, Rich ha scritto: > If you are adding new functions to the library, you need to > > 1A Make sure there is a prototype in one of the existing OpenSSL > header files; > > OR > > 1B If your prototype is in a new header file, you will have to > edit Configurations/unix-Makefile.tmpl to pick up that file. > > > > 2 Run configure > > > > 3.Do “make update” Verify that the previous steps worked by > looking for your new function(s) being declared in util/libcrypto.num > > > > 4.Run make > > > > This could be documented somewhere; anyone want to copy this email into a > new issue? >
Calling EVP_DigestFinal_ex multiple times
Hello, I am wondering whether it is permitted to call EVP_DigestFinal_ex multiple times on the same context in order to retrieve the same digest twice. I expected OpenSSL to fail with an error code, but SHA256 seems to permit it whereas SHA3 seems to cause a segmentation fault. The documentation does not explicitely forbid or allow it, so I am wondering where this should be addressed: In the implementation of EVP_*, in SHA2, in SHA3, in the documentation, or not at all? Thank you in advance! Tobias