Changeset View
Changeset View
Standalone View
Standalone View
crypto/openssl/include/internal/ktls.h
Show All 33 Lines | |||||
# ifndef TCP_RXTLS_ENABLE | # ifndef TCP_RXTLS_ENABLE | ||||
# define OPENSSL_NO_KTLS_RX | # define OPENSSL_NO_KTLS_RX | ||||
# endif | # endif | ||||
# define OPENSSL_KTLS_AES_GCM_128 | # define OPENSSL_KTLS_AES_GCM_128 | ||||
# define OPENSSL_KTLS_AES_GCM_256 | # define OPENSSL_KTLS_AES_GCM_256 | ||||
# define OPENSSL_KTLS_TLS13 | # define OPENSSL_KTLS_TLS13 | ||||
/* | |||||
* Only used by the tests in sslapitest.c. | |||||
*/ | |||||
# define TLS_CIPHER_AES_GCM_128_REC_SEQ_SIZE 8 | |||||
# define TLS_CIPHER_AES_GCM_256_REC_SEQ_SIZE 8 | |||||
typedef struct tls_enable ktls_crypto_info_t; | typedef struct tls_enable ktls_crypto_info_t; | ||||
/* | /* | ||||
* FreeBSD does not require any additional steps to enable KTLS before | * FreeBSD does not require any additional steps to enable KTLS before | ||||
* setting keys. | * setting keys. | ||||
*/ | */ | ||||
static ossl_inline int ktls_enable(int fd) | static ossl_inline int ktls_enable(int fd) | ||||
{ | { | ||||
▲ Show 20 Lines • Show All 353 Lines • Show Last 20 Lines |