Searched refs:mp_to_unsigned_bin (Results 1 - 25 of 37) sorted by relevance

12

/external/dropbear/libtomcrypt/src/pk/pkcs1/
H A Dpkcs_1_i2osp.c43 return mp_to_unsigned_bin(n, out+(modulus_len-size));
/external/dropbear/libtommath/
H A Dbn_mp_to_signed_bin.c23 if ((res = mp_to_unsigned_bin (a, b + 1)) != MP_OKAY) {
H A Dbn_mp_to_unsigned_bin_n.c25 return mp_to_unsigned_bin(a, b);
H A Dbn_mp_to_unsigned_bin.c19 int mp_to_unsigned_bin (mp_int * a, unsigned char *b) function
H A Dtommath.h524 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/
H A Decc_ansi_x963_export.c56 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)));
H A Decc_shared_secret.c81 if ((err = mp_to_unsigned_bin(result->x, out + (x - mp_unsigned_bin_size(result->x)))) != CRYPT_OK) { goto done; }
H A Dltc_ecc_mul2add.c79 mp_to_unsigned_bin(kA, (len - lenA) + tA);
82 mp_to_unsigned_bin(kB, (len - lenB) + tB);
/external/dropbear/libtomcrypt/src/pk/dsa/
H A Ddsa_shared_secret.c59 if ((err = mp_to_unsigned_bin(res, out + (x - mp_unsigned_bin_size(res)))) != CRYPT_OK) { goto done; }
/external/dropbear/libtomcrypt/src/pk/asn1/der/integer/
H A Dder_encode_integer.c95 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/rsa/
H A Drsa_exptmod.c100 if ((err = mp_to_unsigned_bin(tmp, out+(x-mp_unsigned_bin_size(tmp)))) != CRYPT_OK) { goto error; }
/external/dropbear/libtomcrypt/testprof/
H A Dkatja_test.c29 mp_to_unsigned_bin(key.N, tmp);
37 mp_to_unsigned_bin(key.p, tmp);
45 mp_to_unsigned_bin(key.q, tmp);
/external/dropbear/
H A Ddss.c272 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))
H A Dbuffer.c301 if (mp_to_unsigned_bin(mp, buf_getwriteptr(buf, len-pad)) != MP_OKAY) {
/external/dropbear/libtomcrypt/src/pk/katja/
H A Dkatja_exptmod.c100 if ((err = mp_to_unsigned_bin(tmp, out+(x-mp_unsigned_bin_size(tmp)))) != CRYPT_OK) { goto error; }
/external/wpa_supplicant_6/wpa_supplicant/src/tls/
H A Dbignum.c88 if (mp_to_unsigned_bin((mp_int *) n, buf) != MP_OKAY) {
/external/wpa_supplicant_8/hostapd/src/tls/
H A Dbignum.c82 if (mp_to_unsigned_bin((mp_int *) n, buf) != MP_OKAY) {
/external/wpa_supplicant_8/src/tls/
H A Dbignum.c82 if (mp_to_unsigned_bin((mp_int *) n, buf) != MP_OKAY) {
/external/wpa_supplicant_8/wpa_supplicant/src/tls/
H A Dbignum.c82 if (mp_to_unsigned_bin((mp_int *) n, buf) != MP_OKAY) {
/external/dropbear/libtommath/mtest/
H A Dmpi.h197 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_6/wpa_supplicant/src/crypto/
H A Dcrypto_libtomcrypt.c26 #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/hostapd/src/crypto/
H A Dcrypto_libtomcrypt.c19 #define mp_to_unsigned_bin(a, b) ltc_mp.unsigned_write(a, b) macro
715 if (mp_to_unsigned_bin(r, result) != CRYPT_OK)
/external/wpa_supplicant_8/src/crypto/
H A Dcrypto_libtomcrypt.c19 #define mp_to_unsigned_bin(a, b) ltc_mp.unsigned_write(a, b) macro
715 if (mp_to_unsigned_bin(r, result) != CRYPT_OK)
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Dcrypto_libtomcrypt.c19 #define mp_to_unsigned_bin(a, b) ltc_mp.unsigned_write(a, b) macro
715 if (mp_to_unsigned_bin(r, result) != CRYPT_OK)
/external/dropbear/libtomcrypt/src/headers/
H A Dtomcrypt_math.h467 #define mp_to_unsigned_bin(a, b) ltc_mp.unsigned_write(a, b) macro

Completed in 186 milliseconds

12