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 uint32_t x[KEY_LENGTH_DWORDS_P256];
33 uint32_t y[KEY_LENGTH_DWORDS_P256];
34 uint32_t z[KEY_LENGTH_DWORDS_P256];
39 uint32_t a[KEY_LENGTH_DWORDS_P256];
40 uint32_t b[KEY_LENGTH_DWORDS_P256];
46 uint32_t p[KEY_LENGTH_DWORDS_P256];
49 uint32_t omega[KEY_LENGTH_DWORDS_P256];
Dp_256_curvepara.cc31 if (keyLength == KEY_LENGTH_DWORDS_P256) { in p_256_init_curve()
43 memset(ec->omega, 0, KEY_LENGTH_DWORDS_P256); in p_256_init_curve()
44 memset(ec->a, 0, KEY_LENGTH_DWORDS_P256); in p_256_init_curve()
Dp_256_ecc_pp.cc42 uint32_t t1[KEY_LENGTH_DWORDS_P256]; in ECC_Double()
43 uint32_t t2[KEY_LENGTH_DWORDS_P256]; in ECC_Double()
44 uint32_t t3[KEY_LENGTH_DWORDS_P256]; in ECC_Double()
91 uint32_t t1[KEY_LENGTH_DWORDS_P256]; in ECC_Add()
92 uint32_t t2[KEY_LENGTH_DWORDS_P256]; in ECC_Add()
204 if (keyLength == KEY_LENGTH_DWORDS_P256) { in ECC_PointMult_Bin_NAF()
250 const size_t kl = KEY_LENGTH_DWORDS_P256; in ECC_ValidatePoint()
Dp_256_multprecision.cc119 } else if (keyLength == KEY_LENGTH_DWORDS_P256) { in multiprecision_lshift_mod()
152 uint32_t cc[2 * KEY_LENGTH_DWORDS_P256]; in multiprecision_mersenns_mult_mod()
176 } else if (keyLength == KEY_LENGTH_DWORDS_P256) { in multiprecision_add_mod()
197 } else if (keyLength == KEY_LENGTH_DWORDS_P256) { in multiprecision_sub_mod()
544 multiprecision_add(c, c, modp, KEY_LENGTH_DWORDS_P256); in multiprecision_fast_mod_P256()
549 multiprecision_sub(c, c, modp, KEY_LENGTH_DWORDS_P256); in multiprecision_fast_mod_P256()
554 if (multiprecision_compare(c, modp, KEY_LENGTH_DWORDS_P256) >= 0) in multiprecision_fast_mod_P256()
555 multiprecision_sub(c, c, modp, KEY_LENGTH_DWORDS_P256); in multiprecision_fast_mod_P256()
559 uint32_t v[KEY_LENGTH_DWORDS_P256]; in multiprecision_inv_mod()
560 uint32_t A[KEY_LENGTH_DWORDS_P256 + 1]; in multiprecision_inv_mod()
[all …]
Dp_256_multprecision.h33 #define KEY_LENGTH_DWORDS_P256 8 macro
Dsmp_api.cc65 p_256_init_curve(KEY_LENGTH_DWORDS_P256); in SMP_Init()
Dsmp_keys.cc695 KEY_LENGTH_DWORDS_P256); in smp_process_private_key()
732 KEY_LENGTH_DWORDS_P256); in smp_compute_dhkey()