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 | 585 static int add_key_share(SSL *s, WPACKET *pkt, unsigned int curve_id) in add_key_share() argument 602 key_share_key = ssl_generate_pkey_group(s, curve_id); in add_key_share() 618 if (!WPACKET_put_bytes_u16(pkt, curve_id) in add_key_share() 631 s->s3->group_id = curve_id; in add_key_share() 650 uint16_t curve_id = 0; in tls_construct_ctos_key_share() local 670 curve_id = s->s3->group_id; in tls_construct_ctos_key_share() 677 curve_id = pgroups[i]; in tls_construct_ctos_key_share() 682 if (curve_id == 0) { in tls_construct_ctos_key_share() 688 if (!add_key_share(s, pkt, curve_id)) { in tls_construct_ctos_key_share()
|
D | statem_srvr.c | 2496 int curve_id = 0; in tls_construct_server_key_exchange() local 2611 curve_id = tls1_shared_group(s, -2); in tls_construct_server_key_exchange() 2612 if (curve_id == 0) { in tls_construct_server_key_exchange() 2618 s->s3->tmp.pkey = ssl_generate_pkey_group(s, curve_id); in tls_construct_server_key_exchange() 2755 || !WPACKET_put_bytes_u8(pkt, curve_id) in tls_construct_server_key_exchange()
|
D | statem_clnt.c | 2193 unsigned int curve_type, curve_id; in tls_process_ske_ecdhe() local 2200 if (!PACKET_get_1(pkt, &curve_type) || !PACKET_get_net_2(pkt, &curve_id)) { in tls_process_ske_ecdhe() 2210 || !tls1_check_group_id(s, curve_id, 1)) { in tls_process_ske_ecdhe() 2216 if ((s->s3->peer_tmp = ssl_generate_param_group(curve_id)) == NULL) { 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 | 2513 __owur const TLS_GROUP_INFO *tls1_group_id_lookup(uint16_t curve_id);
|