diff options
Diffstat (limited to 'networking/tls.h')
-rw-r--r-- | networking/tls.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/networking/tls.h b/networking/tls.h index 4b0dc7459..494ed78c4 100644 --- a/networking/tls.h +++ b/networking/tls.h | |||
@@ -81,8 +81,12 @@ typedef int16_t int16; | |||
81 | #define AES_BLOCK_SIZE 16 | 81 | #define AES_BLOCK_SIZE 16 |
82 | 82 | ||
83 | void tls_get_random(void *buf, unsigned len) FAST_FUNC; | 83 | void tls_get_random(void *buf, unsigned len) FAST_FUNC; |
84 | |||
84 | void xorbuf(void* buf, const void* mask, unsigned count) FAST_FUNC; | 85 | void xorbuf(void* buf, const void* mask, unsigned count) FAST_FUNC; |
85 | 86 | ||
87 | #define ALIGNED_long ALIGNED(sizeof(long)) | ||
88 | void xorbuf_aligned_AES_BLOCK_SIZE(void* buf, const void* mask) FAST_FUNC; | ||
89 | |||
86 | #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) |
87 | 91 | ||
88 | #define psFree(p, pool) free(p) | 92 | #define psFree(p, pool) free(p) |