Searched refs:KEY_LENGTH_DWORDS_P256 (Results 1 – 7 of 7) sorted by relevance
/system/bt/stack/smp/ |
D | p_256_ecc_pp.h | 32 DWORD x[KEY_LENGTH_DWORDS_P256]; 33 DWORD y[KEY_LENGTH_DWORDS_P256]; 34 DWORD z[KEY_LENGTH_DWORDS_P256]; 39 DWORD a[KEY_LENGTH_DWORDS_P256]; 40 DWORD b[KEY_LENGTH_DWORDS_P256]; 46 DWORD p[KEY_LENGTH_DWORDS_P256]; 49 DWORD omega[KEY_LENGTH_DWORDS_P256];
|
D | p_256_curvepara.c | 32 if(keyLength == KEY_LENGTH_DWORDS_P256) in p_256_init_curve() 45 memset(ec->omega, 0, KEY_LENGTH_DWORDS_P256); in p_256_init_curve() 46 memset(ec->a, 0, KEY_LENGTH_DWORDS_P256); in p_256_init_curve()
|
D | p_256_ecc_pp.c | 46 DWORD t1[KEY_LENGTH_DWORDS_P256]; in ECC_Double() 47 DWORD t2[KEY_LENGTH_DWORDS_P256]; in ECC_Double() 48 DWORD t3[KEY_LENGTH_DWORDS_P256]; in ECC_Double() 93 DWORD t1[KEY_LENGTH_DWORDS_P256]; in ECC_Add() 94 DWORD t2[KEY_LENGTH_DWORDS_P256]; in ECC_Add() 210 if (keyLength == KEY_LENGTH_DWORDS_P256) in ECC_PointMult_Bin_NAF()
|
D | p_256_multprecision.c | 140 else if (keyLength == KEY_LENGTH_DWORDS_P256) in multiprecision_lshift_mod() 179 DWORD cc[2*KEY_LENGTH_DWORDS_P256]; in multiprecision_mersenns_mult_mod() 208 else if (keyLength == KEY_LENGTH_DWORDS_P256) in multiprecision_add_mod() 236 else if(keyLength == KEY_LENGTH_DWORDS_P256) in multiprecision_sub_mod() 618 multiprecision_add(c, c, modp, KEY_LENGTH_DWORDS_P256); in multiprecision_fast_mod_P256() 626 multiprecision_sub(c, c, modp, KEY_LENGTH_DWORDS_P256); in multiprecision_fast_mod_P256() 631 if (multiprecision_compare(c, modp, KEY_LENGTH_DWORDS_P256)>=0) in multiprecision_fast_mod_P256() 632 multiprecision_sub(c, c, modp, KEY_LENGTH_DWORDS_P256); in multiprecision_fast_mod_P256() 638 DWORD v[KEY_LENGTH_DWORDS_P256]; in multiprecision_inv_mod() 639 DWORD A[KEY_LENGTH_DWORDS_P256+1]; in multiprecision_inv_mod() [all …]
|
D | p_256_multprecision.h | 36 #define KEY_LENGTH_DWORDS_P256 8 macro
|
D | smp_api.c | 65 p_256_init_curve(KEY_LENGTH_DWORDS_P256); in SMP_Init()
|
D | smp_keys.c | 1078 ECC_PointMult(&public_key, &(curve_p256.G), (DWORD*) private_key, KEY_LENGTH_DWORDS_P256); in smp_process_private_key() 1115 ECC_PointMult(&new_publ_key, &peer_publ_key, (DWORD*) private_key, KEY_LENGTH_DWORDS_P256); in smp_compute_dhkey()
|