Home
last modified time | relevance | path

Searched refs:multiprecision_add (Results 1 – 4 of 4) sorted by relevance

/system/bt/stack/smp/
Dp_256_multprecision.cc78 uint32_t multiprecision_add(uint32_t* c, uint32_t* a, uint32_t* b) { in multiprecision_add() function
158 carrier = multiprecision_add(c, a, b); in multiprecision_add_mod()
172 if (borrow) multiprecision_add(c, c, modp); in multiprecision_sub_mod()
441 multiprecision_add(c, c, modp); in multiprecision_fast_mod_P256()
472 A[KEY_LENGTH_DWORDS_P256] = multiprecision_add(A, A, modp); // A =A+p in multiprecision_inv_mod()
485 C[KEY_LENGTH_DWORDS_P256] = multiprecision_add(C, C, modp); // C =C+p in multiprecision_inv_mod()
Dp_256_multprecision.h42 uint32_t multiprecision_add(uint32_t* c, uint32_t* a, uint32_t* b); // c=a+b
/system/bt/gd/security/ecc/
Dmultprecision.cc83 uint32_t multiprecision_add(uint32_t* c, const uint32_t* a, const uint32_t* b) { in multiprecision_add() function
157 uint32_t carrier = multiprecision_add(c, a, b); in multiprecision_add_mod()
170 if (borrow) multiprecision_add(c, c, modp); in multiprecision_sub_mod()
438 multiprecision_add(c, c, modp); in multiprecision_fast_mod_P256()
468 A[KEY_LENGTH_DWORDS_P256] = multiprecision_add(A, A, modp); // A =A+p in multiprecision_inv_mod()
481 C[KEY_LENGTH_DWORDS_P256] = multiprecision_add(C, C, modp); // C =C+p in multiprecision_inv_mod()
Dmultprecision.h42 uint32_t multiprecision_add(uint32_t* c, const uint32_t* a, const uint32_t* b); // c=a+b