Searched refs:ciph_ctx (Results 1 – 1 of 1) sorted by relevance
/third_party/openssl/ssl/ |
D | tls13_enc.c | 366 unsigned char *iv, EVP_CIPHER_CTX *ciph_ctx) in derive_secret_key_and_iv() argument 421 if (EVP_CipherInit_ex(ciph_ctx, ciph, NULL, NULL, NULL, sending) <= 0 in derive_secret_key_and_iv() 422 || !EVP_CIPHER_CTX_ctrl(ciph_ctx, EVP_CTRL_AEAD_SET_IVLEN, ivlen, NULL) in derive_secret_key_and_iv() 423 || (taglen != 0 && !EVP_CIPHER_CTX_ctrl(ciph_ctx, EVP_CTRL_AEAD_SET_TAG, in derive_secret_key_and_iv() 425 || EVP_CipherInit_ex(ciph_ctx, NULL, NULL, key, NULL, -1) <= 0) { in derive_secret_key_and_iv() 465 EVP_CIPHER_CTX *ciph_ctx; in tls13_change_cipher_state() local 484 ciph_ctx = s->enc_read_ctx; in tls13_change_cipher_state() 500 ciph_ctx = s->enc_write_ctx; in tls13_change_cipher_state() 676 ciph_ctx)) { in tls13_change_cipher_state() 734 EVP_CIPHER_CTX *ciph_ctx; in tls13_update_key() local [all …]
|