Lines Matching refs:klen
1252 const unsigned char *k, size_t klen) in point_mul_inner() argument
1259 while (klen -- > 0) { in point_mul_inner()
1455 p256_mul(p256_jacobian *P, const unsigned char *k, size_t klen) in p256_mul() argument
1485 point_mul_inner(P, window.aff, k, klen); in p256_mul()
1595 p256_mulgen(p256_jacobian *P, const unsigned char *k, size_t klen) in p256_mulgen() argument
1597 point_mul_inner(P, P256_Gwin, k, klen); in p256_mulgen()
1610 check_scalar(const unsigned char *k, size_t klen) in check_scalar() argument
1616 if (klen > 32) { in check_scalar()
1620 for (u = 0; u < klen; u ++) { in check_scalar()
1623 if (klen == 32) { in check_scalar()
1625 for (u = 0; u < klen; u ++) { in check_scalar()
1636 const unsigned char *k, size_t klen, int curve) in api_mul() argument
1645 r = check_scalar(k, klen); in api_mul()
1647 p256_mul(&P, k, klen); in api_mul()
1654 const unsigned char *k, size_t klen, int curve) in api_mulgen() argument
1659 p256_mulgen(&P, k, klen); in api_mulgen()