Lines Matching refs:cipher
113 * ECC cipher suite support in OpenSSL originally developed by
222 const SSL_CIPHER *cipher;
518 c = s->cipher;
855 co_list[co_list_num].cipher = c;
918 *ca_curr = ciph_curr->cipher;
927 * or represent a cipher strength value (will be added in any case because algorithms=0).
1011 cp = curr->cipher;
1057 /* add the cipher if it has not been added yet. */
1065 /* Move the added cipher to this location */
1118 if (curr->active && (curr->cipher->strength_bits > max_strength_bits))
1119 max_strength_bits = curr->cipher->strength_bits;
1136 number_uses[curr->cipher->strength_bits]++;
1241 * Now search for the cipher alias in the ca_list. Be careful
1243 * will make the rule "ADH:SOME" and the cipher
1245 * So additionally check whether the cipher name found
1530 /* AES is our preferred symmetric cipher */
1580 * We also need cipher aliases for selecting based on the rule_str.
1583 * For 1) we need the available ciphers and for 2) the cipher
1633 * The cipher selection for the list is done. The ciphers are added
1639 && (!FIPS_mode() || curr->cipher->algo_strength & SSL_FIPS))
1644 sk_SSL_CIPHER_push(cipherstack, curr->cipher);
1646 fprintf(stderr, "<%s>\n", curr->cipher->name);
1670 char *SSL_CIPHER_description(const SSL_CIPHER *cipher, char *buf, int len)
1684 alg_mkey = cipher->algorithm_mkey;
1685 alg_auth = cipher->algorithm_auth;
1686 alg_enc = cipher->algorithm_enc;
1687 alg_mac = cipher->algorithm_mac;
1688 alg_ssl = cipher->algorithm_ssl;
1690 alg2 = cipher->algorithm2;
1692 is_export = SSL_C_IS_EXPORT(cipher);
1693 pkl = SSL_C_EXPORT_PKEYLENGTH(cipher);
1694 kl = SSL_C_EXPORT_KEYLENGTH(cipher);
1868 BIO_snprintf(buf, len, format, cipher->name, ver, kx, au, enc, mac,
1871 BIO_snprintf(buf, len, format, cipher->name, ver, kx, au, enc, mac,
1892 /* return the actual cipher being used */
1900 /* number of bits for symmetric cipher */
2027 /* For a cipher return the index corresponding to the certificate type */