Searched refs:mp_read_unsigned_bin (Results 1 - 25 of 41) sorted by relevance

12

/external/dropbear/libtomcrypt/src/pk/pkcs1/
H A Dpkcs_1_os2ip.c28 return mp_read_unsigned_bin(n, in, inlen);
/external/dropbear/libtommath/
H A Dbn_mp_read_signed_bin.c24 if ((res = mp_read_unsigned_bin (a, b + 1, c - 1)) != MP_OKAY) {
H A Dbn_mp_read_unsigned_bin.c19 int mp_read_unsigned_bin (mp_int * a, const unsigned char *b, int c) function
H A Dbn_mp_prime_random_ex.c90 if ((err = mp_read_unsigned_bin(a, tmp, bsize)) != MP_OKAY) { goto error; }
/external/dropbear/libtomcrypt/src/pk/asn1/der/integer/
H A Dder_decode_integer.c59 if ((err = mp_read_unsigned_bin(num, (unsigned char *)in + x, z)) != CRYPT_OK) {
83 if ((err = mp_read_unsigned_bin(num, (unsigned char *)in + x, y)) != CRYPT_OK) {
/external/dropbear/
H A Dbignum.c57 if (mp_read_unsigned_bin(mp, (unsigned char*)bytes, len) != MP_OKAY) {
/external/dropbear/libtomcrypt/src/math/
H A Drand_prime.c63 if ((err = mp_read_unsigned_bin(N, buf, len)) != CRYPT_OK) {
/external/dropbear/libtomcrypt/src/pk/ecc/
H A Decc_ansi_x963_import.c60 if ((err = mp_read_unsigned_bin(key->pubkey.x, (unsigned char *)in+1, (inlen-1)>>1)) != CRYPT_OK) {
64 if ((err = mp_read_unsigned_bin(key->pubkey.y, (unsigned char *)in+1+((inlen-1)>>1), (inlen-1)>>1)) != CRYPT_OK) {
H A Decc_sign_hash.c70 if ((err = mp_read_unsigned_bin(e, (unsigned char *)in, (int)inlen)) != CRYPT_OK) { goto errnokey; }
H A Decc_make_key.c99 if ((err = mp_read_unsigned_bin(key->k, (unsigned char *)buf, keysize)) != CRYPT_OK) { goto errkey; }
H A Decc_verify_hash.c103 if ((err = mp_read_unsigned_bin(e, (unsigned char *)hash, (int)hashlen)) != CRYPT_OK) { goto error; }
/external/dropbear/libtomcrypt/src/pk/dsa/
H A Ddsa_make_key.c79 if ((err = mp_read_unsigned_bin(tmp2, buf, modulus_size - group_size)) != CRYPT_OK) { goto error; }
112 if ((err = mp_read_unsigned_bin(key->x, buf, group_size)) != CRYPT_OK) { goto error; }
H A Ddsa_sign_hash.c74 if ((err = mp_read_unsigned_bin(k, buf, key->qord)) != CRYPT_OK) { goto error; }
93 if ((err = mp_read_unsigned_bin(tmp, (unsigned char *)in, inlen)) != CRYPT_OK) { goto error; }
H A Ddsa_encrypt_key.c86 if ((err = mp_read_unsigned_bin(g_priv, expt, x)) != CRYPT_OK) {
H A Ddsa_verify_hash.c61 if ((err = mp_read_unsigned_bin(u1, (unsigned char *)hash, hashlen)) != CRYPT_OK) { goto error; }
/external/dropbear/libtomcrypt/src/pk/rsa/
H A Drsa_exptmod.c55 if ((err = mp_read_unsigned_bin(tmp, (unsigned char *)in, (int)inlen)) != CRYPT_OK) { goto error; }
/external/dropbear/libtomcrypt/testprof/
H A Decc_test.c65 DO(mp_read_unsigned_bin(rA, buf, sizes[x]));
67 DO(mp_read_unsigned_bin(rB, buf, sizes[x]));
77 DO(mp_read_unsigned_bin(kA, buf, sizes[x]));
79 DO(mp_read_unsigned_bin(kB, buf, sizes[x]));
/external/dropbear/libtomcrypt/src/pk/katja/
H A Dkatja_exptmod.c55 if ((err = mp_read_unsigned_bin(tmp, (unsigned char *)in, (int)inlen)) != CRYPT_OK) { goto error; }
/external/wpa_supplicant_6/wpa_supplicant/src/tls/
H A Dbignum.c107 if (mp_read_unsigned_bin((mp_int *) n, (u8 *) buf, len) != MP_OKAY) {
/external/wpa_supplicant_8/hostapd/src/tls/
H A Dbignum.c101 if (mp_read_unsigned_bin((mp_int *) n, (u8 *) buf, len) != MP_OKAY) {
/external/wpa_supplicant_8/src/tls/
H A Dbignum.c101 if (mp_read_unsigned_bin((mp_int *) n, (u8 *) buf, len) != MP_OKAY) {
/external/wpa_supplicant_8/wpa_supplicant/src/tls/
H A Dbignum.c101 if (mp_read_unsigned_bin((mp_int *) n, (u8 *) buf, len) != MP_OKAY) {
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/
H A Dcrypto_libtomcrypt.c27 #define mp_read_unsigned_bin(a, b, c) ltc_mp.unsigned_read(a, b, c) macro
712 if (mp_read_unsigned_bin(b, (u8 *) base, base_len) != CRYPT_OK ||
713 mp_read_unsigned_bin(p, (u8 *) power, power_len) != CRYPT_OK ||
714 mp_read_unsigned_bin(m, (u8 *) modulus, modulus_len) != CRYPT_OK)
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Dcrypto_libtomcrypt.c20 #define mp_read_unsigned_bin(a, b, c) ltc_mp.unsigned_read(a, b, c) macro
706 if (mp_read_unsigned_bin(b, (u8 *) base, base_len) != CRYPT_OK ||
707 mp_read_unsigned_bin(p, (u8 *) power, power_len) != CRYPT_OK ||
708 mp_read_unsigned_bin(m, (u8 *) modulus, modulus_len) != CRYPT_OK)
/external/wpa_supplicant_8/src/crypto/
H A Dcrypto_libtomcrypt.c20 #define mp_read_unsigned_bin(a, b, c) ltc_mp.unsigned_read(a, b, c) macro
706 if (mp_read_unsigned_bin(b, (u8 *) base, base_len) != CRYPT_OK ||
707 mp_read_unsigned_bin(p, (u8 *) power, power_len) != CRYPT_OK ||
708 mp_read_unsigned_bin(m, (u8 *) modulus, modulus_len) != CRYPT_OK)

Completed in 200 milliseconds

12