/external/boringssl/src/crypto/rsa/ |
blinding.c | 124 BIGNUM *A; /* The base blinding factor, Montgomery-encoded. */ 125 BIGNUM *Ai; /* The inverse of the blinding factor, Montgomery-encoded. */ 129 static int bn_blinding_create_param(BN_BLINDING *b, const BIGNUM *e, 170 static int bn_blinding_update(BN_BLINDING *b, const BIGNUM *e, 197 int BN_BLINDING_convert(BIGNUM *n, BN_BLINDING *b, const BIGNUM *e, 210 int BN_BLINDING_invert(BIGNUM *n, const BN_BLINDING *b, BN_MONT_CTX *mont, 218 static int bn_blinding_create_param(BN_BLINDING *b, const BIGNUM *e,
|
rsa.c | 172 void RSA_get0_key(const RSA *rsa, const BIGNUM **out_n, const BIGNUM **out_e, 173 const BIGNUM **out_d) { 185 void RSA_get0_factors(const RSA *rsa, const BIGNUM **out_p, 186 const BIGNUM **out_q) { 195 void RSA_get0_crt_params(const RSA *rsa, const BIGNUM **out_dmp1, 196 const BIGNUM **out_dmq1, const BIGNUM **out_iqmp) { 208 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e_value, BN_GENCB *cb) { 217 BIGNUM *e_value, BN_GENCB *cb) [all...] |
/system/keymaster/ |
openssl_utils.cpp | 65 void convert_bn_to_blob(BIGNUM* bn, keymaster_blob_t* blob) { 134 UniquePtr<BIGNUM, BIGNUM_Delete> order(BN_new());
|
openssl_utils.h | 69 typedef OpenSslObjectDeleter<BIGNUM, BN_free> BIGNUM_Delete; 70 typedef UniquePtr<BIGNUM, BIGNUM_Delete> BIGNUM_Ptr;
|
/external/boringssl/src/crypto/bn/ |
random.c | 121 int BN_rand(BIGNUM *rnd, int bits, int top, int bottom) { 194 int BN_pseudo_rand(BIGNUM *rnd, int bits, int top, int bottom) { 198 int BN_rand_range_ex(BIGNUM *r, BN_ULONG min_inclusive, 199 const BIGNUM *max_exclusive) { 256 int BN_rand_range(BIGNUM *r, const BIGNUM *range) { 260 int BN_pseudo_rand_range(BIGNUM *r, const BIGNUM *range) { 264 int BN_generate_dsa_nonce(BIGNUM *out, const BIGNUM *range, const BIGNUM *priv [all...] |
kronecker.c | 62 int BN_kronecker(const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) { 65 BIGNUM *A, *B, *tmp; 67 * For any odd BIGNUM n,
|
sqrt.c | 60 BIGNUM *BN_mod_sqrt(BIGNUM *in, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx) { 65 BIGNUM *ret = in; 68 BIGNUM *A, *b, *q, *t, *x, *y; 431 int BN_sqrt(BIGNUM *out_sqrt, const BIGNUM *in, BN_CTX *ctx) { 432 BIGNUM *estimate, *tmp, *delta, *last_delta, *tmp2;
|
/external/boringssl/src/crypto/ec/ |
ec.c | 294 BIGNUM *order = BN_new(); 366 EC_GROUP *EC_GROUP_new_curve_GFp(const BIGNUM *p, const BIGNUM *a, 367 const BIGNUM *b, BN_CTX *ctx) { 385 const BIGNUM *order, const BIGNUM *cofactor) { 408 BIGNUM *p = NULL, *a = NULL, *b = NULL, *x = NULL, *y = NULL; 568 const BIGNUM *EC_GROUP_get0_order(const EC_GROUP *group) { 573 int EC_GROUP_get_order(const EC_GROUP *group, BIGNUM *order, BN_CTX *ctx) { 580 int EC_GROUP_get_cofactor(const EC_GROUP *group, BIGNUM *cofactor [all...] |
p256-x86_64.c | 206 const BIGNUM *in) { 218 const EC_POINT *p, const BIGNUM *p_scalar, 248 BIGNUM *mod = BN_CTX_get(ctx); 367 const EC_GROUP *group, EC_POINT *r, const BIGNUM *g_scalar, 368 const EC_POINT *p_, const BIGNUM *p_scalar, BN_CTX *ctx) { 394 BIGNUM *tmp_scalar = BN_CTX_get(ctx); 498 BIGNUM *x, BIGNUM *y, BN_CTX *ctx) {
|
/external/boringssl/src/crypto/asn1/ |
a_enum.c | 139 ASN1_ENUMERATED *BN_to_ASN1_ENUMERATED(BIGNUM *bn, ASN1_ENUMERATED *ai) 175 BIGNUM *ASN1_ENUMERATED_to_BN(ASN1_ENUMERATED *ai, BIGNUM *bn) 177 BIGNUM *ret;
|
/external/boringssl/src/include/openssl/ |
dsa.h | 96 OPENSSL_EXPORT void DSA_get0_key(const DSA *dsa, const BIGNUM **out_pub_key, 97 const BIGNUM **out_priv_key); 101 OPENSSL_EXPORT void DSA_get0_pqg(const DSA *dsa, const BIGNUM **out_p, 102 const BIGNUM **out_q, const BIGNUM **out_g); 147 BIGNUM *r, *s; 189 * encoded signatures as opposed to raw |BIGNUM|s. If you don't know what 282 BIGNUM **out_kinv, BIGNUM **out_r); 392 BIGNUM *p [all...] |
/external/openssh/ |
opacket.c | 79 ssh_packet_put_bignum(struct ssh *ssh, BIGNUM * value) 90 ssh_packet_put_bignum2(struct ssh *ssh, BIGNUM * value) 155 ssh_packet_get_bignum(struct ssh *ssh, BIGNUM * value) 166 ssh_packet_get_bignum2(struct ssh *ssh, BIGNUM * value)
|
sshbuf-getput-crypto.c | 35 sshbuf_get_bignum2(struct sshbuf *buf, BIGNUM *v) 49 sshbuf_get_bignum1(struct sshbuf *buf, BIGNUM *v) 147 sshbuf_put_bignum2(struct sshbuf *buf, const BIGNUM *v) 169 sshbuf_put_bignum1(struct sshbuf *buf, const BIGNUM *v)
|
auth-rsa.c | 73 BIGNUM * 76 BIGNUM *challenge; 94 auth_rsa_verify_response(Key *key, BIGNUM *challenge, u_char response[16]) 139 BIGNUM *challenge, *encrypted_challenge; 172 const BIGNUM *client_n, Key **rkey) 284 auth_rsa_key_allowed(struct passwd *pw, BIGNUM *client_n, Key **rkey) 311 auth_rsa(Authctxt *authctxt, BIGNUM *client_n)
|
ssherr.c | 37 return "bignum is negative"; 41 return "bignum is too large";
|
/system/core/libcrypto_utils/ |
android_pubkey.c | 113 static bool android_pubkey_encode_bignum(const BIGNUM* num, uint8_t* buffer) { 126 BIGNUM* r32 = BN_new(); 127 BIGNUM* n0inv = BN_new(); 128 BIGNUM* rr = BN_new();
|
/external/boringssl/src/ssl/ |
ssl_ecdh.c | 35 BIGNUM *private_key = (BIGNUM *)ctx->data; 41 BIGNUM *private_key = BN_new(); 88 BIGNUM *private_key = (BIGNUM *)ctx->data; 113 BIGNUM *x = BN_CTX_get(bn_ctx); 250 BIGNUM *peer_point = BN_bin2bn(peer_key, peer_key_len, NULL);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_kqueue.py | 73 bignum = sys.maxsize * 2 + 1
74 ev = select.kevent(bignum, 1, 2, 3, sys.maxsize, bignum)
75 self.assertEqual(ev.ident, bignum)
80 self.assertEqual(ev.udata, bignum)
|
/external/boringssl/src/crypto/dsa/ |
dsa.c | 133 void DSA_get0_key(const DSA *dsa, const BIGNUM **out_pub_key, 134 const BIGNUM **out_priv_key) { 143 void DSA_get0_pqg(const DSA *dsa, const BIGNUM **out_p, const BIGNUM **out_q, 144 const BIGNUM **out_g) { 163 BIGNUM *r0, *W, *X, *c, *test; 164 BIGNUM *g = NULL, *q = NULL, *p = NULL; 436 BIGNUM *pub_key = NULL, *priv_key = NULL; 508 BIGNUM *kinv = NULL, *r = NULL, *s = NULL; 509 BIGNUM m [all...] |
/external/v8/tools/ |
generate-ten-powers.scm | 36 v::bignum 42 ;;----------------bignum shifts ----------------------------------------------- 43 (define (bit-lshbx::bignum x::bignum by::bint) 46 (*bx x (exptbx #z2 (fixnum->bignum by))))) 48 (define (bit-rshbx::bignum x::bignum by::bint) 51 (/bx x (exptbx #z2 (fixnum->bignum by)))))
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/aarch64/ |
movi.s | 113 movi v0.2d, bignum 115 .set bignum, 0xffffffffffffffff
|
/device/linaro/bootloader/arm-trusted-firmware/common/auth/polarssl/ |
polarssl_config.h | 76 /* MPI / BIGNUM options */
|
/external/boringssl/src/tool/ |
genrsa.cc | 54 bssl::UniquePtr<BIGNUM> e(BN_new());
|
/external/libchrome/crypto/ |
scoped_openssl_types.h | 44 using ScopedBIGNUM = ScopedOpenSSL<BIGNUM, BN_free>;
|
/toolchain/binutils/binutils-2.25/gas/ |
dep-in.sed | 32 s! bignum\.h!!g
|