Searched refs:exponent (Results 1 – 12 of 12) sorted by relevance
| /lib/rsa/ |
| A D | rsa-mod-exp.c | 143 uint64_t exponent; in num_public_exponent_bits() local 145 const uint max_bits = (sizeof(exponent) * 8); in num_public_exponent_bits() 147 exponent = key->exponent; in num_public_exponent_bits() 150 if (!exponent) { in num_public_exponent_bits() 156 if (!(exponent >>= 1)) { in num_public_exponent_bits() 173 return key->exponent & (1ULL << pos); in is_public_exponent_bit_set() 271 key.exponent = RSA_DEFAULT_PUBEXP; in rsa_mod_exp_sw() 273 key.exponent = fdt64_to_cpup(prop->public_exponent); in rsa_mod_exp_sw()
|
| A D | rsa-sign.c | 564 int rsa_get_params(RSA *key, uint64_t *exponent, uint32_t *n0_invp, in rsa_get_params() argument 588 if (0 != rsa_get_exponent(key, exponent)) in rsa_get_params() 637 uint64_t exponent; in rsa_add_verify_data() local 658 ret = rsa_get_params(rsa, &exponent, &n0_inv, &modulus, &r_squared); in rsa_add_verify_data() 703 ret = fdt_setprop_u64(keydest, node, "rsa,exponent", exponent); in rsa_add_verify_data()
|
| /lib/mbedtls/external/mbedtls/library/ |
| A D | psa_crypto_rsa.c | 221 int *exponent) in psa_rsa_read_exponent() argument 238 *exponent = acc; in psa_rsa_read_exponent() 250 int exponent = 65537; in mbedtls_psa_rsa_generate_key() local 254 &exponent); in mbedtls_psa_rsa_generate_key() 265 exponent); in mbedtls_psa_rsa_generate_key()
|
| A D | rsa.c | 1046 unsigned int nbits, int exponent) in mbedtls_rsa_gen_key() argument 1065 if (exponent < 3 || nbits % 2 != 0) { in mbedtls_rsa_gen_key() 1081 MBEDTLS_MPI_CHK(mbedtls_mpi_lset(&ctx->E, exponent)); in mbedtls_rsa_gen_key()
|
| /lib/mbedtls/external/mbedtls/include/mbedtls/ |
| A D | rsa.h | 470 unsigned int nbits, int exponent);
|
| /lib/mbedtls/external/mbedtls/tests/suites/ |
| A D | test_suite_bignum.misc.data | 1317 Base test mbedtls_mpi_exp_mod #5 (Negative exponent) 1320 Base test mbedtls_mpi_exp_mod #6 (Negative base + exponent) 1368 Test mbedtls_mpi_exp_mod: MAX_SIZE exponent 1371 Test mbedtls_mpi_exp_mod: MAX_SIZE + 1 exponent 1380 Test mbedtls_mpi_exp_mod: MAX_SIZE exponent and modulus 1383 Test mbedtls_mpi_exp_mod: MAX_SIZE + 1 exponent and modulus
|
| A D | test_suite_rsa.data | 802 RSA parse public key - wrong public exponent tag 808 RSA parse public key - public exponent 0 817 RSA parse public key - wrong public exponent length 823 RSA parse public key - missing public exponent
|
| A D | test_suite_rsa.function | 739 void mbedtls_rsa_gen_key(int nrbits, int exponent, int result) 747 exponent) == result);
|
| A D | test_suite_psa_crypto_driver_wrappers.function | 422 * \param private_exponent Key private exponent.
|
| /lib/mbedtls/external/mbedtls/docs/ |
| A D | psa-transition.md | 782 …exponent. You can use [`psa_generate_key_ext`](https://mbed-tls.readthedocs.io/projects/api/en/dev… 788 | RSA key pair | PKCS#1 RSAPrivateKey DER encoding (including both private exponent and CRT paramet… 807 …blic key in a compressed format, an RSA private key without the private exponent, or an RSA privat…
|
| /lib/mbedtls/external/mbedtls/docs/architecture/psa-migration/ |
| A D | psa-legacy-bridges.md | 152 …ome cases. In particular, PSA RSA key generation does not (yet) allow choosing the public exponent.
|
| /lib/mbedtls/external/mbedtls/ |
| A D | ChangeLog | 31 * In the PSA API, the experimental way to encode the public exponent of 109 key pair with a custom public exponent. 3631 * Wipe stack buffer temporarily holding EC private exponent 3927 * Add exponent blinding to RSA private operations as a countermeasure
|
Completed in 57 milliseconds