Lines Matching defs:cipher
365 const char *alias_name; /* Alias name is the same as OpenSSL cipher name */
366 uint16_t num; /* BearSSL cipher suite */
494 /* Return whether character is a cipher list separator. */
520 const char *cipher;
523 /* Extract the next cipher name from the ciphers string */
533 cipher = cipher_start;
537 /* Lookup the cipher name in the table of available ciphers. If the cipher
539 to match cipher name by an (OpenSSL) alias. */
540 if(strncasecompare(cipher, "TLS_", 4)) {
543 !strncasecompare(cipher, ciphertable[i].name, clen); ++i);
548 !strncasecompare(cipher, ciphertable[i].alias_name, clen); ++i);
551 infof(data, "BearSSL: unknown cipher in list: %.*s",
552 (int)clen, cipher);
560 infof(data, "BearSSL: duplicate cipher in list: %.*s",
561 (int)clen, cipher);
571 failf(data, "BearSSL: no supported cipher in list");
669 /* Override the ciphers as specified. For the default cipher list see the