diff options
Diffstat (limited to 'networking/tls.h')
-rw-r--r-- | networking/tls.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/networking/tls.h b/networking/tls.h index 4fac23993..eee5a7617 100644 --- a/networking/tls.h +++ b/networking/tls.h | |||
@@ -83,10 +83,9 @@ typedef int16_t int16; | |||
83 | 83 | ||
84 | void tls_get_random(void *buf, unsigned len) FAST_FUNC; | 84 | void tls_get_random(void *buf, unsigned len) FAST_FUNC; |
85 | 85 | ||
86 | void xorbuf(void* buf, const void* mask, unsigned count) FAST_FUNC; | ||
87 | |||
88 | #define ALIGNED_long ALIGNED(sizeof(long)) | 86 | #define ALIGNED_long ALIGNED(sizeof(long)) |
89 | void xorbuf_aligned_AES_BLOCK_SIZE(void* buf, const void* mask) FAST_FUNC; | 87 | #define xorbuf_aligned_AES_BLOCK_SIZE(dst,src) xorbuf16_aligned_long(dst,src) |
88 | #define xorbuf_AES_BLOCK_SIZE(dst,src) xorbuf16(dst,src) | ||
90 | 89 | ||
91 | #define matrixCryptoGetPrngData(buf, len, userPtr) (tls_get_random(buf, len), PS_SUCCESS) | 90 | #define matrixCryptoGetPrngData(buf, len, userPtr) (tls_get_random(buf, len), PS_SUCCESS) |
92 | 91 | ||