Lines Matching defs:cipher
578 /* clear the current cipher */
2856 * find a cipher matching the given rule string (for example if the rule
2857 * string specifies a cipher which has been disabled). This is not an
3392 /* initialize cipher/digest methods table */
3768 * An ECC certificate may be usable for ECDH and/or ECDSA cipher suites
4349 if ((s->session != NULL) && (s->session->cipher != NULL))
4350 return s->session->cipher;
5809 unsigned char cipher[SSLV2_CIPHER_LEN];
5840 while (PACKET_copy_bytes(cipher_suites, cipher, n)) {
5846 if (sslv2format && cipher[0] != '\0')
5850 c = ssl_get_cipher_by_char(s, sslv2format ? &cipher[1] : cipher, 1);
6076 * If there is no engine cipher then we do an explicit fetch. This may fail
6086 int ssl_evp_cipher_up_ref(const EVP_CIPHER *cipher)
6089 if (EVP_CIPHER_get0_provider(cipher) == NULL)
6093 * The cipher was explicitly fetched and therefore it is safe to cast
6096 return EVP_CIPHER_up_ref((EVP_CIPHER *)cipher);
6099 void ssl_evp_cipher_free(const EVP_CIPHER *cipher)
6101 if (cipher == NULL)
6104 if (EVP_CIPHER_get0_provider(cipher) != NULL) {
6106 * The cipher was explicitly fetched and therefore it is safe to cast
6109 EVP_CIPHER_free((EVP_CIPHER *)cipher);