Lines Matching full:cipher
493 * tlsv1_server_get_cipher - Get current cipher name
495 * @buf: Buffer for the cipher name
499 * Get the name of the currently used cipher.
504 char *cipher;
508 cipher = "RC4-MD5";
511 cipher = "RC4-SHA";
514 cipher = "DES-CBC-SHA";
517 cipher = "DES-CBC3-SHA";
520 cipher = "DHE-RSA-DES-CBC-SHA";
523 cipher = "DHE-RSA-DES-CBC3-SHA";
526 cipher = "ADH-RC4-MD5";
529 cipher = "ADH-DES-SHA";
532 cipher = "ADH-DES-CBC3-SHA";
535 cipher = "AES-128-SHA";
538 cipher = "DHE-RSA-AES-128-SHA";
541 cipher = "ADH-AES-128-SHA";
544 cipher = "AES-256-SHA";
547 cipher = "DHE-RSA-AES-256-SHA";
550 cipher = "ADH-AES-256-SHA";
553 cipher = "AES-128-SHA256";
556 cipher = "AES-256-SHA256";
559 cipher = "DHE-RSA-AES-128-SHA256";
562 cipher = "DHE-RSA-AES-256-SHA256";
565 cipher = "ADH-AES-128-SHA256";
568 cipher = "ADH-AES-256-SHA256";
574 if (os_strlcpy(buf, cipher, buflen) >= buflen)
639 * Returns: Size of the key_block for the negotiated cipher suite or -1 on
653 * tlsv1_server_set_cipher_list - Configure acceptable cipher suites
664 /* TODO: implement proper configuration of cipher suites */