Skip to content

Commit 9c3143a

Browse files
committed
LTC_TURBO_SHAKE requires LTC_SHA3
1 parent 2267198 commit 9c3143a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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)