summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2019-09-17 16:35:23 -0400
committerTomas Mraz <tmraz@fedoraproject.org>2019-10-23 08:32:48 +0200
commit33f54da3dda8ef95c2a8d8580fde312c6fe4d3fb (patch)
tree587fa80c2a189d5bea1901eeb0f74fbe71f75dfe /include
parenteb2ff0408ac6e934e05db7ed4006855c018584f1 (diff)
Add KRB5KDF from RFC 3961
Signed-off-by: Simo Sorce <simo@redhat.com> Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/9949)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/core_names.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/openssl/core_names.h b/include/openssl/core_names.h
index e7e5ea060e..4cbcf0cc71 100644
--- a/include/openssl/core_names.h
+++ b/include/openssl/core_names.h
@@ -133,6 +133,8 @@ extern "C" {
#define OSSL_KDF_PARAM_SSHKDF_SESSION_ID "session_id" /* octet string */
#define OSSL_KDF_PARAM_SSHKDF_TYPE "type" /* int */
#define OSSL_KDF_PARAM_SIZE "size" /* size_t */
+#define OSSL_KDF_PARAM_CIPHER OSSL_ALG_PARAM_CIPHER /* utf8 string */
+#define OSSL_KDF_PARAM_CONSTANT "constant" /* octet string */
/* Known KDF names */
#define OSSL_KDF_NAME_HKDF "HKDF"
@@ -144,6 +146,7 @@ extern "C" {
#define OSSL_KDF_NAME_X942KDF "X942KDF"
#define OSSL_KDF_NAME_X963KDF "X963KDF"
#define OSSL_KDF_NAME_KBKDF "KBKDF"
+#define OSSL_KDF_NAME_KRB5KDF "KRB5KDF"
/* PKEY parameters */
/* Diffie-Hellman/DSA Parameters */