summaryrefslogtreecommitdiff
path: root/lib/libgnutls.map
diff options
context:
space:
mode:
authorDaiki Ueno <dueno@redhat.com>2020-02-02 14:44:05 +0100
committerDaiki Ueno <dueno@redhat.com>2020-02-04 10:29:36 +0100
commit623058337490b847d27b736c67b6e710efb980a7 (patch)
treebebc7927a88e16439d60834312729ca0ca0fb403 /lib/libgnutls.map
parentb4c52d8ad4a063d05100980f895e330ff6076de5 (diff)
downloadgnutls-623058337490b847d27b736c67b6e710efb980a7.tar.gz
crypto-api: add generic crypto functions for KDF
This exposes HKDF and PBKDF2 functions from the library. Instead of defining a single KDF interface as in PKCS #11, this patch defines 3 distinct functions for HKDF-Extract, HKDF-Expand, and PBKDF2 derivation, so that we can take advantage of compile time checking of necesssary parameters. Signed-off-by: Daiki Ueno <dueno@redhat.com>
Diffstat (limited to 'lib/libgnutls.map')
-rw-r--r--lib/libgnutls.map8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/libgnutls.map b/lib/libgnutls.map
index e1878bb00c..bf8fff8bc3 100644
--- a/lib/libgnutls.map
+++ b/lib/libgnutls.map
@@ -1309,6 +1309,14 @@ GNUTLS_3_6_12
gnutls_hmac_get_key_size;
} GNUTLS_3_6_10;
+GNUTLS_3_6_13
+{
+ global:
+ gnutls_hkdf_extract;
+ gnutls_hkdf_expand;
+ gnutls_pbkdf2;
+} GNUTLS_3_6_12;
+
GNUTLS_FIPS140_3_4 {
global:
gnutls_cipher_self_test;