diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/kem.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/common/kem.c b/common/kem.c index 7227898d1..0e498d37e 100644 --- a/common/kem.c +++ b/common/kem.c @@ -54,7 +54,6 @@ compute_kmac256 (void *digest, size_t digestlen, const void *custom, size_t customlen, gcry_buffer_t *data_iov, int data_iovlen) { -#if GCRYPT_VERSION_NUMBER >= 0x010b00 gpg_error_t err; gcry_buffer_t iov[20]; const unsigned char headPAD[2] = { 1, KECCAK512_BLOCKSIZE }; @@ -142,11 +141,9 @@ compute_kmac256 (void *digest, size_t digestlen, err = gcry_md_hash_buffers_ext (GCRY_MD_CSHAKE256, 0, digest, digestlen, iov, iovcnt); return err; -#else - return gpg_error (GPG_ERR_NOT_IMPLEMENTED); -#endif } + /* Compute KEK (shared secret) for ECC with HASHALGO, ECDH result, ciphertext in ECC_CT, public key in ECC_PK. */ gpg_error_t |