Home
last modified time | relevance | path

Searched refs:mpi (Results 1 – 10 of 10) sorted by relevance

/openthread-3.6.0/third_party/mbedtls/repo/tests/suites/
Dtest_suite_asn1write.data94 #ASN.1 Write mpi 0
97 ASN.1 Write mpi 1
100 ASN.1 Write mpi 0x7f
103 #ASN.1 Write mpi 0x80
106 #ASN.1 Write mpi 0xff
109 ASN.1 Write mpi 0x100
112 ASN.1 Write mpi, 127*8-1 bits
115 #ASN.1 Write mpi, 127*8 bits
118 ASN.1 Write mpi, 127*8+1 bits
121 ASN.1 Write mpi, 255*8-1 bits
[all …]
Dtest_suite_asn1write.function145 mbedtls_mpi mpi;
148 mbedtls_mpi_init( &mpi );
149 TEST_ASSERT( mbedtls_mpi_read_binary( &mpi, val->x, val->len ) == 0 );
155 ret = mbedtls_asn1_write_mpi( &data.p, data.start, &mpi );
163 mbedtls_mpi_free( &mpi );
Dtest_suite_asn1parse.function62 mbedtls_mpi mpi;
63 mbedtls_mpi_init( &mpi );
65 ret = mbedtls_asn1_get_mpi( p, end, &mpi );
66 mbedtls_mpi_free( &mpi );
Dtest_suite_asn1parse.data289 INTEGER too large for mpi
/openthread-3.6.0/third_party/mbedtls/repo/programs/
DREADME.md48 ### Bignum (`mpi`) usage examples
50 * [`pkey/dh_genprime.c`](pkey/dh_genprime.c): shows how to use the bignum (`mpi`) interface to gene…
/openthread-3.6.0/third_party/mbedtls/repo/tests/
DCMakeLists.txt136 add_test_suite(mpi)
/openthread-3.6.0/third_party/mbedtls/repo/library/
Dpsa_crypto.c1212 mbedtls_mpi mpi; in psa_get_rsa_public_exponent() local
1216 mbedtls_mpi_init( &mpi ); in psa_get_rsa_public_exponent()
1218 ret = mbedtls_rsa_export( rsa, NULL, NULL, NULL, NULL, &mpi ); in psa_get_rsa_public_exponent()
1221 if( mbedtls_mpi_cmp_int( &mpi, 65537 ) == 0 ) in psa_get_rsa_public_exponent()
1228 buflen = mbedtls_mpi_size( &mpi ); in psa_get_rsa_public_exponent()
1235 ret = mbedtls_mpi_write_binary( &mpi, buffer, buflen ); in psa_get_rsa_public_exponent()
1242 mbedtls_mpi_free( &mpi ); in psa_get_rsa_public_exponent()
/openthread-3.6.0/third_party/mbedtls/repo/include/mbedtls/
Dcompat-1.3.h2048 #define mpi mbedtls_mpi macro
/openthread-3.6.0/third_party/mbedtls/repo/scripts/data_files/
Drename-1.3-2.0.txt1658 mpi mbedtls_mpi
/openthread-3.6.0/third_party/mbedtls/repo/
DChangeLog264 those always built an mpi object with at least one limb.
318 function and some mpi operations.
2993 * mpi_size() and mpi_msb() would segfault when called on an mpi that is
3394 * Missing MPI_CHK calls added around unguarded mpi calls (found by
3848 * Allow R and A to point to same mpi in mpi_div_mpi (found by Manuel
3977 * Allow R and A to point to same mpi in mpi_div_mpi (found by Manuel