Lines Matching defs:aead
108 const EVP_AEAD *aead;
249 const EVP_AEAD *aead)
251 rl->aead = aead;
467 tls13_record_layer_set_traffic_key(const EVP_AEAD *aead, const EVP_MD *hash,
479 if (!tls13_secret_init(&rp->iv, EVP_AEAD_nonce_length(aead)))
481 if (!tls13_secret_init(&rp->nonce, EVP_AEAD_nonce_length(aead)))
483 if (!tls13_secret_init(&key, EVP_AEAD_key_length(aead)))
491 if (!EVP_AEAD_CTX_init(rp->aead_ctx, aead, key.data, key.len,
511 return tls13_record_layer_set_traffic_key(rl->aead, rl->hash,
523 return tls13_record_layer_set_traffic_key(rl->aead, rl->hash,
532 if (rl->aead != NULL)
563 if (rl->aead == NULL)
630 if (rl->handshake_completed && rl->aead == NULL)
633 if (rl->aead == NULL)
654 if (rl->aead != NULL && content_type != SSL3_RT_CHANGE_CIPHER_SPEC)
703 if (rl->aead == NULL)
723 enc_record_len = inner_len + EVP_AEAD_max_tag_len(rl->aead);
795 if (rl->handshake_completed && rl->aead == NULL)
803 if (rl->aead == NULL || content_type == SSL3_RT_CHANGE_CIPHER_SPEC)
873 if (rl->aead != NULL && content_type != SSL3_RT_APPLICATION_DATA)