mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-26 11:47:13 +09:00
Define a POISON macro
This commit is contained in:
@@ -233,4 +233,10 @@ xor_buf(unsigned char *out, const unsigned char *in, size_t n)
|
||||
# include <intrin.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_LIBCTGRIND
|
||||
# define POISON(X, L) ct_poison((X), (L))
|
||||
#else
|
||||
# define POISON(X, L) (void) 0
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user