diff options
Diffstat (limited to 'networking/tls.h')
-rw-r--r-- | networking/tls.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/networking/tls.h b/networking/tls.h index d4ac1bef8..e1afb7ea8 100644 --- a/networking/tls.h +++ b/networking/tls.h | |||
@@ -106,3 +106,11 @@ void xorbuf_aligned_AES_BLOCK_SIZE(void* buf, const void* mask) FAST_FUNC; | |||
106 | #include "tls_aesgcm.h" | 106 | #include "tls_aesgcm.h" |
107 | #include "tls_rsa.h" | 107 | #include "tls_rsa.h" |
108 | #include "tls_fe.h" | 108 | #include "tls_fe.h" |
109 | |||
110 | #define EC_CURVE_KEYSIZE 32 | ||
111 | #define P256_KEYSIZE 32 | ||
112 | #define CURVE25519_KEYSIZE 32 | ||
113 | |||
114 | void curve_P256_compute_pubkey_and_premaster( | ||
115 | uint8_t *pubkey, uint8_t *premaster, | ||
116 | const uint8_t *peerkey32) FAST_FUNC; | ||