提交 a718c627 编写于 作者: R Richard Levitte

Add notes in CHANGES and NEWS

Reviewed-by: NRich Salz <rsalz@openssl.org>
上级 512fdfdf
...@@ -78,22 +78,22 @@ ...@@ -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
......
...@@ -12,7 +12,7 @@ ...@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册