Searched refs:ciph_ctx (Results 1 – 1 of 1) sorted by relevance
/third_party/openssl/ssl/ |
D | tls13_enc.c | 340 EVP_CIPHER_CTX *ciph_ctx) in derive_secret_key_and_iv() argument 391 if (EVP_CipherInit_ex(ciph_ctx, ciph, NULL, NULL, NULL, sending) <= 0 in derive_secret_key_and_iv() 392 || EVP_CIPHER_CTX_ctrl(ciph_ctx, EVP_CTRL_AEAD_SET_IVLEN, ivlen, NULL) <= 0 in derive_secret_key_and_iv() 393 || (taglen != 0 && EVP_CIPHER_CTX_ctrl(ciph_ctx, EVP_CTRL_AEAD_SET_TAG, in derive_secret_key_and_iv() 395 || EVP_CipherInit_ex(ciph_ctx, NULL, NULL, key, NULL, -1) <= 0) { in derive_secret_key_and_iv() 432 EVP_CIPHER_CTX *ciph_ctx; in tls13_change_cipher_state() local 454 ciph_ctx = s->enc_read_ctx; in tls13_change_cipher_state() 469 ciph_ctx = s->enc_write_ctx; in tls13_change_cipher_state() 652 iv, ciph_ctx)) { in tls13_change_cipher_state() 709 if (!ktls_check_supported_cipher(s, cipher, ciph_ctx)) in tls13_change_cipher_state() [all …]
|