Lines Matching defs:cipher
567 /* clear the current cipher */
2756 * find a cipher matching the given rule string (for example if the rule
2757 * string specifies a cipher which has been disabled). This is not an
3292 /* initialize cipher/digest methods table */
3668 * An ECC certificate may be usable for ECDH and/or ECDSA cipher suites
4230 if ((s->session != NULL) && (s->session->cipher != NULL))
4231 return s->session->cipher;
5693 unsigned char cipher[SSLV2_CIPHER_LEN];
5724 while (PACKET_copy_bytes(cipher_suites, cipher, n)) {
5730 if (sslv2format && cipher[0] != '\0')
5734 c = ssl_get_cipher_by_char(s, sslv2format ? &cipher[1] : cipher, 1);
5960 * If there is no engine cipher then we do an explicit fetch. This may fail
5970 int ssl_evp_cipher_up_ref(const EVP_CIPHER *cipher)
5973 if (EVP_CIPHER_get0_provider(cipher) == NULL)
5977 * The cipher was explicitly fetched and therefore it is safe to cast
5980 return EVP_CIPHER_up_ref((EVP_CIPHER *)cipher);
5983 void ssl_evp_cipher_free(const EVP_CIPHER *cipher)
5985 if (cipher == NULL)
5988 if (EVP_CIPHER_get0_provider(cipher) != NULL) {
5990 * The cipher was explicitly fetched and therefore it is safe to cast
5993 EVP_CIPHER_free((EVP_CIPHER *)cipher);