Home
last modified time | relevance | path

Searched refs:mp_read_radix (Results 1 – 21 of 21) sorted by relevance

/external/dropbear/libtommath/demo/
Ddemo.c222 mp_read_radix(&a, "123456", 10); in main()
234 mp_read_radix(&a, buf, 10); in main()
343 mp_read_radix(&b, "2A434B9FDEC95D8F9D550FFFFFFFFFFFFFFFF", 16); in main()
348 mp_read_radix(&b, in main()
438 mp_read_radix(&a, buf, 64); in main()
442 mp_read_radix(&b, buf, 64); in main()
455 mp_read_radix(&a, buf, 64); in main()
459 mp_read_radix(&b, buf, 64); in main()
475 mp_read_radix(&a, buf, 64); in main()
477 mp_read_radix(&b, buf, 64); in main()
[all …]
Dtiming.c244 mp_read_radix(&a, primes[n], 10); in main()
/external/dropbear/libtomcrypt/src/pk/ecc/
Decc_test.c53 …if ((err = mp_read_radix(modulus, (char *)ltc_ecc_sets[i].prime, 16)) != CRYPT_OK) { goto done; } in ecc_test()
54 …if ((err = mp_read_radix(order, (char *)ltc_ecc_sets[i].order, 16)) != CRYPT_OK) { goto done; } in ecc_test()
70 …if ((err = mp_read_radix(G->x, (char *)ltc_ecc_sets[i].Gx, 16)) != CRYPT_OK) { goto done; } in ecc_test()
71 …if ((err = mp_read_radix(G->y, (char *)ltc_ecc_sets[i].Gy, 16)) != CRYPT_OK) { goto done; } in ecc_test()
Decc_verify_hash.c91 …if ((err = mp_read_radix(p, (char *)key->dp->order, 16)) != CRYPT_OK) … in ecc_verify_hash()
94 …if ((err = mp_read_radix(m, (char *)key->dp->prime, 16)) != CRYPT_OK) … in ecc_verify_hash()
115 …if ((err = mp_read_radix(mG->x, (char *)key->dp->Gx, 16)) != CRYPT_OK) … in ecc_verify_hash()
116 …if ((err = mp_read_radix(mG->y, (char *)key->dp->Gy, 16)) != CRYPT_OK) … in ecc_verify_hash()
Decc_make_key.c95 …if ((err = mp_read_radix(prime, (char *)key->dp->prime, 16)) != CRYPT_OK) { got… in ecc_make_key_ex()
96 …if ((err = mp_read_radix(base->x, (char *)key->dp->Gx, 16)) != CRYPT_OK) { got… in ecc_make_key_ex()
97 …if ((err = mp_read_radix(base->y, (char *)key->dp->Gy, 16)) != CRYPT_OK) { got… in ecc_make_key_ex()
Decc_import.c36 …if ((err = mp_read_radix(prime, key->dp->prime, 16)) != CRYPT_OK) { goto … in is_point()
37 …if ((err = mp_read_radix(b, key->dp->B, 16)) != CRYPT_OK) { goto … in is_point()
Decc_shared_secret.c71 …if ((err = mp_read_radix(prime, (char *)private_key->dp->prime, 16)) != CRYPT_OK) … in ecc_shared_secret()
Decc_sign_hash.c69 …if ((err = mp_read_radix(p, (char *)key->dp->order, 16)) != CRYPT_OK) { goto … in ecc_sign_hash()
/external/dropbear/libtomcrypt/testprof/
Decc_test.c55 DO(mp_read_radix(G->x, ltc_ecc_sets[z].Gx, 16)); in ecc_test_shamir()
56 DO(mp_read_radix(G->y, ltc_ecc_sets[z].Gy, 16)); in ecc_test_shamir()
58 DO(mp_read_radix(modulus, ltc_ecc_sets[z].prime, 16)); in ecc_test_shamir()
/external/dropbear/libtommath/
Dbn_mp_read_radix.c19 int mp_read_radix (mp_int * a, const char *str, int radix) in mp_read_radix() function
Dtommath.h532 int mp_read_radix(mp_int *a, const char *str, int radix);
Dchanges.txt354 -- Made mp_toradix and mp_read_radix use char instead of unsigned char arrays
Dbn.tex1726 int mp_read_radix (mp_int * a, char *str, int radix);
/external/dropbear/libtomcrypt/demos/
Dtv_gen.c680 mp_read_radix(order, (char *)ltc_ecc_sets[x].order, 16); in ecc_gen()
681 mp_read_radix(modulus, (char *)ltc_ecc_sets[x].prime, 16); in ecc_gen()
682 mp_read_radix(G->x, (char *)ltc_ecc_sets[x].Gx, 16); in ecc_gen()
683 mp_read_radix(G->y, (char *)ltc_ecc_sets[x].Gy, 16); in ecc_gen()
/external/dropbear/libtomcrypt/src/math/fp/
Dltc_ecc_fp_mulmod.c800 if ((err = mp_read_radix(order, ltc_ecc_sets[x].order, 16)) != CRYPT_OK) { in accel_fp_mul()
925 if ((err = mp_read_radix(order, ltc_ecc_sets[x].order, 16)) != CRYPT_OK) { in accel_fp_mul2add()
963 if ((err = mp_read_radix(order, ltc_ecc_sets[x].order, 16)) != CRYPT_OK) { in accel_fp_mul2add()
/external/dropbear/libtommath/etc/
Dpprime.c197 mp_read_radix (&v, in pprime()
/external/dropbear/libtommath/mtest/
Dmpi.h210 mp_err mp_read_radix(mp_int *mp, unsigned char *str, int radix);
Dmpi.c2459 mp_err mp_read_radix(mp_int *mp, unsigned char *str, int radix) in mp_read_radix() function
/external/dropbear/libtomcrypt/src/headers/
Dtomcrypt_math.h464 #define mp_read_radix(a, b, c) ltc_mp.read_radix(a, b, c) macro
/external/dropbear/libtomcrypt/src/math/
Dltm_desc.c172 return mpi_to_ltc_error(mp_read_radix(a, b, radix)); in read_radix()
/external/dropbear/libtommath/pre_gen/
Dmpi.c6382 int mp_read_radix (mp_int * a, const char *str, int radix) in mp_read_radix() function