aboutsummaryrefslogtreecommitdiff
path: root/networking/tls.h
diff options
context:
space:
mode:
Diffstat (limited to 'networking/tls.h')
-rw-r--r--networking/tls.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/networking/tls.h b/networking/tls.h
index e1afb7ea8..154e9b2fb 100644
--- a/networking/tls.h
+++ b/networking/tls.h
@@ -105,12 +105,15 @@ void xorbuf_aligned_AES_BLOCK_SIZE(void* buf, const void* mask) FAST_FUNC;
105#include "tls_aes.h" 105#include "tls_aes.h"
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"
109 108
110#define EC_CURVE_KEYSIZE 32 109#define EC_CURVE_KEYSIZE 32
111#define P256_KEYSIZE 32 110#define P256_KEYSIZE 32
112#define CURVE25519_KEYSIZE 32 111#define CURVE25519_KEYSIZE 32
113 112
113void curve_x25519_compute_pubkey_and_premaster(
114 uint8_t *pubkey, uint8_t *premaster,
115 const uint8_t *peerkey32) FAST_FUNC;
116
114void curve_P256_compute_pubkey_and_premaster( 117void curve_P256_compute_pubkey_and_premaster(
115 uint8_t *pubkey, uint8_t *premaster, 118 uint8_t *pubkey, uint8_t *premaster,
116 const uint8_t *peerkey32) FAST_FUNC; 119 const uint8_t *peerkey32) FAST_FUNC;