Lines Matching refs:cipher
113 * ECC cipher suite support in OpenSSL originally developed by
220 const SSL_CIPHER *cipher;
493 c=s->cipher;
810 co_list[co_list_num].cipher = c;
874 *ca_curr = ciph_curr->cipher;
883 * or represent a cipher strength value (will be added in any case because algorithms=0).
961 cp = curr->cipher;
998 /* add the cipher if it has not been added yet. */
1008 /* Move the added cipher to this location */
1068 (curr->cipher->strength_bits > max_strength_bits))
1069 max_strength_bits = curr->cipher->strength_bits;
1088 number_uses[curr->cipher->strength_bits]++;
1193 * Now search for the cipher alias in the ca_list. Be careful
1195 * will make the rule "ADH:SOME" and the cipher
1196 * "ADH-MY-CIPHER" look like a match for buflen=3.
1197 * So additionally check whether the cipher name found
1404 /* AES is our preferred symmetric cipher */
1441 * We also need cipher aliases for selecting based on the rule_str.
1444 * For 1) we need the available ciphers and for 2) the cipher
1498 * The cipher selection for the list is done. The ciphers are added
1504 if (curr->active && (!FIPS_mode() || curr->cipher->algo_strength & SSL_FIPS))
1509 sk_SSL_CIPHER_push(cipherstack, curr->cipher);
1511 printf("<%s>\n",curr->cipher->name);
1535 char *SSL_CIPHER_description(const SSL_CIPHER *cipher, char *buf, int len)
1547 alg_mkey = cipher->algorithm_mkey;
1548 alg_auth = cipher->algorithm_auth;
1549 alg_enc = cipher->algorithm_enc;
1550 alg_mac = cipher->algorithm_mac;
1551 alg_ssl = cipher->algorithm_ssl;
1553 alg2=cipher->algorithm2;
1555 is_export=SSL_C_IS_EXPORT(cipher);
1556 pkl=SSL_C_EXPORT_PKEYLENGTH(cipher);
1557 kl=SSL_C_EXPORT_KEYLENGTH(cipher);
1715 BIO_snprintf(buf,len,format,cipher->name,ver,kx,au,enc,mac,exp_str,alg_mkey,alg_auth,alg_enc,alg_mac,alg_ssl);
1717 BIO_snprintf(buf,len,format,cipher->name,ver,kx,au,enc,mac,exp_str);
1736 /* return the actual cipher being used */
1744 /* number of bits for symmetric cipher */
1763 const char* SSL_CIPHER_authentication_method(const SSL_CIPHER* cipher)
1765 switch (cipher->algorithm_mkey)
1774 switch (cipher->algorithm_auth)
1792 switch (cipher->algorithm_auth)