/external/boringssl/src/crypto/ec/ |
ec_test.cc | 144 bssl::UniquePtr<BIGNUM> x(BN_new()); 145 bssl::UniquePtr<BIGNUM> y(BN_new()); 234 bssl::UniquePtr<BIGNUM> p(BN_bin2bn(kP, sizeof(kP), nullptr)); 236 bssl::UniquePtr<BIGNUM> a(BN_bin2bn(kA, sizeof(kA), nullptr)); 238 bssl::UniquePtr<BIGNUM> b(BN_bin2bn(kB, sizeof(kB), nullptr)); 240 bssl::UniquePtr<BIGNUM> gx(BN_bin2bn(kX, sizeof(kX), nullptr)); 242 bssl::UniquePtr<BIGNUM> gy(BN_bin2bn(kY, sizeof(kY), nullptr)); 244 bssl::UniquePtr<BIGNUM> order(BN_bin2bn(kOrder, sizeof(kOrder), nullptr)); 265 bssl::UniquePtr<BIGNUM> x(BN_new()), y(BN_new()); 294 bssl::UniquePtr<BIGNUM> x(BN_new()) [all...] |
oct.c | 84 BIGNUM *x, *y; 178 BIGNUM *x, *y; 284 EC_POINT *point, const BIGNUM *x, 292 BIGNUM *tmp1, *tmp2, *y; 409 EC_POINT *point, const BIGNUM *x,
|
ec_key.c | 254 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key) { 258 int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *priv_key) { 348 int EC_KEY_set_public_key_affine_coordinates(EC_KEY *key, BIGNUM *x, 349 BIGNUM *y) { 351 BIGNUM *tx, *ty; 410 BIGNUM *priv_key = NULL; 427 const BIGNUM *order = EC_GROUP_get0_order(eckey->group);
|
/external/boringssl/src/crypto/dh/ |
params.c | 169 BIGNUM p, q, g; 220 BIGNUM *BN_get_rfc3526_prime_1536(BIGNUM *ret) { 236 static const BIGNUM kPrime1536BN = STATIC_BIGNUM(kPrime1536Data); 238 BIGNUM *alloc = NULL;
|
check.c | 62 int DH_check_pub_key(const DH *dh, const BIGNUM *pub_key, int *ret) { 74 BIGNUM *tmp = BN_CTX_get(ctx); 124 BIGNUM *t1 = NULL, *t2 = NULL;
|
dh_asn1.c | 68 static int parse_integer(CBS *cbs, BIGNUM **out) { 77 static int marshal_integer(CBB *cbb, BIGNUM *bn) {
|
/external/openssh/ |
sshbuf.h | 33 #define SSHBUF_MAX_BIGNUM (16384 / 8) /* Max bignum *bytes* */ 215 int sshbuf_get_bignum2(struct sshbuf *buf, BIGNUM *v); 216 int sshbuf_get_bignum1(struct sshbuf *buf, BIGNUM *v); 217 int sshbuf_put_bignum2(struct sshbuf *buf, const BIGNUM *v); 218 int sshbuf_put_bignum1(struct sshbuf *buf, const BIGNUM *v);
|
authfd.h | 40 int ssh_decrypt_challenge(int sock, struct sshkey* key, BIGNUM *challenge,
|
/external/v8/src/ |
strtod.cc | 10 #include "src/bignum.h" 363 // Make sure that the Bignum will be able to hold all our numbers. 364 // Our Bignum implementation has a separate field for exponents. Shifts will 367 DCHECK(((kMaxDecimalPower + 1) * 333 / 100) < Bignum::kMaxSignificantBits); 368 Bignum input; 369 Bignum boundary; 382 int comparison = Bignum::Compare(input, boundary);
|
/external/boringssl/src/crypto/rsa/ |
rsa_impl.c | 116 BIGNUM *f, *result; 428 static int mod_exp(BIGNUM *r0, const BIGNUM *I, RSA *rsa, BN_CTX *ctx); 438 BIGNUM *f, *result; 531 BIGNUM *f, *result; 609 BIGNUM *vrfy = BN_CTX_get(ctx); 641 static int mod_exp(BIGNUM *r0, const BIGNUM *I, RSA *rsa, BN_CTX *ctx) { 653 BIGNUM *r1, *m1, *vrfy; 742 /* c will already point to a BIGNUM with the correct flags. * [all...] |
/external/tpm2/ |
RSAKeySieve.c | 230 BIGNUM *bnW, 236 BIGNUM *bnWm1; 237 BIGNUM *bnM; 238 BIGNUM *bnB; 239 BIGNUM *bnZ; 454 BIGNUM *bnN, // IN/OUT: number to sieve 563 BIGNUM *bnP, // IN/OUT: The candidate to filter 689 BIGNUM *bnP; 801 BIGNUM *bnP; 802 BIGNUM *bnQ [all...] |
/external/boringssl/src/crypto/bn/ |
montgomery_inv.c | 34 uint64_t bn_mont_n0(const BIGNUM *n) { 165 int bn_mod_exp_base_2_vartime(BIGNUM *r, unsigned p, const BIGNUM *n) {
|
mul.c | 564 int BN_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) { 567 BIGNUM *rr; 569 BIGNUM *t = NULL; 778 int BN_mul_word(BIGNUM *bn, BN_ULONG w) { 802 int BN_sqr(BIGNUM *r, const BIGNUM *a, BN_CTX *ctx) { 805 BIGNUM *tmp, *rr;
|
/external/boringssl/src/crypto/evp/ |
p_dsa_asn1.c | 211 static int dup_bn_into(BIGNUM **out, BIGNUM *src) { 212 BIGNUM *a;
|
print.c | 67 static int bn_print(BIO *bp, const char *number, const BIGNUM *num, 123 static void update_buflen(const BIGNUM *b, size_t *pbuflen) { 254 const BIGNUM *priv_key, *pub_key; 329 BIGNUM *order = NULL; 333 const BIGNUM *priv_key;
|
/external/ipsec-tools/src/racoon/ |
crypto_openssl.h | 221 RSA *bignum_pubkey2rsa(BIGNUM *in); 226 extern int eay_v2bn __P((BIGNUM **, vchar_t *)); 227 extern int eay_bn2v __P((vchar_t **, BIGNUM *));
|
/hardware/interfaces/keymaster/3.0/vts/functional/ |
attestation_record.cpp | 167 BIGNUM* construct_uint_max() { 168 BIGNUM* value = BN_new(); 175 uint64_t BignumToUint64(BIGNUM* num) {
|
key_param_output.cpp | 107 case TagType::BIGNUM: 108 os << " Bignum: ";
|
/device/linaro/bootloader/arm-trusted-firmware/common/auth/polarssl/ |
polarssl.mk | 46 bignum.c \
|
/external/wpa_supplicant_8/src/eap_common/ |
eap_pwd_common.c | 94 BIGNUM *x_candidate = NULL, *rnd = NULL, *cofactor = NULL; 307 int compute_keys(EAP_PWD_group *grp, BN_CTX *bnctx, const BIGNUM *k, 308 const BIGNUM *peer_scalar, const BIGNUM *server_scalar,
|
/device/linaro/bootloader/arm-trusted-firmware/tools/cert_create/src/ |
cert.c | 49 int rand_serial(BIGNUM *b, ASN1_INTEGER *ai) 51 BIGNUM *btmp;
|
/external/boringssl/src/crypto/ecdh/ |
ecdh.c | 84 const BIGNUM *const priv = EC_KEY_get0_private_key(priv_key); 112 BIGNUM *x = BN_CTX_get(ctx);
|
/external/llvm/include/llvm/MC/MCParser/ |
MCAsmLexer.h | 37 BigNum, // larger than 64 bits 117 assert((Kind == Integer || Kind == BigNum) &&
|
/external/wpa_supplicant_8/src/tls/ |
pkcs8.c | 13 #include "bignum.h" 23 struct bignum *zero;
|
/libcore/ojluni/src/main/java/sun/security/util/ |
ObjectIdentifier.java | 167 BigInteger bignum = new BigInteger(comp); local 169 checkFirstComponent(bignum); 170 first = bignum.intValue(); 173 checkSecondComponent(first, bignum); 174 bignum = bignum.add(BigInteger.valueOf(40*first)); 176 checkOtherComponent(count, bignum); 178 pos += pack7Oid(bignum, tmp, pos);
|