Home
last modified time | relevance | path

Searched refs:modulus (Results 1 – 7 of 7) sorted by relevance

/hostap-3.6.0/src/crypto/
Dcrypto_internal-modexp.c91 const u8 *modulus, size_t modulus_len, in crypto_mod_exp() argument
108 bignum_set_unsigned_bin(bn_modulus, modulus, modulus_len) < 0) in crypto_mod_exp()
Dcrypto_wolfssl.c1306 mp_int *a, mp_int *modulus, mp_digit mp);
1543 mp_int *modulus = &e->prime; in crypto_ec_point_add() local
1553 ret = mp_montgomery_calc_normalization(&mu, modulus); in crypto_ec_point_add()
1572 if (mp_mulmod(pa->x, &mu, modulus, ta->x) != MP_OKAY || in crypto_ec_point_add()
1573 mp_mulmod(pa->y, &mu, modulus, ta->y) != MP_OKAY || in crypto_ec_point_add()
1574 mp_mulmod(pa->z, &mu, modulus, ta->z) != MP_OKAY || in crypto_ec_point_add()
1575 mp_mulmod(pb->x, &mu, modulus, tb->x) != MP_OKAY || in crypto_ec_point_add()
1576 mp_mulmod(pb->y, &mu, modulus, tb->y) != MP_OKAY || in crypto_ec_point_add()
1577 mp_mulmod(pb->z, &mu, modulus, tb->z) != MP_OKAY) { in crypto_ec_point_add()
Dcrypto_nettle.c377 const u8 *modulus, size_t modulus_len, in crypto_mod_exp() argument
387 mpz_import(bn_modulus, modulus_len, 1, 1, 1, 0, modulus); in crypto_mod_exp()
Dcrypto_gnutls.c363 const u8 *modulus, size_t modulus_len, in crypto_mod_exp() argument
374 gcry_mpi_scan(&bn_modulus, GCRYMPI_FMT_USG, modulus, modulus_len, in crypto_mod_exp()
Dcrypto_libtomcrypt.c740 const u8 *modulus, size_t modulus_len, in crypto_mod_exp() argument
750 mp_read_unsigned_bin(m, (u8 *) modulus, modulus_len) != CRYPT_OK) in crypto_mod_exp()
Dcrypto.h468 const u8 *modulus, size_t modulus_len,
Dcrypto_openssl.c664 const u8 *modulus, size_t modulus_len, in crypto_mod_exp() argument
677 bn_modulus = BN_bin2bn(modulus, modulus_len, NULL); in crypto_mod_exp()