/external/dropbear/libtomcrypt/src/pk/ecc/ |
D | ecc_ansi_x963_export.c | 56 mp_to_unsigned_bin(key->pubkey.x, buf + (numlen - mp_unsigned_bin_size(key->pubkey.x))); in ecc_ansi_x963_export() 61 mp_to_unsigned_bin(key->pubkey.y, buf + (numlen - mp_unsigned_bin_size(key->pubkey.y))); in ecc_ansi_x963_export()
|
D | ltc_ecc_mul2add.c | 79 mp_to_unsigned_bin(kA, (len - lenA) + tA); in ltc_ecc_mul2add() 82 mp_to_unsigned_bin(kB, (len - lenB) + tB); in ltc_ecc_mul2add()
|
D | ecc_shared_secret.c | 81 …if ((err = mp_to_unsigned_bin(result->x, out + (x - mp_unsigned_bin_size(result->x)))) != CRYPT_… in ecc_shared_secret()
|
/external/dropbear/libtomcrypt/src/pk/asn1/der/integer/ |
D | der_encode_integer.c | 95 if ((err = mp_to_unsigned_bin(num, out)) != CRYPT_OK) { in der_encode_integer() 114 if ((err = mp_to_unsigned_bin(tmp, out)) != CRYPT_OK) { in der_encode_integer()
|
/external/dropbear/libtomcrypt/testprof/ |
D | katja_test.c | 29 mp_to_unsigned_bin(key.N, tmp); in katja_test() 37 mp_to_unsigned_bin(key.p, tmp); in katja_test() 45 mp_to_unsigned_bin(key.q, tmp); in katja_test()
|
D | rsa_test.c | 151 mp_to_unsigned_bin(key.N, tmp); in rsa_test() 159 mp_to_unsigned_bin(key.p, tmp); in rsa_test() 167 mp_to_unsigned_bin(key.q, tmp); in rsa_test()
|
/external/dropbear/libtommath/ |
D | bn_mp_to_unsigned_bin_n.c | 25 return mp_to_unsigned_bin(a, b); in mp_to_unsigned_bin_n()
|
D | bn_mp_to_signed_bin.c | 23 if ((res = mp_to_unsigned_bin (a, b + 1)) != MP_OKAY) { in mp_to_signed_bin()
|
D | bn_mp_to_unsigned_bin.c | 19 int mp_to_unsigned_bin (mp_int * a, unsigned char *b) in mp_to_unsigned_bin() function
|
D | tommath.h | 524 int mp_to_unsigned_bin(mp_int *a, unsigned char *b); 545 #define mp_tomag(mp, str) mp_to_unsigned_bin((mp), (str))
|
/external/dropbear/libtomcrypt/src/pk/pkcs1/ |
D | pkcs_1_i2osp.c | 43 return mp_to_unsigned_bin(n, out+(modulus_len-size)); in pkcs_1_i2osp()
|
/external/dropbear/ |
D | dss.c | 272 if (mp_to_unsigned_bin(mp, ret) != MP_OKAY) { in mptobytes() 393 if (mp_to_unsigned_bin(&dss_r, buf_getwriteptr(buf, writelen)) in buf_put_dss_sign() 406 if (mp_to_unsigned_bin(&dss_s, buf_getwriteptr(buf, writelen)) in buf_put_dss_sign()
|
D | buffer.c | 301 if (mp_to_unsigned_bin(mp, buf_getwriteptr(buf, len-pad)) != MP_OKAY) { in buf_putmpint()
|
D | rsa.c | 353 if (mp_to_unsigned_bin(&rsa_s, buf_getwriteptr(buf, ssize)) != MP_OKAY) { in buf_put_rsa_sign()
|
/external/dropbear/libtomcrypt/src/pk/dsa/ |
D | dsa_shared_secret.c | 59 …if ((err = mp_to_unsigned_bin(res, out + (x - mp_unsigned_bin_size(res)))) != CRYPT_OK) … in dsa_shared_secret()
|
/external/dropbear/libtommath/mtest/ |
D | mpi.h | 197 mp_err mp_to_unsigned_bin(mp_int *mp, unsigned char *str); 207 #define mp_tomag(mp, str) mp_to_unsigned_bin((mp), (str))
|
D | mpi.c | 2305 return mp_to_unsigned_bin(mp, str + 1); in mp_to_signed_bin() 2371 mp_err mp_to_unsigned_bin(mp_int *mp, unsigned char *str) in mp_to_unsigned_bin() function
|
/external/dropbear/libtomcrypt/src/pk/rsa/ |
D | rsa_exptmod.c | 100 …if ((err = mp_to_unsigned_bin(tmp, out+(x-mp_unsigned_bin_size(tmp)))) != CRYPT_OK) … in rsa_exptmod()
|
/external/dropbear/libtomcrypt/src/pk/katja/ |
D | katja_exptmod.c | 100 …if ((err = mp_to_unsigned_bin(tmp, out+(x-mp_unsigned_bin_size(tmp)))) != CRYPT_OK) … in katja_exptmod()
|
/external/wpa_supplicant/ |
D | bignum.c | 88 if (mp_to_unsigned_bin((mp_int *) n, buf) != MP_OKAY) { in bignum_get_unsigned_bin()
|
D | crypto_libtomcrypt.c | 26 #define mp_to_unsigned_bin(a, b) ltc_mp.unsigned_write(a, b) macro 721 if (mp_to_unsigned_bin(r, result) != CRYPT_OK) in crypto_mod_exp()
|
/external/dropbear/libtomcrypt/src/math/fp/ |
D | ltc_ecc_fp_mulmod.c | 842 if ((err = mp_to_unsigned_bin(tk, kb)) != CRYPT_OK) { in accel_fp_mul() 1008 if ((err = mp_to_unsigned_bin(tka, kb[0])) != CRYPT_OK) { in accel_fp_mul2add() 1030 if ((err = mp_to_unsigned_bin(tkb, kb[1])) != CRYPT_OK) { in accel_fp_mul2add()
|
/external/dropbear/libtomcrypt/src/headers/ |
D | tomcrypt_math.h | 467 #define mp_to_unsigned_bin(a, b) ltc_mp.unsigned_write(a, b) macro
|
/external/dropbear/libtomcrypt/src/math/ |
D | ltm_desc.c | 195 return mpi_to_ltc_error(mp_to_unsigned_bin(a, b)); in unsigned_write()
|
/external/dropbear/libtommath/demo/ |
D | demo.c | 506 mp_to_unsigned_bin(&c, (unsigned char *) cmd); in main()
|