Add notes in CHANGES and NEWS

Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
Richard Levitte 2016-01-02 20:11:26 +01:00
parent 512fdfdf7f
commit a718c62758
2 changed files with 11 additions and 11 deletions

20
CHANGES
View File

@ -78,22 +78,22 @@
exchange. The LOW ciphers currently doesn't have any ciphers in it. exchange. The LOW ciphers currently doesn't have any ciphers in it.
[Kurt Roeckx] [Kurt Roeckx]
*) Make EVP_MD_CTX, EVP_MD and HMAC_CTX opaque. For HMAC_CTX, the *) Made EVP_MD_CTX, EVP_MD, EVP_CIPHER_CTX, EVP_CIPHER and HMAC_CTX
following constructors and destructors were added: opaque. For HMAC_CTX, the following constructors and destructors
were added:
HMAC_CTX *HMAC_CTX_new(void); HMAC_CTX *HMAC_CTX_new(void);
void HMAC_CTX_free(HMAC_CTX *ctx); void HMAC_CTX_free(HMAC_CTX *ctx);
For EVP_MD, a complete API to create, fill and destroy such For EVP_MD and EVP_CIPHR, complete APIs to create, fill and
methods has been added. See EVP_MD_meth_new(3) for destroy such methods has been added. See EVP_MD_meth_new(3) and
documentation. EVP_CIPHER_meth_new(3) for documentation.
Additional changes: Additional changes:
1) HMAC_CTX_cleanup() and EVP_MD_CTX_cleanup() were removed, 1) EVP_MD_CTX_cleanup(), EVP_CIPHER_CTX_cleanup() and
HMAC_CTX_init() and EVP_MD_CTX_init() should be called instead HMAC_CTX_cleanup() were removed. HMAC_CTX_reset() and
to reinitialise and already created structure. Also, EVP_MD_CTX_reset() should be called instead to reinitialise
HMAC_CTX_init() and EVP_MD_CTX_init() now return 0 for failure an already created structure.
and 1 for success (they previously had the return type void).
2) For consistency with the majority of our object creators and 2) For consistency with the majority of our object creators and
destructors, EVP_MD_CTX_(create|destroy) were renamed to destructors, EVP_MD_CTX_(create|destroy) were renamed to
EVP_MD_CTX_(new|free). The old names are retained as macros EVP_MD_CTX_(new|free). The old names are retained as macros

2
NEWS
View File

@ -12,7 +12,7 @@
o CCM ciphersuites o CCM ciphersuites
o Reworked test suite, now based on perl, Test::Harness and Test::More o Reworked test suite, now based on perl, Test::Harness and Test::More
o Varous libcrypto structures made opaque including: BIGNUM, EVP_MD, o Varous libcrypto structures made opaque including: BIGNUM, EVP_MD,
EVP_MD_CTX and HMAC_CTX. EVP_MD_CTX, HMAC_CTX, EVP_CIPHER and EVP_CIPHER_CTX.
o libssl internal structures made opaque o libssl internal structures made opaque
o SSLv2 support removed o SSLv2 support removed
o Kerberos ciphersuite support removed o Kerberos ciphersuite support removed