/third_party/mbedtls/tests/suites/ |
D | test_suite_gcm.function | 11 void gcm_bad_parameters( int cipher_id, int direction, 26 TEST_ASSERT( mbedtls_gcm_setkey( &ctx, cipher_id, key_str->x, key_str->len * 8 ) == 0 ); 36 void gcm_encrypt_and_tag( int cipher_id, data_t * key_str, 53 … TEST_ASSERT( mbedtls_gcm_setkey( &ctx, cipher_id, key_str->x, key_str->len * 8 ) == init_result ); 70 void gcm_decrypt_and_verify( int cipher_id, data_t * key_str, 86 … TEST_ASSERT( mbedtls_gcm_setkey( &ctx, cipher_id, key_str->x, key_str->len * 8 ) == init_result );
|
D | test_suite_ccm.function | 18 void mbedtls_ccm_setkey( int cipher_id, int key_size, int result ) 29 ret = mbedtls_ccm_setkey( &ctx, cipher_id, key, key_size ); 119 void mbedtls_ccm_encrypt_and_tag( int cipher_id, data_t * key, 134 TEST_ASSERT( mbedtls_ccm_setkey( &ctx, cipher_id, key->x, key->len * 8 ) == 0 ); 152 void mbedtls_ccm_auth_decrypt( int cipher_id, data_t * key, 167 TEST_ASSERT( mbedtls_ccm_setkey( &ctx, cipher_id, key->x, key->len * 8 ) == 0 ); 194 void mbedtls_ccm_star_encrypt_and_tag( int cipher_id, 222 TEST_ASSERT( mbedtls_ccm_setkey( &ctx, cipher_id, 244 void mbedtls_ccm_star_auth_decrypt( int cipher_id, 273 TEST_ASSERT( mbedtls_ccm_setkey( &ctx, cipher_id, key->x, key->len * 8 ) == 0 );
|
D | test_suite_nist_kw.function | 128 void mbedtls_nist_kw_setkey( int cipher_id, int key_size, 140 ret = mbedtls_nist_kw_setkey( &ctx, cipher_id, key, key_size, is_wrap ); 245 void mbedtls_nist_kw_wrap( int cipher_id, int mode, data_t *key, data_t *msg, 256 TEST_ASSERT( mbedtls_nist_kw_setkey( &ctx, cipher_id, 280 void mbedtls_nist_kw_unwrap( int cipher_id, int mode, data_t *key, data_t *msg, 291 TEST_ASSERT( mbedtls_nist_kw_setkey( &ctx, cipher_id,
|
D | test_suite_cipher.function | 536 void enc_dec_buf( int cipher_id, char * cipher_string, int key_len, 561 cipher_info = mbedtls_cipher_info_from_type( cipher_id ); 661 void enc_fail( int cipher_id, int pad_mode, int key_len, int length_val, 685 cipher_info = mbedtls_cipher_info_from_type( cipher_id ); 783 void enc_dec_buf_multipart( int cipher_id, int key_len, int first_length_val, 817 cipher_info = mbedtls_cipher_info_from_type( cipher_id ); 897 void decrypt_test_vec( int cipher_id, int pad_mode, data_t * key, 917 mbedtls_cipher_info_from_type( cipher_id ) ) ); 955 void auth_crypt_tv( int cipher_id, data_t * key, data_t * iv, 973 mbedtls_cipher_info_from_type( cipher_id ) ) ); [all …]
|
/third_party/openssl/test/ |
D | cipherlist_test.c | 153 uint32_t expected_cipher_id, cipher_id; in test_default_cipherlist() local 169 cipher_id = SSL_CIPHER_get_id(sk_SSL_CIPHER_value(ciphers, i)); in test_default_cipherlist() 170 if (!TEST_int_eq(cipher_id, expected_cipher_id)) { in test_default_cipherlist()
|
D | sslapitest.c | 3486 clntsess->cipher_id = clntsess->cipher->id; in test_ciphersuite_change()
|
/third_party/openssl/ssl/ |
D | ssl_txt.c | 48 if (((x->cipher_id) & 0xff000000) == 0x02000000) { in SSL_SESSION_print() 50 x->cipher_id & 0xffffff) <= 0) in SSL_SESSION_print() 54 x->cipher_id & 0xffff) <= 0) in SSL_SESSION_print()
|
D | ssl_asn1.c | 129 if ((in == NULL) || ((in->cipher == NULL) && (in->cipher_id == 0))) in i2d_SSL_SESSION() 138 l = in->cipher_id; in i2d_SSL_SESSION() 283 ret->cipher_id = id; in d2i_SSL_SESSION()
|
D | ssl_ciph.c | 773 static void ssl_cipher_apply_rule(uint32_t cipher_id, uint32_t alg_mkey, in ssl_cipher_apply_rule() argument 835 if (cipher_id != 0 && (cipher_id != cp->id)) in ssl_cipher_apply_rule() 966 uint32_t cipher_id = 0; in ssl_cipher_process_rulestr() local 1059 cipher_id = 0; in ssl_cipher_process_rulestr() 1155 cipher_id = ca_list[j]->id; in ssl_cipher_process_rulestr() 1206 ssl_cipher_apply_rule(cipher_id, in ssl_cipher_process_rulestr()
|
D | ssl_local.h | 552 unsigned long cipher_id; /* when ASN.1 loaded, this needs to be used to member
|
/third_party/boringssl/src/ssl/ |
D | ssl_cipher.cc | 811 uint32_t cipher_id, uint32_t alg_mkey, uint32_t alg_auth, in ssl_cipher_apply_rule() argument 819 if (cipher_id == 0 && strength_bits == -1 && min_version == 0 && in ssl_cipher_apply_rule() 857 if (cipher_id != 0) { in ssl_cipher_apply_rule() 858 if (cipher_id != cp->id) { in ssl_cipher_apply_rule() 981 uint32_t cipher_id; in ssl_cipher_process_rulestr() local 1048 cipher_id = 0; in ssl_cipher_process_rulestr() 1084 cipher_id = cipher->id; in ssl_cipher_process_rulestr() 1089 if (cipher_id == 0) { in ssl_cipher_process_rulestr() 1140 ssl_cipher_apply_rule(cipher_id, alg_mkey, alg_auth, alg_enc, alg_mac, in ssl_cipher_process_rulestr()
|
/third_party/boringssl/src/ssl/test/ |
D | bssl_shim.cc | 602 uint16_t cipher_id = in CheckHandshakeProperties() local 606 static_cast<uint16_t>(config->expect_cipher_aes) != cipher_id) { in CheckHandshakeProperties() 608 cipher_id, static_cast<uint16_t>(config->expect_cipher_aes)); in CheckHandshakeProperties() 614 static_cast<uint16_t>(config->expect_cipher_no_aes) != cipher_id) { in CheckHandshakeProperties() 616 cipher_id, static_cast<uint16_t>(config->expect_cipher_no_aes)); in CheckHandshakeProperties()
|
/third_party/mbedtls/include/mbedtls/ |
D | cipher.h | 400 const mbedtls_cipher_info_t *mbedtls_cipher_info_from_values( const mbedtls_cipher_id_t cipher_id,
|
/third_party/mbedtls/library/ |
D | cipher.c | 166 const mbedtls_cipher_info_t *mbedtls_cipher_info_from_values( const mbedtls_cipher_id_t cipher_id, in mbedtls_cipher_info_from_values() argument 173 if( def->info->base->cipher == cipher_id && in mbedtls_cipher_info_from_values()
|
/third_party/openssl/ssl/statem/ |
D | statem_clnt.c | 1370 s->session->cipher_id = s->session->cipher->id; in set_client_ciphersuite() 1371 if (s->hit && (s->session->cipher_id != c->id)) { in set_client_ciphersuite()
|
/third_party/python/Modules/ |
D | _ssl.c | 1999 unsigned long cipher_id; in cipher_to_dict() local 2010 cipher_id = SSL_CIPHER_get_id(cipher); in cipher_to_dict() 2036 "id", cipher_id, in cipher_to_dict()
|