Home
last modified time | relevance | path

Searched refs:KEY_LENGTH_DWORDS_P256 (Results 1 – 7 of 7) sorted by relevance

/system/bt/stack/smp/
Dp_256_ecc_pp.h32 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];
Dp_256_curvepara.c32 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()
Dp_256_ecc_pp.c46 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()
Dp_256_multprecision.c140 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 …]
Dp_256_multprecision.h36 #define KEY_LENGTH_DWORDS_P256 8 macro
Dsmp_api.c65 p_256_init_curve(KEY_LENGTH_DWORDS_P256); in SMP_Init()
Dsmp_keys.c1078 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()