Displaying 2 results from an estimated 2 matches for "md_data".
Did you mean:
mc_data
2017 Jun 23
5
OpenSSL 1.1 support status : what next?
OpenSC has taken a different approach to OpenSSL-1.1. Rather then writing
a shim for OpenSSL-1.1, the OpenSC code has been converted to
the OpenSSL-1.1 API and a sc-ossl-compat.h" file consisting of defines and
macros was written to support older versions of OpenSSL and Libressl.
https://github.com/OpenSC/OpenSC/blob/master/src/libopensc/sc-ossl-compat.h
The nice part of this approach is
2017 Jun 24
2
OpenSSL 1.1 support status : what next?
...and I insist on this fact: code is quite trivial. The most complicated function would
> be this one :
>
> ?----8<-----?
> static int EVP_MD_CTX_reset(EVP_MD_CTX *ctx)
> {
> ??
> if (ctx == NULL)
> ??
> return 1;
> ??
> /*
> ??
> * Don't assume ctx->md_data was cleaned in EVP_Digest_Final, because
> ??
> * sometimes only copies of the context are ever finalised.
> ??
> */
> ??
> if (ctx->digest && ctx->digest->cleanup
> ??
> && !EVP_MD_CTX_test_flags(ctx, EVP_MD_CTX_FLAG_CLEANED))
> ??
> ctx-&...