Lines Matching refs:kl
250 const size_t kl = KEY_LENGTH_DWORDS_P256; in ECC_ValidatePoint() local
251 p_256_init_curve(kl); in ECC_ValidatePoint()
256 uint32_t y2_mod[kl] = {0}; in ECC_ValidatePoint()
257 multiprecision_mersenns_squa_mod(y2_mod, (uint32_t*)pt.y, kl); in ECC_ValidatePoint()
260 uint32_t rhs[kl] = {0}; in ECC_ValidatePoint()
261 multiprecision_mersenns_squa_mod(rhs, (uint32_t*)pt.x, kl); in ECC_ValidatePoint()
262 uint32_t three[kl] = {0}; in ECC_ValidatePoint()
264 multiprecision_sub_mod(rhs, rhs, three, kl); in ECC_ValidatePoint()
265 multiprecision_mersenns_mult_mod(rhs, rhs, (uint32_t*)pt.x, kl); in ECC_ValidatePoint()
266 multiprecision_add_mod(rhs, rhs, curve_p256.b, kl); in ECC_ValidatePoint()
268 return multiprecision_compare(rhs, y2_mod, kl) == 0; in ECC_ValidatePoint()