Lines Matching refs:cipher
59 const char *cipher;
86 opts->cipher = "";
1129 * using given cipher, hash, EtM mode, authentication tag length,
1143 void set_ciphersuite( mbedtls_ssl_config *conf, const char *cipher,
1147 forced_ciphersuite[0] = mbedtls_ssl_get_ciphersuite_id( cipher );
1217 /* Pick cipher */
1227 * `keylen == 0` in the case of the NULL cipher. */
1233 /* Setup cipher contexts */
1733 if( strlen( options->cipher ) > 0 )
1735 set_ciphersuite( &client.conf, options->cipher, forced_ciphersuite );
4471 void handshake_psk_cipher( char* cipher, int pk_alg, data_t *psk_str, int dtls )
4476 options.cipher = cipher;
4489 void handshake_cipher( char* cipher, int pk_alg, int dtls )
4491 test_handshake_psk_cipher( cipher, pk_alg, NULL, dtls );
4570 /* Set cipher to one using CBC so that record splitting can be tested */
4571 options.cipher = "TLS-DHE-RSA-WITH-AES-256-CBC-SHA256";
4611 int serialize, int dtls, char *cipher )
4617 options.cipher = cipher;
4643 char *cipher )
4645 test_resize_buffers( mfl, 1, legacy_renegotiation, 0, 1, cipher );