Added new EVP/KDF API.
authorDavid Makepeace <david.p.makepeace@oracle.com>
Thu, 21 Jun 2018 21:16:18 +0000 (07:16 +1000)
committerRichard Levitte <levitte@openssl.org>
Wed, 13 Feb 2019 11:11:49 +0000 (12:11 +0100)
commit5a285addbf39f91d567f95f04b2b41764127950d
tree4cdf512d4217da5b6b959552a20a33b6a23a9aaa
parente0ae0585bee898184cbbe8144d2fa8ce25e8ca72
Added new EVP/KDF API.
Changed PKEY/KDF API to call the new API.
Added wrappers for PKCS5_PBKDF2_HMAC() and EVP_PBE_scrypt() to call the new EVP KDF APIs.
Documentation updated.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6674)
41 files changed:
CHANGES
crypto/err/openssl.txt
crypto/evp/build.info
crypto/evp/e_chacha20_poly1305.c
crypto/evp/encode.c
crypto/evp/evp_err.c
crypto/evp/evp_locl.h
crypto/evp/evp_pbe.c
crypto/evp/kdf_lib.c [new file with mode: 0644]
crypto/evp/p5_crpt2.c
crypto/evp/pbe_scrypt.c
crypto/evp/pkey_kdf.c [new file with mode: 0644]
crypto/include/internal/evp_int.h
crypto/kdf/build.info
crypto/kdf/hkdf.c
crypto/kdf/kdf_err.c
crypto/kdf/kdf_local.h [new file with mode: 0644]
crypto/kdf/kdf_util.c [new file with mode: 0644]
crypto/kdf/pbkdf2.c [new file with mode: 0644]
crypto/kdf/scrypt.c
crypto/kdf/tls1_prf.c
doc/man3/EVP_KDF_CTX.pod [new file with mode: 0644]
doc/man7/EVP_KDF_HKDF.pod [new file with mode: 0644]
doc/man7/EVP_KDF_PBKDF2.pod [new file with mode: 0644]
doc/man7/EVP_KDF_SCRYPT.pod [new file with mode: 0644]
doc/man7/EVP_KDF_TLS1_PRF.pod [new file with mode: 0644]
doc/man7/scrypt.pod [deleted file]
include/openssl/evperr.h
include/openssl/kdf.h
include/openssl/kdferr.h
include/openssl/ossl_typ.h
test/build.info
test/evp_kdf_test.c [new file with mode: 0644]
test/evp_test.c
test/pkey_meth_kdf_test.c
test/recipes/30-test_evp.t
test/recipes/30-test_evp_data/evpkdf.txt
test/recipes/30-test_evp_data/evppkey_kdf.txt [new file with mode: 0644]
test/recipes/30-test_evp_kdf.t [new file with mode: 0644]
util/libcrypto.num
util/private.num