Home
last modified time | relevance | path

Searched refs:MBEDTLS_ERR_MPI_BAD_INPUT_DATA (Results 1 – 22 of 22) sorted by relevance

/third_party/mbedtls/tests/suites/
Dtest_suite_bignum_mod.misc.data2 mpi_mod_setup:MBEDTLS_MPI_MOD_REP_INVALID:MBEDTLS_ERR_MPI_BAD_INPUT_DATA
16 …0000000000000000000000000000":"f0000000000000000000000000000000":"0":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
19 …90abcdef1234567890abcdef":"0":"f0000000000000000000000000000000":"0":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
22 …0000000000000000000000000000":"f0000000000000000000000000000000":"0":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
31 …df25":"000000025a55a46e5da99c71c7":"00033b2e3c9fd0803ce8000f93":"00":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
34 …0000000000000025a55a46e5da99c71c7":"00033b2e3c9fd0803ce8000f93":"00":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
37 …000000025a55a46e5da99c71c7":"000000000033b2e3c9fd0803ce8000f93":"00":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
40 …000000025a55a46e5da99c71c7":"000000000033b2e3c9fd0803ce8000f93":"00":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
43 …20a022ccb75bdf470ddf25":"a99c71c7":"00033b2e3c9fd0803ce8000f93":"00":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
46 …20a022ccb75bdf470ddf25":"000000025a55a46e5da99c71c7":"e8000f93":"00":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
[all …]
Dtest_suite_bignum_random.data223 mpi_random_fail:-1:"04":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
226 mpi_random_fail:0:"00":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
229 mpi_random_fail:1:"01":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
232 mpi_random_fail:1:"00":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
235 mpi_random_fail:2:"01":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
238 mpi_random_fail:2:"000000000000000001":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
325 mpi_mod_random_validation:0:"123":-1:MBEDTLS_ERR_MPI_BAD_INPUT_DATA
328 mpi_mod_random_validation:0:"123":1:MBEDTLS_ERR_MPI_BAD_INPUT_DATA
331 mpi_mod_random_validation:0:"01234567890123456789":-1:MBEDTLS_ERR_MPI_BAD_INPUT_DATA
334 mpi_mod_random_validation:0:"01234567890123456789":1:MBEDTLS_ERR_MPI_BAD_INPUT_DATA
[all …]
Dtest_suite_bignum_mod.function227 MBEDTLS_ERR_MPI_BAD_INPUT_DATA);
277 TEST_EQUAL(MBEDTLS_ERR_MPI_BAD_INPUT_DATA,
289 TEST_EQUAL(MBEDTLS_ERR_MPI_BAD_INPUT_DATA,
483 TEST_EQUAL(MBEDTLS_ERR_MPI_BAD_INPUT_DATA,
495 TEST_EQUAL(MBEDTLS_ERR_MPI_BAD_INPUT_DATA,
609 TEST_EQUAL(MBEDTLS_ERR_MPI_BAD_INPUT_DATA,
612 TEST_EQUAL(MBEDTLS_ERR_MPI_BAD_INPUT_DATA,
619 TEST_EQUAL(MBEDTLS_ERR_MPI_BAD_INPUT_DATA,
621 TEST_EQUAL(MBEDTLS_ERR_MPI_BAD_INPUT_DATA,
630 TEST_EQUAL(MBEDTLS_ERR_MPI_BAD_INPUT_DATA,
[all …]
Dtest_suite_bignum.misc.data47 mpi_read_write_string:19:"a28":0:"":100:MBEDTLS_ERR_MPI_BAD_INPUT_DATA:0
56 mpi_read_write_string:16:"-23":17:"-23":4:0:MBEDTLS_ERR_MPI_BAD_INPUT_DATA
332 mpi_lt_mpi_ct:3:"2B5":2:"2B5":0:MBEDTLS_ERR_MPI_BAD_INPUT_DATA
335 mpi_lt_mpi_ct:3:"2B5":4:"2B5":0:MBEDTLS_ERR_MPI_BAD_INPUT_DATA
1303 mpi_exp_mod:"17":"d":"1e":"0":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
1306 mpi_exp_mod:"17":"d":"":"0":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
1309 mpi_exp_mod:"17":"d":"-1d":"0":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
1315 mpi_exp_mod:"17":"-d":"1d":"0":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
1318 mpi_exp_mod:"-17":"-d":"1d":"0":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
1366 mpi_exp_mod_size:2:MBEDTLS_MPI_MAX_SIZE + 1:10:"":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
[all …]
Dtest_suite_bignum_mod_raw.data132 …FFFFFFFFFFFFFFFFFFFFFFFFFFFFF":1024:256:MBEDTLS_MPI_MOD_EXT_REP_BE:MBEDTLS_ERR_MPI_BAD_INPUT_DATA:0
135 …FFFFFFFFFFFFFFFFFFFFFFFFFFFFF":1024:256:MBEDTLS_MPI_MOD_EXT_REP_LE:MBEDTLS_ERR_MPI_BAD_INPUT_DATA:0
138 mpi_mod_raw_io:"":1:1:MBEDTLS_MPI_MOD_EXT_REP_INVALID:MBEDTLS_ERR_MPI_BAD_INPUT_DATA:0
141 mpi_mod_raw_io:"":1:1:MBEDTLS_MPI_MOD_EXT_REP_INVALID:0:MBEDTLS_ERR_MPI_BAD_INPUT_DATA
Dtest_suite_dhm.data74 dhm_do_dhm:"3":1:"5":MBEDTLS_ERR_DHM_MAKE_PARAMS_FAILED+MBEDTLS_ERR_MPI_BAD_INPUT_DATA
110 …blic:MBEDTLS_MPI_MAX_SIZE + 1:"5":MBEDTLS_ERR_DHM_MAKE_PUBLIC_FAILED+MBEDTLS_ERR_MPI_BAD_INPUT_DATA
Dtest_suite_rsa.data273 …:"4E636AF98E40F3ADCFCCB698F4E80B9F":MBEDTLS_ERR_RSA_PRIVATE_FAILED + MBEDTLS_ERR_MPI_BAD_INPUT_DATA
374 …7d9d5e4d55cc342ca26f5a0167a679dec8":MBEDTLS_ERR_RSA_PRIVATE_FAILED + MBEDTLS_ERR_MPI_BAD_INPUT_DATA
383 …e7d9d5e4d55cc342ca26f5a0167a679dec8":MBEDTLS_ERR_RSA_PUBLIC_FAILED + MBEDTLS_ERR_MPI_BAD_INPUT_DATA
456 mbedtls_rsa_deduce_primes:"23":"5":"5":"5":"7":1:MBEDTLS_ERR_MPI_BAD_INPUT_DATA
462 …ecedaf31fa3b39421e24ee034fbf367d11f6b8f88ee483d163b431e1654ad3e89":1:MBEDTLS_ERR_MPI_BAD_INPUT_DATA
Dtest_suite_bignum_core.misc.data468 mpi_core_fill_random:9:0:-1:0:MBEDTLS_ERR_MPI_BAD_INPUT_DATA
489 mpi_core_fill_random:42:0:-1:0:MBEDTLS_ERR_MPI_BAD_INPUT_DATA
492 mpi_core_fill_random:42:0:-5:0:MBEDTLS_ERR_MPI_BAD_INPUT_DATA
Dtest_suite_asn1parse.function409 TEST_ASSERT(ret == 0 || ret == MBEDTLS_ERR_MPI_BAD_INPUT_DATA);
410 if (ret == MBEDTLS_ERR_MPI_BAD_INPUT_DATA) {
412 expected_result_for_mpi = MBEDTLS_ERR_MPI_BAD_INPUT_DATA;
Dtest_suite_bignum.function1380 MBEDTLS_ERR_MPI_BAD_INPUT_DATA);
/third_party/mbedtls/library/
Dbignum_mod.c43 return MBEDTLS_ERR_MPI_BAD_INPUT_DATA; in mbedtls_mpi_mod_residue_setup()
161 ret = MBEDTLS_ERR_MPI_BAD_INPUT_DATA; in mbedtls_mpi_mod_modulus_setup()
186 return MBEDTLS_ERR_MPI_BAD_INPUT_DATA; in mbedtls_mpi_mod_mul()
190 return MBEDTLS_ERR_MPI_BAD_INPUT_DATA; in mbedtls_mpi_mod_mul()
214 return MBEDTLS_ERR_MPI_BAD_INPUT_DATA; in mbedtls_mpi_mod_sub()
275 return MBEDTLS_ERR_MPI_BAD_INPUT_DATA; in mbedtls_mpi_mod_inv()
280 return MBEDTLS_ERR_MPI_BAD_INPUT_DATA; in mbedtls_mpi_mod_inv()
302 ret = MBEDTLS_ERR_MPI_BAD_INPUT_DATA; in mbedtls_mpi_mod_inv()
325 return MBEDTLS_ERR_MPI_BAD_INPUT_DATA; in mbedtls_mpi_mod_add()
343 return MBEDTLS_ERR_MPI_BAD_INPUT_DATA; in mbedtls_mpi_mod_random()
[all …]
Dbignum_mod_raw.c72 return MBEDTLS_ERR_MPI_BAD_INPUT_DATA; in mbedtls_mpi_mod_raw_read()
80 ret = MBEDTLS_ERR_MPI_BAD_INPUT_DATA; in mbedtls_mpi_mod_raw_read()
103 return MBEDTLS_ERR_MPI_BAD_INPUT_DATA; in mbedtls_mpi_mod_raw_write()
212 return MBEDTLS_ERR_MPI_BAD_INPUT_DATA; in mbedtls_mpi_mod_raw_canonical_to_modulus_rep()
226 return MBEDTLS_ERR_MPI_BAD_INPUT_DATA; in mbedtls_mpi_mod_raw_modulus_to_canonical_rep()
Drsa_alt_helpers.c88 return MBEDTLS_ERR_MPI_BAD_INPUT_DATA; in mbedtls_rsa_deduce_primes()
96 return MBEDTLS_ERR_MPI_BAD_INPUT_DATA; in mbedtls_rsa_deduce_primes()
111 ret = MBEDTLS_ERR_MPI_BAD_INPUT_DATA; in mbedtls_rsa_deduce_primes()
181 ret = MBEDTLS_ERR_MPI_BAD_INPUT_DATA; in mbedtls_rsa_deduce_primes()
203 return MBEDTLS_ERR_MPI_BAD_INPUT_DATA; in mbedtls_rsa_deduce_private_exponent()
209 return MBEDTLS_ERR_MPI_BAD_INPUT_DATA; in mbedtls_rsa_deduce_private_exponent()
Dbignum.c53 MBEDTLS_INTERNAL_VALIDATE_RET(cond, MBEDTLS_ERR_MPI_BAD_INPUT_DATA)
309 return MBEDTLS_ERR_MPI_BAD_INPUT_DATA; in mbedtls_mpi_set_bit()
401 return MBEDTLS_ERR_MPI_BAD_INPUT_DATA; in mbedtls_mpi_read_string()
420 return MBEDTLS_ERR_MPI_BAD_INPUT_DATA; in mbedtls_mpi_read_string()
506 return MBEDTLS_ERR_MPI_BAD_INPUT_DATA; in mbedtls_mpi_write_string()
597 return MBEDTLS_ERR_MPI_BAD_INPUT_DATA; in mbedtls_mpi_read_file()
642 return MBEDTLS_ERR_MPI_BAD_INPUT_DATA; in mbedtls_mpi_write_file()
1672 return MBEDTLS_ERR_MPI_BAD_INPUT_DATA; in mbedtls_mpi_exp_mod()
1676 return MBEDTLS_ERR_MPI_BAD_INPUT_DATA; in mbedtls_mpi_exp_mod()
1681 return MBEDTLS_ERR_MPI_BAD_INPUT_DATA; in mbedtls_mpi_exp_mod()
[all …]
Derror.c595 case -(MBEDTLS_ERR_MPI_BAD_INPUT_DATA): in mbedtls_low_level_strerr()
Dconstant_time.c730 MBEDTLS_INTERNAL_VALIDATE_RET(cond, MBEDTLS_ERR_MPI_BAD_INPUT_DATA)
860 return MBEDTLS_ERR_MPI_BAD_INPUT_DATA; in mbedtls_mpi_lt_mpi_ct()
Dpsa_crypto_pake.c148 case MBEDTLS_ERR_MPI_BAD_INPUT_DATA: in mbedtls_ecjpake_to_psa_error()
Dbignum_core.c562 return MBEDTLS_ERR_MPI_BAD_INPUT_DATA; in mbedtls_mpi_core_fill_random()
Drsa.c747 ret = MBEDTLS_ERR_MPI_BAD_INPUT_DATA; in mbedtls_rsa_public()
940 ret = MBEDTLS_ERR_MPI_BAD_INPUT_DATA; in mbedtls_rsa_private()
Dpsa_crypto.c245 case MBEDTLS_ERR_MPI_BAD_INPUT_DATA: in mbedtls_to_psa_error()
/third_party/mbedtls/tests/src/
Dbignum_helpers.c46 return MBEDTLS_ERR_MPI_BAD_INPUT_DATA; in mbedtls_test_read_mpi_core()
57 return MBEDTLS_ERR_MPI_BAD_INPUT_DATA; in mbedtls_test_read_mpi_core()
86 return MBEDTLS_ERR_MPI_BAD_INPUT_DATA; in mbedtls_test_read_mpi_core()
96 return MBEDTLS_ERR_MPI_BAD_INPUT_DATA; in mbedtls_test_read_mpi_modulus()
/third_party/mbedtls/include/mbedtls/
Dbignum.h38 #define MBEDTLS_ERR_MPI_BAD_INPUT_DATA -0x0004 macro