Searched refs:crypto_info (Results 1 – 7 of 7) sorted by relevance
/freebsd/crypto/openssl/ssl/ |
H A D | ktls.c | 124 void *rl_sequence, ktls_crypto_info_t *crypto_info, in ktls_configure_crypto() argument 129 memset(crypto_info, 0, sizeof(*crypto_info)); in ktls_configure_crypto() 133 crypto_info->cipher_algorithm = CRYPTO_AES_NIST_GCM_16; in ktls_configure_crypto() 135 crypto_info->iv_len = EVP_CIPHER_CTX_get_iv_length(dd); in ktls_configure_crypto() 136 if (crypto_info->iv_len < 0) in ktls_configure_crypto() 140 crypto_info->iv_len = EVP_GCM_TLS_FIXED_IV_LEN; in ktls_configure_crypto() 144 crypto_info->cipher_algorithm = CRYPTO_CHACHA20_POLY1305; in ktls_configure_crypto() 145 crypto_info->iv_len = EVP_CIPHER_CTX_get_iv_length(dd); in ktls_configure_crypto() 152 crypto_info->auth_algorithm = CRYPTO_SHA1_HMAC; in ktls_configure_crypto() 155 crypto_info->auth_algorithm = CRYPTO_SHA2_256_HMAC; in ktls_configure_crypto() [all …]
|
H A D | t1_enc.c | 167 ktls_crypto_info_t crypto_info; in tls1_change_cipher_state() local 440 if (!ktls_configure_crypto(s, c, dd, rl_sequence, &crypto_info, in tls1_change_cipher_state() 446 if (BIO_set_ktls(bio, &crypto_info, which & SSL3_CC_WRITE)) { in tls1_change_cipher_state()
|
H A D | tls13_enc.c | 440 ktls_crypto_info_t crypto_info; in tls13_change_cipher_state() local 734 if (!ktls_configure_crypto(s, cipher, ciph_ctx, rl_sequence, &crypto_info, in tls13_change_cipher_state() 739 if (BIO_set_ktls(bio, &crypto_info, which & SSL3_CC_WRITE)) { in tls13_change_cipher_state()
|
H A D | ssl_local.h | 2766 void *rl_sequence, ktls_crypto_info_t *crypto_info,
|
/freebsd/crypto/openssl/crypto/bio/ |
H A D | bss_sock.c | 155 ktls_crypto_info_t *crypto_info; in sock_ctrl() local 186 crypto_info = (ktls_crypto_info_t *)ptr; in sock_ctrl() 187 ret = ktls_start(b->num, crypto_info, num); in sock_ctrl()
|
H A D | bss_conn.c | 393 ktls_crypto_info_t *crypto_info; in conn_ctrl() local 556 crypto_info = (ktls_crypto_info_t *)ptr; in conn_ctrl() 557 ret = ktls_start(b->num, crypto_info, num); in conn_ctrl()
|
/freebsd/crypto/openssl/include/internal/ |
H A D | ktls.h | 289 static ossl_inline int ktls_start(int fd, ktls_crypto_info_t *crypto_info, in ktls_start() argument 293 crypto_info, crypto_info->tls_crypto_info_len) ? 0 : 1; in ktls_start()
|