Lines Matching defs:cipher
310 * for initialising the cipher and hash. Returns 1 on success or 0 on failure.
317 s->session->cipher = s->s3.tmp.new_cipher;
366 } else if (s->session->cipher != NULL) {
367 /* We've not selected a cipher yet - we must be doing early data */
368 algenc = s->session->cipher->algorithm_enc;
369 } else if (s->psksession != NULL && s->psksession->cipher != NULL) {
371 algenc = s->psksession->cipher->algorithm_enc;
438 const EVP_CIPHER *cipher = NULL;
528 * This ups the ref count on cipher so we better make sure we free
531 if (!ssl_cipher_get_evp_cipher(s->ctx, sslcipher, &cipher)) {
576 * read/client write cipher state until later, and the handshake
578 * when we did the server write/client read change cipher state.
613 cipher = s->s3.tmp.new_sym_enc;
646 /* check whether cipher is known */
647 if(!ossl_assert(cipher != NULL))
650 if (!derive_secret_key_and_iv(s, which & SSL3_CC_WRITE, md, cipher,
708 /* check that cipher is supported */
709 if (!ktls_check_supported_cipher(s, cipher, ciph_ctx))
724 if (!ktls_configure_crypto(s, cipher, ciph_ctx,
739 ssl_evp_cipher_free(cipher);
903 * Here Transcript-Hash is the cipher suite hash algorithm.