Home
last modified time | relevance | path

Searched refs:naf (Results 1 – 2 of 2) sorted by relevance

/system/bt/stack/smp/
Dp_256_ecc_pp.cc158 static void ECC_NAF(uint8_t* naf, uint32_t* NumNAF, uint32_t* k) { in ECC_NAF() argument
186 naf[i / 4] |= (sign) << ((i % 4) * 2); in ECC_NAF()
196 uint8_t naf[256 / 4 + 1]; in ECC_PointMult_Bin_NAF() local
219 memset(naf, 0, sizeof(naf)); in ECC_PointMult_Bin_NAF()
220 ECC_NAF(naf, &NumNaf, n); in ECC_PointMult_Bin_NAF()
225 sign = (naf[i / 4] >> ((i % 4) * 2)) & 0x03; in ECC_PointMult_Bin_NAF()
/system/bt/gd/security/ecc/
Dp_256_ecc_pp.cc163 static void ECC_NAF(uint8_t* naf, uint32_t* NumNAF, uint32_t* k) { in ECC_NAF() argument
191 naf[i / 4] |= (sign) << ((i % 4) * 2); in ECC_NAF()
201 uint8_t naf[256 / 4 + 1]; in ECC_PointMult_Bin_NAF() local
219 memset(naf, 0, sizeof(naf)); in ECC_PointMult_Bin_NAF()
220 ECC_NAF(naf, &NumNaf, n); in ECC_PointMult_Bin_NAF()
225 sign = (naf[i / 4] >> ((i % 4) * 2)) & 0x03; in ECC_PointMult_Bin_NAF()