David von Oheimb
9fdcc21fdc
constify *_dup() and *i2d_*() and related functions as far as possible, introducing DECLARE_ASN1_DUP_FUNCTION
...
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8029 )
2019-03-06 16:10:09 +00:00
Richard Levitte
4a8b0c55c0
Following the license change, modify the boilerplates in crypto/evp/
...
[skip ci]
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7794 )
2018-12-06 14:54:57 +01:00
Paul Yang
c1da4b2afe
Add poly1305 MAC support
...
This is based on the latest EVP MAC interface introduced in PR #7393 .
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7459 )
2018-11-05 13:07:07 +08:00
Richard Levitte
14f61f81f2
EVP_MAC: Integrate SipHash EVP_PKEY_METHOD into generic MAC EVP_PKEY_METHOD
...
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/7494 )
2018-10-30 08:09:07 +01:00
Richard Levitte
f8c9a8e325
EVP_MAC: Integrate HMAC EVP_PKEY_METHOD into generic MAC EVP_PKEY_METHOD
...
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/7483 )
2018-10-30 05:50:58 +01:00
Richard Levitte
e74a435f58
EVP_MAC: Integrate CMAC EVP_PKEY_METHOD into generic MAC EVP_PKEY_METHOD
...
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/7484 )
2018-10-30 05:34:50 +01:00
Richard Levitte
5e55159b3a
Add generic EVP_PKEY_METHOD for EVP_MACs
...
The MAC EVP_PKEY implementations are currently implemented for each
MAC. However, with the EVP_MAC API, only one such implementation is
needed.
This implementation takes into account the differences between HMAC
and CMAC implementations, and observes that all other current MAC
implementations seem to follow the HMAC model.
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/7393 )
2018-10-29 13:35:19 +01:00