Searched refs:mpi (Results 1 – 7 of 7) sorted by relevance
/mbedtls-3.5.0/tests/suites/ |
D | test_suite_asn1write.data | 94 ASN.1 Write mpi 0 (null) 97 ASN.1 Write mpi 0 (1 limb) 100 ASN.1 Write mpi 1 103 ASN.1 Write mpi 0x7f 106 ASN.1 Write mpi 0x7f with leading 0 limb 109 ASN.1 Write mpi 0x80 112 ASN.1 Write mpi 0x80 with leading 0 limb 115 ASN.1 Write mpi 0xff 118 ASN.1 Write mpi 0x100 121 ASN.1 Write mpi, 127*8-1 bits [all …]
|
D | test_suite_asn1write.function | 167 mbedtls_mpi mpi, read; 170 mbedtls_mpi_init(&mpi); 172 TEST_ASSERT(mbedtls_mpi_read_binary(&mpi, val->x, val->len) == 0); 178 ret = mbedtls_asn1_write_mpi(&data.p, data.start, &mpi); 185 TEST_EQUAL(0, mbedtls_mpi_cmp_mpi(&mpi, &read)); 195 mbedtls_mpi_free(&mpi);
|
D | test_suite_asn1parse.function | 63 mbedtls_mpi mpi; 64 mbedtls_mpi_init(&mpi); 66 ret = mbedtls_asn1_get_mpi(p, end, &mpi); 67 mbedtls_mpi_free(&mpi);
|
D | test_suite_asn1parse.data | 289 INTEGER too large for mpi
|
/mbedtls-3.5.0/programs/ |
D | README.md | 48 ### Bignum (`mpi`) usage examples 50 * [`pkey/dh_genprime.c`](pkey/dh_genprime.c): shows how to use the bignum (`mpi`) interface to gene…
|
/mbedtls-3.5.0/library/ |
D | psa_crypto.c | 1201 mbedtls_mpi mpi; in psa_get_rsa_public_exponent() local 1205 mbedtls_mpi_init(&mpi); in psa_get_rsa_public_exponent() 1207 ret = mbedtls_rsa_export(rsa, NULL, NULL, NULL, NULL, &mpi); in psa_get_rsa_public_exponent() 1211 if (mbedtls_mpi_cmp_int(&mpi, 65537) == 0) { in psa_get_rsa_public_exponent() 1217 buflen = mbedtls_mpi_size(&mpi); in psa_get_rsa_public_exponent() 1223 ret = mbedtls_mpi_write_binary(&mpi, buffer, buflen); in psa_get_rsa_public_exponent() 1231 mbedtls_mpi_free(&mpi); in psa_get_rsa_public_exponent()
|
/mbedtls-3.5.0/ |
D | ChangeLog | 1271 those always built an mpi object with at least one limb. 1317 function and some mpi operations. 4007 * mpi_size() and mpi_msb() would segfault when called on an mpi that is 4408 * Missing MPI_CHK calls added around unguarded mpi calls (found by 4862 * Allow R and A to point to same mpi in mpi_div_mpi (found by Manuel 4991 * Allow R and A to point to same mpi in mpi_div_mpi (found by Manuel
|