Skip to content

Commit 189f9cc

Browse files
committed
LTC_TURBO_SHAKE requires LTC_SHA3
1 parent e20fff1 commit 189f9cc

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/headers/tomcrypt_custom.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -709,6 +709,10 @@
709709
#error LTC_SPRNG requires LTC_RNG_GET_BYTES
710710
#endif
711711

712+
#if defined(LTC_TURBO_SHAKE) && !defined(LTC_SHA3)
713+
#error LTC_TURBO_SHAKE requires LTC_SHA3
714+
#endif
715+
712716
#if defined(LTC_NO_MATH) && (defined(LTM_DESC) || defined(TFM_DESC) || defined(GMP_DESC))
713717
#error LTC_NO_MATH defined, but also a math descriptor
714718
#endif

0 commit comments

Comments
 (0)