8bbeaaa4fc
X963 KDF is used for CMS ec keyagree Recipient Info. The X963 KDF that is used by CMS EC Key Agreement has been moved into a EVP_KDF object. This KDF is almost identical to the the SSKDF hash variant, so it has been implemented inside the SSKDF code with its own method table. Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/8902)
24 lines
700 B
C
24 lines
700 B
C
/*
|
|
* Copyright 2019 The OpenSSL Project Authors. All Rights Reserved.
|
|
*
|
|
* Licensed under the Apache License 2.0 (the "License"). You may not use
|
|
* this file except in compliance with the License. You can obtain a copy
|
|
* in the file LICENSE in the source distribution or at
|
|
* https://www.openssl.org/source/license.html
|
|
*/
|
|
|
|
#include <openssl/evp.h>
|
|
#include "internal/evp_int.h"
|
|
|
|
void openssl_add_all_kdfs_int(void)
|
|
{
|
|
EVP_add_kdf(&pbkdf2_kdf_meth);
|
|
#ifndef OPENSSL_NO_SCRYPT
|
|
EVP_add_kdf(&scrypt_kdf_meth);
|
|
#endif
|
|
EVP_add_kdf(&tls1_prf_kdf_meth);
|
|
EVP_add_kdf(&hkdf_kdf_meth);
|
|
EVP_add_kdf(&sshkdf_kdf_meth);
|
|
EVP_add_kdf(&ss_kdf_meth);
|
|
EVP_add_kdf(&x963_kdf_meth);
|
|
}
|