diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2017-01-16 04:25:01 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-01-16 04:25:01 +0100 |
commit | 936e83e694b3225dbcc14fc99ca8053e2518ab35 (patch) | |
tree | 337ba121f89a9b2c5ce56d932470e43f56605766 /networking/tls.h | |
parent | 6c73aaff38819533c55aecc53487d53521915e91 (diff) | |
download | busybox-w32-936e83e694b3225dbcc14fc99ca8053e2518ab35.tar.gz busybox-w32-936e83e694b3225dbcc14fc99ca8053e2518ab35.tar.bz2 busybox-w32-936e83e694b3225dbcc14fc99ca8053e2518ab35.zip |
tls: add sha256 hmac and prf code
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/tls.h')
-rw-r--r-- | networking/tls.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/tls.h b/networking/tls.h index 20317ecc3..3a8a3d826 100644 --- a/networking/tls.h +++ b/networking/tls.h | |||
@@ -59,7 +59,7 @@ void tls_get_random(void *buf, unsigned len); | |||
59 | #define matrixCryptoGetPrngData(buf, len, userPtr) (tls_get_random(buf, len), PS_SUCCESS) | 59 | #define matrixCryptoGetPrngData(buf, len, userPtr) (tls_get_random(buf, len), PS_SUCCESS) |
60 | 60 | ||
61 | #define psFree(p, pool) free(p) | 61 | #define psFree(p, pool) free(p) |
62 | #define psTraceCrypto(msg) bb_error_msg_and_die(msg) | 62 | #define psTraceCrypto(...) bb_error_msg_and_die(__VA_ARGS__) |
63 | 63 | ||
64 | /* Secure zerofill */ | 64 | /* Secure zerofill */ |
65 | #define memset_s(A,B,C,D) memset((A),(C),(D)) | 65 | #define memset_s(A,B,C,D) memset((A),(C),(D)) |