diff options
Diffstat (limited to 'lib/crypto/c_src/digest.c')
-rw-r--r-- | lib/crypto/c_src/digest.c | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/lib/crypto/c_src/digest.c b/lib/crypto/c_src/digest.c index d13304de49..775077cb8a 100644 --- a/lib/crypto/c_src/digest.c +++ b/lib/crypto/c_src/digest.c @@ -1,7 +1,7 @@ /* * %CopyrightBegin% * - * Copyright Ericsson AB 2010-2021. All Rights Reserved. + * Copyright Ericsson AB 2010-2023. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -114,6 +114,22 @@ static struct digest_type_t digest_types[] = #endif }, + {"shake128", "SHAKE-128", 0, 0, +#ifdef HAVE_SHAKE128 + {&EVP_shake128, NULL} +#else + {NULL,NULL} +#endif + }, + + {"shake256", "SHAKE-256", 0, 0, +#ifdef HAVE_SHAKE256 + {&EVP_shake256, NULL} +#else + {NULL,NULL} +#endif + }, + {"blake2b", "BLAKE2b512", 0, 0, #ifdef HAVE_BLAKE2 {&EVP_blake2b512,NULL} |