/external/dropbear/libtommath/ |
bn_mp_to_signed_bin.c | 23 if ((res = mp_to_unsigned_bin (a, b + 1)) != MP_OKAY) {
|
bn_mp_to_unsigned_bin_n.c | 25 return mp_to_unsigned_bin(a, b);
|
bn_mp_to_unsigned_bin.c | 19 int mp_to_unsigned_bin (mp_int * a, unsigned char *b) function
|
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/ecc/ |
ecc_ansi_x963_export.c | 56 mp_to_unsigned_bin(key->pubkey.x, buf + (numlen - mp_unsigned_bin_size(key->pubkey.x))); 61 mp_to_unsigned_bin(key->pubkey.y, buf + (numlen - mp_unsigned_bin_size(key->pubkey.y)));
|
ecc_shared_secret.c | 81 if ((err = mp_to_unsigned_bin(result->x, out + (x - mp_unsigned_bin_size(result->x)))) != CRYPT_OK) { goto done; }
|
ltc_ecc_mul2add.c | 79 mp_to_unsigned_bin(kA, (len - lenA) + tA); 82 mp_to_unsigned_bin(kB, (len - lenB) + tB);
|
/external/dropbear/libtomcrypt/src/pk/pkcs1/ |
pkcs_1_i2osp.c | 43 return mp_to_unsigned_bin(n, out+(modulus_len-size));
|
/external/dropbear/libtomcrypt/src/pk/asn1/der/integer/ |
der_encode_integer.c | 95 if ((err = mp_to_unsigned_bin(num, out)) != CRYPT_OK) { 114 if ((err = mp_to_unsigned_bin(tmp, out)) != CRYPT_OK) {
|
/external/dropbear/libtomcrypt/src/pk/dsa/ |
dsa_shared_secret.c | 59 if ((err = mp_to_unsigned_bin(res, out + (x - mp_unsigned_bin_size(res)))) != CRYPT_OK) { goto done; }
|
/external/dropbear/libtomcrypt/testprof/ |
katja_test.c | 29 mp_to_unsigned_bin(key.N, tmp); 37 mp_to_unsigned_bin(key.p, tmp); 45 mp_to_unsigned_bin(key.q, tmp);
|
rsa_test.c | 151 mp_to_unsigned_bin(key.N, tmp); 159 mp_to_unsigned_bin(key.p, tmp); 167 mp_to_unsigned_bin(key.q, tmp);
|
/external/dropbear/ |
dss.c | 272 if (mp_to_unsigned_bin(mp, ret) != MP_OKAY) { 393 if (mp_to_unsigned_bin(&dss_r, buf_getwriteptr(buf, writelen)) 406 if (mp_to_unsigned_bin(&dss_s, buf_getwriteptr(buf, writelen))
|
buffer.c | 301 if (mp_to_unsigned_bin(mp, buf_getwriteptr(buf, len-pad)) != MP_OKAY) {
|
rsa.c | 353 if (mp_to_unsigned_bin(&rsa_s, buf_getwriteptr(buf, ssize)) != MP_OKAY) {
|
/external/dropbear/libtomcrypt/src/pk/katja/ |
katja_exptmod.c | 100 if ((err = mp_to_unsigned_bin(tmp, out+(x-mp_unsigned_bin_size(tmp)))) != CRYPT_OK) { goto error; }
|
/external/dropbear/libtomcrypt/src/pk/rsa/ |
rsa_exptmod.c | 100 if ((err = mp_to_unsigned_bin(tmp, out+(x-mp_unsigned_bin_size(tmp)))) != CRYPT_OK) { goto error; }
|
/external/dropbear/libtommath/mtest/ |
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))
|
/external/wpa_supplicant/ |
bignum.c | 88 if (mp_to_unsigned_bin((mp_int *) n, buf) != MP_OKAY) {
|
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)
|
/external/wpa_supplicant_6/wpa_supplicant/src/tls/ |
bignum.c | 88 if (mp_to_unsigned_bin((mp_int *) n, buf) != MP_OKAY) {
|
/external/wpa_supplicant_8/src/tls/ |
bignum.c | 88 if (mp_to_unsigned_bin((mp_int *) n, buf) != MP_OKAY) {
|
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/ |
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)
|
/external/wpa_supplicant_8/src/crypto/ |
crypto_libtomcrypt.c | 25 #define mp_to_unsigned_bin(a, b) ltc_mp.unsigned_write(a, b) macro 721 if (mp_to_unsigned_bin(r, result) != CRYPT_OK)
|
/external/dropbear/libtomcrypt/src/math/ |
ltm_desc.c | 195 return mpi_to_ltc_error(mp_to_unsigned_bin(a, b));
|