Home
last modified time | relevance | path

Searched refs:crypto_info (Results 1 - 14 of 14) sorted by relevance

/third_party/node/deps/openssl/openssl/ssl/
H A Dktls.c59 void *rl_sequence, ktls_crypto_info_t *crypto_info, in ktls_configure_crypto()
64 memset(crypto_info, 0, sizeof(*crypto_info)); in ktls_configure_crypto()
68 crypto_info->cipher_algorithm = CRYPTO_AES_NIST_GCM_16; in ktls_configure_crypto()
70 crypto_info->iv_len = EVP_CIPHER_CTX_get_iv_length(dd); in ktls_configure_crypto()
71 if (crypto_info->iv_len < 0) in ktls_configure_crypto()
75 crypto_info->iv_len = EVP_GCM_TLS_FIXED_IV_LEN; in ktls_configure_crypto()
81 crypto_info->auth_algorithm = CRYPTO_SHA1_HMAC; in ktls_configure_crypto()
84 crypto_info->auth_algorithm = CRYPTO_SHA2_256_HMAC; in ktls_configure_crypto()
87 crypto_info in ktls_configure_crypto()
58 ktls_configure_crypto(const SSL *s, const EVP_CIPHER *c, EVP_CIPHER_CTX *dd, void *rl_sequence, ktls_crypto_info_t *crypto_info, unsigned char **rec_seq, unsigned char *iv, unsigned char *key, unsigned char *mac_key, size_t mac_secret_size) ktls_configure_crypto() argument
160 ktls_configure_crypto(const SSL *s, const EVP_CIPHER *c, EVP_CIPHER_CTX *dd, void *rl_sequence, ktls_crypto_info_t *crypto_info, unsigned char **rec_seq, unsigned char *iv, unsigned char *key, unsigned char *mac_key, size_t mac_secret_size) ktls_configure_crypto() argument
[all...]
H A Dt1_enc.c203 ktls_crypto_info_t crypto_info; in tls1_change_cipher_state() local
481 if (!ktls_configure_crypto(s, c, dd, rl_sequence, &crypto_info, &rec_seq, in tls1_change_cipher_state()
491 /* increment the crypto_info record sequence */ in tls1_change_cipher_state()
506 if (BIO_set_ktls(bio, &crypto_info, which & SSL3_CC_WRITE)) { in tls1_change_cipher_state()
H A Dtls13_enc.c644 ktls_crypto_info_t crypto_info; in tls13_change_cipher_state() local
935 &crypto_info, NULL, iv, key, NULL, 0)) in tls13_change_cipher_state()
939 if (BIO_set_ktls(bio, &crypto_info, which & SSL3_CC_WRITE)) in tls13_change_cipher_state()
H A Dssl_local.h2822 void *rl_sequence, ktls_crypto_info_t *crypto_info,
/third_party/openssl/ssl/
H A Dktls.c59 void *rl_sequence, ktls_crypto_info_t *crypto_info, in ktls_configure_crypto()
64 memset(crypto_info, 0, sizeof(*crypto_info)); in ktls_configure_crypto()
68 crypto_info->cipher_algorithm = CRYPTO_AES_NIST_GCM_16; in ktls_configure_crypto()
70 crypto_info->iv_len = EVP_CIPHER_CTX_get_iv_length(dd); in ktls_configure_crypto()
71 if (crypto_info->iv_len < 0) in ktls_configure_crypto()
75 crypto_info->iv_len = EVP_GCM_TLS_FIXED_IV_LEN; in ktls_configure_crypto()
81 crypto_info->auth_algorithm = CRYPTO_SHA1_HMAC; in ktls_configure_crypto()
84 crypto_info->auth_algorithm = CRYPTO_SHA2_256_HMAC; in ktls_configure_crypto()
87 crypto_info in ktls_configure_crypto()
58 ktls_configure_crypto(const SSL *s, const EVP_CIPHER *c, EVP_CIPHER_CTX *dd, void *rl_sequence, ktls_crypto_info_t *crypto_info, unsigned char **rec_seq, unsigned char *iv, unsigned char *key, unsigned char *mac_key, size_t mac_secret_size) ktls_configure_crypto() argument
160 ktls_configure_crypto(const SSL *s, const EVP_CIPHER *c, EVP_CIPHER_CTX *dd, void *rl_sequence, ktls_crypto_info_t *crypto_info, unsigned char **rec_seq, unsigned char *iv, unsigned char *key, unsigned char *mac_key, size_t mac_secret_size) ktls_configure_crypto() argument
[all...]
H A Dtls13_enc.c440 ktls_crypto_info_t crypto_info; in tls13_change_cipher_state() local
726 &crypto_info, NULL, iv, key, NULL, 0)) in tls13_change_cipher_state()
730 if (BIO_set_ktls(bio, &crypto_info, which & SSL3_CC_WRITE)) in tls13_change_cipher_state()
H A Dt1_enc.c203 ktls_crypto_info_t crypto_info; in tls1_change_cipher_state() local
476 if (!ktls_configure_crypto(s, c, dd, rl_sequence, &crypto_info, &rec_seq, in tls1_change_cipher_state()
486 /* increment the crypto_info record sequence */ in tls1_change_cipher_state()
501 if (BIO_set_ktls(bio, &crypto_info, which & SSL3_CC_WRITE)) { in tls1_change_cipher_state()
H A Dssl_local.h2766 void *rl_sequence, ktls_crypto_info_t *crypto_info,
/third_party/node/deps/openssl/openssl/crypto/bio/
H A Dbss_sock.c155 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 Dbss_conn.c393 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()
/third_party/openssl/crypto/bio/
H A Dbss_sock.c155 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 Dbss_conn.c393 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()
/third_party/node/deps/openssl/openssl/include/internal/
H A Dktls.h279 * encapsulated in TLS records using the crypto_info provided here.
282 * authenticated and decapsulated using the crypto_info provided here.
284 static ossl_inline int ktls_start(int fd, ktls_crypto_info_t *crypto_info, in ktls_start() argument
288 crypto_info, crypto_info->tls_crypto_info_len) ? 0 : 1; in ktls_start()
292 * Send a TLS record using the crypto_info provided in ktls_start and use
348 * Receive a TLS record using the crypto_info provided in ktls_start.
/third_party/openssl/include/internal/
H A Dktls.h279 * encapsulated in TLS records using the crypto_info provided here.
282 * authenticated and decapsulated using the crypto_info provided here.
284 static ossl_inline int ktls_start(int fd, ktls_crypto_info_t *crypto_info, in ktls_start() argument
288 crypto_info, crypto_info->tls_crypto_info_len) ? 0 : 1; in ktls_start()
292 * Send a TLS record using the crypto_info provided in ktls_start and use
348 * Receive a TLS record using the crypto_info provided in ktls_start.

Completed in 21 milliseconds