Searched refs:curve_id (Results 1 – 7 of 7) sorted by relevance
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
D | crypto_wolfssl.c | 1331 int curve_id; in crypto_ec_init() local 1336 curve_id = ECC_SECP256R1; in crypto_ec_init() 1339 curve_id = ECC_SECP384R1; in crypto_ec_init() 1342 curve_id = ECC_SECP521R1; in crypto_ec_init() 1345 curve_id = ECC_SECP192R1; in crypto_ec_init() 1348 curve_id = ECC_SECP224R1; in crypto_ec_init() 1352 curve_id = ECC_BRAINPOOLP224R1; in crypto_ec_init() 1355 curve_id = ECC_BRAINPOOLP256R1; in crypto_ec_init() 1358 curve_id = ECC_BRAINPOOLP384R1; in crypto_ec_init() 1361 curve_id = ECC_BRAINPOOLP512R1; in crypto_ec_init() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
D | crypto_wolfssl.c | 1325 int curve_id; in crypto_ec_init() local 1330 curve_id = ECC_SECP256R1; in crypto_ec_init() 1333 curve_id = ECC_SECP384R1; in crypto_ec_init() 1336 curve_id = ECC_SECP521R1; in crypto_ec_init() 1339 curve_id = ECC_SECP192R1; in crypto_ec_init() 1342 curve_id = ECC_SECP224R1; in crypto_ec_init() 1346 curve_id = ECC_BRAINPOOLP224R1; in crypto_ec_init() 1349 curve_id = ECC_BRAINPOOLP256R1; in crypto_ec_init() 1352 curve_id = ECC_BRAINPOOLP384R1; in crypto_ec_init() 1355 curve_id = ECC_BRAINPOOLP512R1; in crypto_ec_init() [all …]
|
/third_party/openssl/ssl/statem/ |
D | extensions_clnt.c | 593 static int add_key_share(SSL *s, WPACKET *pkt, unsigned int curve_id) in add_key_share() argument 609 key_share_key = ssl_generate_pkey_group(s, curve_id); in add_key_share() 625 if (!WPACKET_put_bytes_u16(pkt, curve_id) in add_key_share() 637 s->s3.group_id = curve_id; in add_key_share() 656 uint16_t curve_id = 0; in tls_construct_ctos_key_share() local 675 curve_id = s->s3.group_id; in tls_construct_ctos_key_share() 686 curve_id = pgroups[i]; in tls_construct_ctos_key_share() 691 if (curve_id == 0) { in tls_construct_ctos_key_share() 696 if (!add_key_share(s, pkt, curve_id)) { in tls_construct_ctos_key_share()
|
D | statem_srvr.c | 2426 int curve_id = 0; in tls_construct_server_key_exchange() local 2520 curve_id = tls1_shared_group(s, -2); in tls_construct_server_key_exchange() 2521 if (curve_id == 0) { in tls_construct_server_key_exchange() 2527 s->session->kex_group = curve_id; in tls_construct_server_key_exchange() 2529 s->s3.tmp.pkey = ssl_generate_pkey_group(s, curve_id); in tls_construct_server_key_exchange() 2648 || !WPACKET_put_bytes_u8(pkt, curve_id) in tls_construct_server_key_exchange()
|
D | statem_clnt.c | 2124 unsigned int curve_type, curve_id; in tls_process_ske_ecdhe() local 2131 if (!PACKET_get_1(pkt, &curve_type) || !PACKET_get_net_2(pkt, &curve_id)) { in tls_process_ske_ecdhe() 2140 || !tls1_check_group_id(s, curve_id, 1)) { in tls_process_ske_ecdhe() 2145 if ((s->s3.peer_tmp = ssl_generate_param_group(s, curve_id)) == NULL) { in tls_process_ske_ecdhe() 2175 s->session->kex_group = curve_id; in tls_process_ske_ecdhe()
|
/third_party/mbedtls/library/ |
D | pk.c | 613 psa_ecc_family_t curve_id; in mbedtls_pk_wrap_as_opaque() 628 curve_id = mbedtls_ecc_group_to_psa( ec->grp.id, &bits ); in mbedtls_pk_wrap_as_opaque() 629 key_type = PSA_KEY_TYPE_ECC_KEY_PAIR( curve_id ); in mbedtls_pk_wrap_as_opaque()
|
/third_party/openssl/ssl/ |
D | ssl_local.h | 2652 __owur const TLS_GROUP_INFO *tls1_group_id_lookup(SSL_CTX *ctx, uint16_t curve_id);
|