aboutsummaryrefslogtreecommitdiffstats
path: root/common/util.h
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2024-03-29 04:20:17 +0000
committerNIIBE Yutaka <[email protected]>2024-03-29 04:20:17 +0000
commit5a25b27860985c916d15c490703de923ce8752e1 (patch)
treeda44b9de579ff67399bf6a7e2532a8ef518200c8 /common/util.h
parentFix pkdecrypt.c, now works with the test vector. (diff)
downloadgnupg-gniibe/kem.tar.gz
gnupg-gniibe/kem.zip
Add kmac.c.gniibe/kem
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'common/util.h')
-rw-r--r--common/util.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/util.h b/common/util.h
index 2b46ec930..f3fbfc3c8 100644
--- a/common/util.h
+++ b/common/util.h
@@ -298,6 +298,12 @@ char *gnupg_get_help_string (const char *key, int only_current_locale);
/*-- localename.c --*/
const char *gnupg_messages_locale_name (void);
+/*-- kmac.c --*/
+gpg_error_t compute_kmac256 (void *digest, size_t digestlen,
+ const void *key, size_t keylen,
+ const void *custom, size_t customlen,
+ gcry_buffer_t *data_iov, int data_iovlen);
+
/*-- miscellaneous.c --*/
/* This function is called at startup to tell libgcrypt to use our own