Lines Matching defs:cipher
119 SSLCipherSuite cipher;
126 #define CIPHER(prot, cipher, offsets...) { prot, cipher, #cipher, offsets},
131 /* RSA cipher suites */
158 /* DH_anon cipher suites */
168 /* ECDHE_ECDSA cipher suites */
179 /* ECDHE_RSA cipher suites */
189 /* ECDH_ECDSA cipher suites */
199 /* ECDH_RSA cipher suites */
257 /* "Any" cipher suite - test the default configuration */
258 {0, SSL_NO_SUCH_CIPHERSUITE, "Any cipher 1", {1, 1, 1, 1}, false},
259 {0, SSL_NO_SUCH_CIPHERSUITE, "Any cipher 2", {2, 2, 0, 0}, false},
262 {1, SSL_NO_SUCH_CIPHERSUITE, "Any cipher 3", {3, 3, 0, 0}, false},
263 {1, SSL_NO_SUCH_CIPHERSUITE, "Any cipher 4", {4, 4, 0, 0}, false},
281 return a->cipher;
287 while(a->cipher >= 0) {
288 if (num == a->cipher) break;
681 /* set fixed cipher on client and server */
682 if(ciphers[i].cipher != SSL_NO_SUCH_CIPHERSUITE) {
683 if(SSLSetEnabledCiphers(client->st, &ciphers[i].cipher, 1)!=0)
684 printf("Invalid cipher %04x (i=%d, p=%d, pr=%d)\n", ciphers[i].cipher, i, p, pr);