Searched refs:KEY_LENGTH_DWORDS_P256 (Results 1 – 8 of 8) sorted by relevance
/hal_espressif-latest/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-latest/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_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 | 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 | smp_api.c | 70 p_256_init_curve(KEY_LENGTH_DWORDS_P256); in SMP_Init()
|
D | smp_keys.c | 1135 ECC_PointMult(&public_key, &(curve_p256.G), (DWORD *) private_key, KEY_LENGTH_DWORDS_P256); in smp_process_private_key() 1173 ECC_PointMult(&new_publ_key, &peer_publ_key, (DWORD *) private_key, KEY_LENGTH_DWORDS_P256); in smp_compute_dhkey()
|
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/bluedroid_host/ |
D | mesh_bearer_adapt.c | 1821 p_256_init_curve(KEY_LENGTH_DWORDS_P256); in bt_mesh_adapt_init() 1861 ECC_PointMult(&public_key, &(curve_p256.G), (DWORD *)private_key, KEY_LENGTH_DWORDS_P256); in bt_mesh_pub_key_get() 1901 ECC_PointMult(&new_pub_key, &peer_pub_key, (DWORD *)private_key, KEY_LENGTH_DWORDS_P256); in bt_mesh_dh_key_gen()
|