/external/boringssl/src/crypto/ec/ |
internal.h | 92 const BIGNUM *b, BN_CTX *); 96 BIGNUM *x, BIGNUM *y, BN_CTX *); 104 const EC_POINT *p, const BIGNUM *p_scalar, BN_CTX *ctx); 113 BN_CTX *ctx); 121 const BIGNUM *b, BN_CTX *); 122 int (*field_sqr)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, BN_CTX *); 125 BN_CTX *); /* e.g. to Montgomery */ 127 BN_CTX *); /* e.g. from Montgomery */ 128 int (*field_set_to_one)(const EC_GROUP *, BIGNUM *r, BN_CTX *); 178 const EC_POINT *p, const BIGNUM *p_scalar, BN_CTX *ctx) [all...] |
ec_montgomery.c | 137 const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) { 138 BN_CTX *new_ctx = NULL; 190 const BIGNUM *b, BN_CTX *ctx) { 200 BN_CTX *ctx) { 210 BN_CTX *ctx) { 220 BN_CTX *ctx) { 230 BN_CTX *ctx) { 244 BN_CTX *ctx) {
|
oct.c | 79 uint8_t *buf, size_t len, BN_CTX *ctx) { 81 BN_CTX *new_ctx = NULL; 173 BN_CTX *ctx) { 176 BN_CTX *new_ctx = NULL; 253 const uint8_t *buf, size_t len, BN_CTX *ctx) { 263 size_t len, BN_CTX *ctx) { 273 int y_bit, BN_CTX *ctx) { 274 BN_CTX *new_ctx = NULL; 410 int y_bit, BN_CTX *ctx) {
|
simple.c | 124 BN_CTX *ctx) { 126 BN_CTX *new_ctx = NULL; 190 BIGNUM *b, BN_CTX *ctx) { 192 BN_CTX *new_ctx = NULL; 233 int ec_GFp_simple_group_check_discriminant(const EC_GROUP *group, BN_CTX *ctx) { 237 BN_CTX *new_ctx = NULL; 345 const BIGNUM *z, BN_CTX *ctx) { 346 BN_CTX *new_ctx = NULL; 405 BIGNUM *z, BN_CTX *ctx) { 406 BN_CTX *new_ctx = NULL [all...] |
ec.c | 281 BN_CTX *bn_ctx = BN_CTX_new(); local 284 if (bn_ctx == NULL || 301 !BN_MONT_CTX_set(mont_ctx, order, bn_ctx)) { 318 BN_CTX_free(bn_ctx); 354 const BIGNUM *b, BN_CTX *ctx) { 420 BN_CTX *ctx = BN_CTX_new(); 606 int EC_GROUP_cmp(const EC_GROUP *a, const EC_GROUP *b, BN_CTX *ignored) { 621 int EC_GROUP_get_order(const EC_GROUP *group, BIGNUM *order, BN_CTX *ctx) { 629 BN_CTX *ctx) [all...] |
/external/boringssl/src/include/openssl/ |
ec.h | 117 BN_CTX *ignored); 130 BIGNUM *cofactor, BN_CTX *ctx); 139 BN_CTX *ctx); 184 const EC_POINT *point, BN_CTX *ctx); 189 const EC_POINT *b, BN_CTX *ctx); 194 BN_CTX *ctx); 200 EC_POINT *points[], BN_CTX *ctx); 211 BN_CTX *ctx); 221 BN_CTX *ctx); 230 uint8_t *buf, size_t len, BN_CTX *ctx) [all...] |
bn.h | 339 * take a |BN_CTX| parameter, which contains a pool of |BIGNUMs|. The |ctx| 340 * argument to a public function may be NULL, in which case a local |BN_CTX| 351 /* BN_CTX_new returns a new, empty BN_CTX or NULL on allocation failure. */ 352 OPENSSL_EXPORT BN_CTX *BN_CTX_new(void); 356 OPENSSL_EXPORT void BN_CTX_free(BN_CTX *ctx); 360 OPENSSL_EXPORT void BN_CTX_start(BN_CTX *ctx); 365 OPENSSL_EXPORT BIGNUM *BN_CTX_get(BN_CTX *ctx); 369 OPENSSL_EXPORT void BN_CTX_end(BN_CTX *ctx); 402 BN_CTX *ctx); 411 OPENSSL_EXPORT int BN_sqr(BIGNUM *r, const BIGNUM *a, BN_CTX *ctx) [all...] |
ecdsa.h | 131 OPENSSL_EXPORT int ECDSA_sign_setup(EC_KEY *eckey, BN_CTX *ctx, BIGNUM **kinv,
|
rsa.h | 433 OPENSSL_EXPORT int RSA_blinding_on(RSA *rsa, BN_CTX *ctx); 525 BN_CTX *ctx); /* Can be null */ 527 const BIGNUM *m, BN_CTX *ctx,
|
/external/boringssl/src/crypto/rsa/ |
internal.h | 99 int BN_BLINDING_update(BN_BLINDING *b, BN_CTX *ctx); 100 int BN_BLINDING_convert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx); 101 int BN_BLINDING_invert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx); 102 int BN_BLINDING_convert_ex(BIGNUM *n, BIGNUM *r, BN_BLINDING *b, BN_CTX *); 103 int BN_BLINDING_invert_ex(BIGNUM *n, const BIGNUM *r, BN_BLINDING *b, BN_CTX *); 107 BN_BLINDING *b, const BIGNUM *e, BIGNUM *m, BN_CTX *ctx, 109 const BIGNUM *m, BN_CTX *ctx, const BN_MONT_CTX *mont), 111 BN_BLINDING *rsa_setup_blinding(RSA *rsa, BN_CTX *in_ctx);
|
blinding.c | 134 const BIGNUM *m, BN_CTX *ctx, const BN_MONT_CTX *mont); 191 int BN_BLINDING_update(BN_BLINDING *b, BN_CTX *ctx) { 227 int BN_BLINDING_convert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx) { 231 int BN_BLINDING_convert_ex(BIGNUM *n, BIGNUM *r, BN_BLINDING *b, BN_CTX *ctx) { 259 int BN_BLINDING_invert(BIGNUM *n, BN_BLINDING *b, BN_CTX *ctx) { 264 BN_CTX *ctx) { 287 BN_BLINDING *b, const BIGNUM *e, BIGNUM *m, BN_CTX *ctx, 289 const BIGNUM *m, BN_CTX *ctx, const BN_MONT_CTX *mont), 370 const BIGNUM *q, BN_CTX *ctx) { 402 BN_BLINDING *rsa_setup_blinding(RSA *rsa, BN_CTX *in_ctx) [all...] |
/external/boringssl/src/crypto/bn/ |
ctx.c | 107 /* BN_CTX */ 110 /* The opaque BN_CTX type */ 124 BN_CTX *BN_CTX_new(void) { 125 BN_CTX *ret = OPENSSL_malloc(sizeof(BN_CTX)); 140 void BN_CTX_free(BN_CTX *ctx) { 150 void BN_CTX_start(BN_CTX *ctx) { 161 BIGNUM *BN_CTX_get(BN_CTX *ctx) { 182 void BN_CTX_end(BN_CTX *ctx) {
|
prime.c | 333 const BIGNUM *a1_odd, int k, BN_CTX *ctx, BN_MONT_CTX *mont); 336 const BIGNUM *rem, BN_CTX *ctx); 338 const BIGNUM *rem, BN_CTX *ctx); 360 BN_CTX *ctx; 455 int checks, BN_CTX *ctx, int do_trial_division, 470 int BN_is_prime_ex(const BIGNUM *candidate, int checks, BN_CTX *ctx, BN_GENCB *cb) { 474 int BN_is_prime_fasttest_ex(const BIGNUM *a, int checks, BN_CTX *ctx_passed, 478 BN_CTX *ctx = NULL; 603 const BIGNUM *a1_odd, int k, BN_CTX *ctx, 721 const BIGNUM *rem, BN_CTX *ctx) [all...] |
div.c | 116 BN_CTX *ctx) { 383 int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx) { 396 BN_CTX *ctx) { 415 BN_CTX *ctx) { 436 BN_CTX *ctx) { 467 int BN_mod_sqr(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx) { 477 BN_CTX *ctx) { 545 int BN_mod_lshift1(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx) {
|
bn_test.cc | 103 static bool test_lshift(FILE *fp, BN_CTX *ctx, ScopedBIGNUM a); 105 static bool test_rshift(FILE *fp, BN_CTX *ctx); 106 static bool test_sqr(FILE *fp, BN_CTX *ctx); 108 static bool test_div(FILE *fp, BN_CTX *ctx); 112 static bool test_mont(FILE *fp, BN_CTX *ctx); 113 static bool test_mod(FILE *fp, BN_CTX *ctx); 114 static bool test_mod_mul(FILE *fp, BN_CTX *ctx); 115 static bool test_mod_exp(FILE *fp, BN_CTX *ctx); 116 static bool test_mod_exp_mont_consttime(FILE *fp, BN_CTX *ctx); 117 static bool test_exp(FILE *fp, BN_CTX *ctx) [all...] |
kronecker.c | 62 int BN_kronecker(const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) {
|
gcd.c | 184 int BN_gcd(BIGNUM *r, const BIGNUM *in_a, const BIGNUM *in_b, BN_CTX *ctx) { 228 BN_CTX *ctx); 231 const BIGNUM *n, BN_CTX *ctx) { 543 BN_CTX *ctx) { 552 BN_CTX *ctx) {
|
montgomery.c | 165 int BN_MONT_CTX_set(BN_MONT_CTX *mont, const BIGNUM *mod, BN_CTX *ctx) { 293 const BIGNUM *mod, BN_CTX *bn_ctx) { 312 if (!BN_MONT_CTX_set(ctx, mod, bn_ctx)) { 325 BN_CTX *ctx) { 496 BN_CTX *ctx) { 515 const BN_MONT_CTX *mont, BN_CTX *ctx) {
|
/external/wpa_supplicant_8/src/eap_common/ |
eap_pwd_common.h | 64 int compute_keys(EAP_PWD_group *grp, BN_CTX *bnctx, const BIGNUM *k,
|
/external/boringssl/src/crypto/ecdh/ |
ecdh.c | 87 BN_CTX *ctx = BN_CTX_new();
|
/system/keymaster/ |
openssl_utils.h | 57 DEFINE_OPENSSL_OBJECT_POINTER(BN_CTX)
|
/external/boringssl/src/crypto/ecdsa/ |
ecdsa.c | 145 BN_CTX *ctx; 233 static int ecdsa_sign_setup(EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp, 236 BN_CTX *ctx = NULL; 360 int ECDSA_sign_setup(EC_KEY *eckey, BN_CTX *ctx, BIGNUM **kinv, BIGNUM **rp) { 370 BN_CTX *ctx = NULL;
|
/external/boringssl/src/crypto/dh/ |
dh.c | 148 BN_CTX *ctx = NULL; 238 BN_CTX *ctx = NULL; 320 BN_CTX *ctx = NULL;
|
check.c | 102 BN_CTX *ctx = NULL;
|
/external/tpm2/ |
MathFunctions.c | 219 BN_CTX *context; 287 BN_CTX *context; 448 BN_CTX *context;
|