Searched refs:KEY_LENGTH_DWORDS_P256 (Results 1 – 9 of 9) sorted by relevance
/hal_espressif-3.6.0/components/bt/test/ |
D | test_smp.c | 31 #define KEY_LENGTH_DWORDS_P256 8 macro 37 DWORD x[KEY_LENGTH_DWORDS_P256]; 38 DWORD y[KEY_LENGTH_DWORDS_P256]; 39 DWORD z[KEY_LENGTH_DWORDS_P256]; 44 DWORD a[KEY_LENGTH_DWORDS_P256]; 45 DWORD b[KEY_LENGTH_DWORDS_P256]; 51 DWORD p[KEY_LENGTH_DWORDS_P256]; 54 DWORD omega[KEY_LENGTH_DWORDS_P256]; 87 DWORD private_key[KEY_LENGTH_DWORDS_P256] = {[0 ... (KEY_LENGTH_DWORDS_P256 - 1)] = 0x12345678}; 88 p_256_init_curve(KEY_LENGTH_DWORDS_P256); [all …]
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/smp/include/ |
D | p_256_ecc_pp.h | 33 DWORD x[KEY_LENGTH_DWORDS_P256]; 34 DWORD y[KEY_LENGTH_DWORDS_P256]; 35 DWORD z[KEY_LENGTH_DWORDS_P256]; 40 DWORD a[KEY_LENGTH_DWORDS_P256]; 41 DWORD b[KEY_LENGTH_DWORDS_P256]; 47 DWORD p[KEY_LENGTH_DWORDS_P256]; 50 DWORD omega[KEY_LENGTH_DWORDS_P256];
|
D | p_256_multprecision.h | 36 #define KEY_LENGTH_DWORDS_P256 8 macro
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/smp/ |
D | p_256_ecc_pp.c | 52 DWORD t1[KEY_LENGTH_DWORDS_P256]; in ECC_Double() 53 DWORD t2[KEY_LENGTH_DWORDS_P256]; in ECC_Double() 54 DWORD t3[KEY_LENGTH_DWORDS_P256]; in ECC_Double() 98 DWORD t1[KEY_LENGTH_DWORDS_P256]; in ECC_Add() 99 DWORD t2[KEY_LENGTH_DWORDS_P256]; in ECC_Add() 204 if (keyLength == KEY_LENGTH_DWORDS_P256) { in ECC_PointMult_Bin_NAF() 252 DWORD y_y_q[KEY_LENGTH_DWORDS_P256] = {0x0}; in ECC_CheckPointIsInElliCur_P256() 254 DWORD x_x_q[KEY_LENGTH_DWORDS_P256] = {0x0}; in ECC_CheckPointIsInElliCur_P256() 256 DWORD x_q[KEY_LENGTH_DWORDS_P256] = {0x0}; in ECC_CheckPointIsInElliCur_P256() 259 DWORD x_x[2*KEY_LENGTH_DWORDS_P256] = {0x0}; in ECC_CheckPointIsInElliCur_P256() [all …]
|
D | p_256_multprecision.c | 143 } else if (keyLength == KEY_LENGTH_DWORDS_P256) { in multiprecision_lshift_mod() 177 DWORD cc[2 * KEY_LENGTH_DWORDS_P256]; in multiprecision_mersenns_mult_mod() 201 } else if (keyLength == KEY_LENGTH_DWORDS_P256) { in multiprecision_add_mod() 223 } else if (keyLength == KEY_LENGTH_DWORDS_P256) { in multiprecision_sub_mod() 576 multiprecision_add(c, c, modp, KEY_LENGTH_DWORDS_P256); in multiprecision_fast_mod_P256() 581 multiprecision_sub(c, c, modp, KEY_LENGTH_DWORDS_P256); in multiprecision_fast_mod_P256() 586 if (multiprecision_compare(c, modp, KEY_LENGTH_DWORDS_P256) >= 0) { in multiprecision_fast_mod_P256() 587 multiprecision_sub(c, c, modp, KEY_LENGTH_DWORDS_P256); in multiprecision_fast_mod_P256() 594 DWORD v[KEY_LENGTH_DWORDS_P256]; in multiprecision_inv_mod() 595 DWORD A[KEY_LENGTH_DWORDS_P256 + 1]; in multiprecision_inv_mod() [all …]
|
D | p_256_curvepara.c | 32 if (keyLength == KEY_LENGTH_DWORDS_P256) { in p_256_init_curve() 44 memset(ec->omega, 0, KEY_LENGTH_DWORDS_P256 * sizeof(ec->omega[0])); in p_256_init_curve() 45 memset(ec->a, 0, KEY_LENGTH_DWORDS_P256 * sizeof(ec->a[0])); in p_256_init_curve()
|
D | smp_api.c | 70 p_256_init_curve(KEY_LENGTH_DWORDS_P256); in SMP_Init()
|
D | smp_keys.c | 1089 ECC_PointMult(&public_key, &(curve_p256.G), (DWORD *) private_key, KEY_LENGTH_DWORDS_P256); in smp_process_private_key() 1126 ECC_PointMult(&new_publ_key, &peer_publ_key, (DWORD *) private_key, KEY_LENGTH_DWORDS_P256); in smp_compute_dhkey()
|
/hal_espressif-3.6.0/components/bt/esp_ble_mesh/mesh_core/bluedroid_host/ |
D | mesh_bearer_adapt.c | 1779 p_256_init_curve(KEY_LENGTH_DWORDS_P256); in bt_mesh_adapt_init() 1819 ECC_PointMult(&public_key, &(curve_p256.G), (DWORD *)private_key, KEY_LENGTH_DWORDS_P256); in bt_mesh_pub_key_get() 1859 ECC_PointMult(&new_pub_key, &peer_pub_key, (DWORD *)private_key, KEY_LENGTH_DWORDS_P256); in bt_mesh_dh_key_gen()
|