| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
#pragma once |
| 17 |
|
| 18 |
#include "crypto/s2n_ecc_evp.h" |
| 19 |
#include "stuffer/s2n_stuffer.h" |
| 20 |
#include "tls/s2n_connection.h" |
| 21 |
|
| 22 |
#define S2N_SIZE_OF_EXTENSION_TYPE 2 |
| 23 |
#define S2N_SIZE_OF_EXTENSION_DATA_SIZE 2 |
| 24 |
#define S2N_SIZE_OF_CLIENT_SHARES_SIZE 2 |
| 25 |
#define S2N_SIZE_OF_NAMED_GROUP 2 |
| 26 |
#define S2N_SIZE_OF_KEY_SHARE_SIZE 2 |
| 27 |
|
| 28 |
S2N_RESULT s2n_ecdhe_send_public_key(struct s2n_ecc_evp_params *ecc_evp_params, struct s2n_stuffer *out, bool len_prefixed); |
| 29 |
int s2n_ecdhe_parameters_send(struct s2n_ecc_evp_params *ecc_evp_params, struct s2n_stuffer *out); |