/external/boringssl/src/crypto/fipsmodule/ec/ |
internal.h | 87 const BIGNUM *b, BN_CTX *); 89 BIGNUM *x, BIGNUM *y, BN_CTX *); 97 const EC_POINT *p, const BIGNUM *p_scalar, BN_CTX *ctx); 103 const BIGNUM *b, BN_CTX *); 104 int (*field_sqr)(const EC_GROUP *, BIGNUM *r, const BIGNUM *a, BN_CTX *); 107 BN_CTX *); /* e.g. to Montgomery */ 109 BN_CTX *); /* e.g. from Montgomery */ 156 const EC_POINT *p, const BIGNUM *p_scalar, BN_CTX *ctx); 163 const BIGNUM *b, BN_CTX *); 165 BIGNUM *b, BN_CTX *); [all...] |
simple.c | 121 BN_CTX *ctx) { 123 BN_CTX *new_ctx = NULL; 195 BIGNUM *b, BN_CTX *ctx) { 197 BN_CTX *new_ctx = NULL; 275 const BIGNUM *in, BN_CTX *ctx) { 292 const BIGNUM *z, BN_CTX *ctx) { 293 BN_CTX *new_ctx = NULL; 319 BIGNUM *z, BN_CTX *ctx) { 320 BN_CTX *new_ctx = NULL; 361 const BIGNUM *y, BN_CTX *ctx) [all...] |
ec_montgomery.c | 120 const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) { 121 BN_CTX *new_ctx = NULL; 161 const BIGNUM *b, BN_CTX *ctx) { 171 BN_CTX *ctx) { 181 BN_CTX *ctx) { 191 BN_CTX *ctx) { 203 BN_CTX *ctx) { 209 BN_CTX *new_ctx = NULL;
|
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) { 279 BN_CTX *new_ctx = NULL; 398 int y_bit, BN_CTX *ctx) {
|
ec.c | 295 BN_CTX *bn_ctx = BN_CTX_new(); local 298 if (bn_ctx == NULL || 314 !BN_MONT_CTX_set(mont_ctx, order, bn_ctx)) { 334 BN_CTX_free(bn_ctx); 369 const BIGNUM *b, BN_CTX *ctx) { 414 BN_CTX *ctx = BN_CTX_new(); 558 int EC_GROUP_cmp(const EC_GROUP *a, const EC_GROUP *b, BN_CTX *ignored) { 573 int EC_GROUP_get_order(const EC_GROUP *group, BIGNUM *order, BN_CTX *ctx) { 581 BN_CTX *ctx) [all...] |
/external/boringssl/src/include/openssl/ |
ec.h | 124 BN_CTX *ignored); 137 BIGNUM *cofactor, BN_CTX *ctx); 146 BN_CTX *ctx); 192 const EC_POINT *point, BN_CTX *ctx); 197 const EC_POINT *b, BN_CTX *ctx); 202 BN_CTX *ctx); 208 EC_POINT *points[], BN_CTX *ctx); 219 BN_CTX *ctx); 229 BN_CTX *ctx); 238 uint8_t *buf, size_t len, BN_CTX *ctx) [all...] |
bn.h | 333 * take a |BN_CTX| parameter, which contains a pool of |BIGNUMs|. The |ctx| 334 * argument to a public function may be NULL, in which case a local |BN_CTX| 345 /* BN_CTX_new returns a new, empty BN_CTX or NULL on allocation failure. */ 346 OPENSSL_EXPORT BN_CTX *BN_CTX_new(void); 350 OPENSSL_EXPORT void BN_CTX_free(BN_CTX *ctx); 354 OPENSSL_EXPORT void BN_CTX_start(BN_CTX *ctx); 359 OPENSSL_EXPORT BIGNUM *BN_CTX_get(BN_CTX *ctx); 363 OPENSSL_EXPORT void BN_CTX_end(BN_CTX *ctx); 396 BN_CTX *ctx); 405 OPENSSL_EXPORT int BN_sqr(BIGNUM *r, const BIGNUM *a, BN_CTX *ctx) [all...] |
ecdsa.h | 131 OPENSSL_EXPORT int ECDSA_sign_setup(const EC_KEY *eckey, BN_CTX *ctx,
|
/external/boringssl/src/crypto/fipsmodule/rsa/ |
blinding.c | 130 const BN_MONT_CTX *mont, BN_CTX *ctx); 171 const BN_MONT_CTX *mont, BN_CTX *ctx) { 198 const BN_MONT_CTX *mont, BN_CTX *ctx) { 211 BN_CTX *ctx) { 219 const BN_MONT_CTX *mont, BN_CTX *ctx) {
|
internal.h | 87 const BN_MONT_CTX *mont_ctx, BN_CTX *ctx); 89 BN_CTX *ctx);
|
/external/boringssl/src/crypto/fipsmodule/bn/ |
ctx.c | 109 /* BN_CTX */ 112 /* The opaque BN_CTX type */ 126 BN_CTX *BN_CTX_new(void) { 127 BN_CTX *ret = OPENSSL_malloc(sizeof(BN_CTX)); 142 void BN_CTX_free(BN_CTX *ctx) { 152 void BN_CTX_start(BN_CTX *ctx) { 163 BIGNUM *BN_CTX_get(BN_CTX *ctx) { 184 void BN_CTX_end(BN_CTX *ctx) {
|
prime.c | 346 const BIGNUM *rem, BN_CTX *ctx); 348 const BIGNUM *rem, BN_CTX *ctx); 370 BN_CTX *ctx; 465 int checks, BN_CTX *ctx, int do_trial_division, 480 int BN_is_prime_ex(const BIGNUM *candidate, int checks, BN_CTX *ctx, BN_GENCB *cb) { 484 int BN_is_prime_fasttest_ex(const BIGNUM *a, int checks, BN_CTX *ctx, 518 BN_CTX *ctx_allocated = NULL; 541 BN_CTX *ctx, BN_GENCB *cb) { 762 const BIGNUM *rem, BN_CTX *ctx) { 817 const BIGNUM *rem, BN_CTX *ctx) [all...] |
montgomery.c | 130 const BN_MONT_CTX *mont, BN_CTX *ctx); 176 int BN_MONT_CTX_set(BN_MONT_CTX *mont, const BIGNUM *mod, BN_CTX *ctx) { 227 const BIGNUM *mod, BN_CTX *bn_ctx) { 246 if (!BN_MONT_CTX_set(ctx, mod, bn_ctx)) { 259 BN_CTX *ctx) { 348 BN_CTX *ctx) { 368 const BN_MONT_CTX *mont, BN_CTX *ctx) { 401 BN_CTX *ctx) {
|
internal.h | 254 BN_CTX *ctx, const BN_MONT_CTX *mont_p); 260 BN_CTX *ctx, const BN_MONT_CTX *mont_p); 264 int bn_jacobi(const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx);
|
gcd.c | 186 int BN_gcd(BIGNUM *r, const BIGNUM *in_a, const BIGNUM *in_b, BN_CTX *ctx) { 230 BN_CTX *ctx); 233 const BIGNUM *n, BN_CTX *ctx) { 401 BN_CTX *ctx) { 446 const BN_MONT_CTX *mont, BN_CTX *ctx) { 480 BN_CTX *ctx) { 614 BN_CTX *ctx, const BN_MONT_CTX *mont_p) { 626 BN_CTX *ctx, const BN_MONT_CTX *mont_p) {
|
jacobi.c | 63 int bn_jacobi(const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) {
|
div.c | 193 BN_CTX *ctx) { 389 int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx) { 402 BN_CTX *ctx) { 421 BN_CTX *ctx) { 442 BN_CTX *ctx) { 473 int BN_mod_sqr(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx) { 483 BN_CTX *ctx) { 551 int BN_mod_lshift1(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx) {
|
exponentiation.c | 139 int BN_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx) { 219 static int BN_RECP_CTX_set(BN_RECP_CTX *recp, const BIGNUM *d, BN_CTX *ctx) { 234 static int BN_reciprocal(BIGNUM *r, const BIGNUM *m, int len, BN_CTX *ctx) { 260 BN_RECP_CTX *recp, BN_CTX *ctx) { 363 BN_RECP_CTX *recp, BN_CTX *ctx) { 426 const BIGNUM *m, BN_CTX *ctx) { 566 BN_CTX *ctx) { 575 const BIGNUM *m, BN_CTX *ctx, const BN_MONT_CTX *mont) { 852 const BIGNUM *m, BN_CTX *ctx, [all...] |
/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,
|
/hardware/interfaces/keymaster/3.0/vts/functional/ |
openssl_utils.h | 30 MAKE_OPENSSL_PTR_TYPE(BN_CTX)
|
/external/boringssl/src/crypto/dh/ |
check.c | 65 BN_CTX *ctx = BN_CTX_new(); 122 BN_CTX *ctx = NULL;
|
dh.c | 170 BN_CTX *ctx = NULL; 259 BN_CTX *ctx = NULL; 344 BN_CTX *ctx = NULL;
|
/external/boringssl/src/crypto/ecdh/ |
ecdh.c | 90 BN_CTX *ctx = BN_CTX_new();
|
/system/keymaster/ |
openssl_utils.h | 57 DEFINE_OPENSSL_OBJECT_POINTER(BN_CTX)
|
/external/boringssl/src/crypto/fipsmodule/ecdsa/ |
ecdsa.c | 127 BN_CTX *ctx; 215 static int ecdsa_sign_setup(const EC_KEY *eckey, BN_CTX *ctx_in, BIGNUM **kinvp, 218 BN_CTX *ctx = NULL; 344 int ECDSA_sign_setup(const EC_KEY *eckey, BN_CTX *ctx, BIGNUM **kinv, 355 BN_CTX *ctx = NULL;
|