diff options
Diffstat (limited to 'src/fastd.h')
-rw-r--r-- | src/fastd.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/fastd.h b/src/fastd.h index ebbcf86..90f1f8f 100644 --- a/src/fastd.h +++ b/src/fastd.h @@ -478,22 +478,4 @@ static inline size_t min_size_t(size_t a, size_t b) { return (a < b) ? a : b; } -static inline void secure_memzero(void *s, size_t n) { - memset(s, 0, n); - __asm__ volatile("" : : "m"(s)); -} - -static inline void xor(fastd_block128_t *x, fastd_block128_t a, fastd_block128_t b) { - x->qw[0] = a.qw[0] ^ b.qw[0]; - x->qw[1] = a.qw[1] ^ b.qw[1]; -} - -static inline void xor_a(fastd_block128_t *x, fastd_block128_t a) { - xor(x, *x, a); -} - -static inline bool fastd_true(void) { - return true; -} - #endif /* _FASTD_FASTD_H_ */ |