/external/boringssl/src/include/openssl/ |
D | bn.h | 345 OPENSSL_EXPORT BN_CTX *BN_CTX_new(void); 349 OPENSSL_EXPORT void BN_CTX_free(BN_CTX *ctx); 353 OPENSSL_EXPORT void BN_CTX_start(BN_CTX *ctx); 358 OPENSSL_EXPORT BIGNUM *BN_CTX_get(BN_CTX *ctx); 362 OPENSSL_EXPORT void BN_CTX_end(BN_CTX *ctx); 395 BN_CTX *ctx); 404 OPENSSL_EXPORT int BN_sqr(BIGNUM *r, const BIGNUM *a, BN_CTX *ctx); 413 BN_CTX *ctx); 423 OPENSSL_EXPORT int BN_sqrt(BIGNUM *out_sqrt, const BIGNUM *in, BN_CTX *ctx); 534 const BIGNUM *divisor, BN_CTX *ctx); [all …]
|
D | ec.h | 126 BN_CTX *ignored); 142 BIGNUM *cofactor, BN_CTX *ctx); 151 BN_CTX *ctx); 203 const EC_POINT *point, BN_CTX *ctx); 208 const EC_POINT *b, BN_CTX *ctx); 222 BN_CTX *ctx); 229 BN_CTX *ctx); 245 BN_CTX *ctx); 253 BN_CTX *ctx); 262 uint8_t *buf, size_t len, BN_CTX *ctx); [all …]
|
/external/rust/crates/quiche/deps/boringssl/src/include/openssl/ |
D | bn.h | 345 OPENSSL_EXPORT BN_CTX *BN_CTX_new(void); 349 OPENSSL_EXPORT void BN_CTX_free(BN_CTX *ctx); 353 OPENSSL_EXPORT void BN_CTX_start(BN_CTX *ctx); 358 OPENSSL_EXPORT BIGNUM *BN_CTX_get(BN_CTX *ctx); 362 OPENSSL_EXPORT void BN_CTX_end(BN_CTX *ctx); 395 BN_CTX *ctx); 404 OPENSSL_EXPORT int BN_sqr(BIGNUM *r, const BIGNUM *a, BN_CTX *ctx); 413 BN_CTX *ctx); 423 OPENSSL_EXPORT int BN_sqrt(BIGNUM *out_sqrt, const BIGNUM *in, BN_CTX *ctx); 534 const BIGNUM *divisor, BN_CTX *ctx); [all …]
|
D | ec.h | 126 BN_CTX *ignored); 142 BIGNUM *cofactor, BN_CTX *ctx); 151 BN_CTX *ctx); 203 const EC_POINT *point, BN_CTX *ctx); 208 const EC_POINT *b, BN_CTX *ctx); 222 BN_CTX *ctx); 238 BN_CTX *ctx); 247 uint8_t *buf, size_t len, BN_CTX *ctx); 254 BN_CTX *ctx); 262 BN_CTX *ctx); [all …]
|
/external/ms-tpm-20-ref/TPMCmd/tpm/src/crypt/ossl/ |
D | TpmToOsslSupport.c | 61 BN_CTX * 66 BN_CTX *CTX = BN_CTX_new(); in OsslContextEnter() 75 BN_CTX *CTX in OsslContextLeave() 86 BN_CTX * 88 BN_CTX *CTX in OsslPushContext() 101 BN_CTX *CTX in OsslPopContext()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/bn/ |
D | internal.h | 405 BN_CTX *ctx); in OPENSSL_MSVC_PRAGMA() 417 int bn_jacobi(const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx); in OPENSSL_MSVC_PRAGMA() 426 int bn_one_to_montgomery(BIGNUM *r, const BN_MONT_CTX *mont, BN_CTX *ctx); in OPENSSL_MSVC_PRAGMA() 462 const BN_MONT_CTX *mont, BN_CTX *ctx); in OPENSSL_MSVC_PRAGMA() 472 const BIGNUM *b, const BN_MONT_CTX *mont, BN_CTX *ctx); in OPENSSL_MSVC_PRAGMA() 485 unsigned n, BN_CTX *ctx); in OPENSSL_MSVC_PRAGMA() 523 const BIGNUM *b, BN_CTX *ctx); in OPENSSL_MSVC_PRAGMA() 528 int bn_mul_consttime(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx); in OPENSSL_MSVC_PRAGMA() 532 int bn_sqr_consttime(BIGNUM *r, const BIGNUM *a, BN_CTX *ctx); in OPENSSL_MSVC_PRAGMA() 542 const BIGNUM *divisor, BN_CTX *ctx); in OPENSSL_MSVC_PRAGMA() [all …]
|
D | ctx.c | 108 BN_CTX *BN_CTX_new(void) { in BN_CTX_new() 109 BN_CTX *ret = OPENSSL_malloc(sizeof(BN_CTX)); in BN_CTX_new() 124 void BN_CTX_free(BN_CTX *ctx) { in BN_CTX_free() 138 void BN_CTX_start(BN_CTX *ctx) { in BN_CTX_start() 152 BIGNUM *BN_CTX_get(BN_CTX *ctx) { in BN_CTX_get() 188 void BN_CTX_end(BN_CTX *ctx) { in BN_CTX_end()
|
D | div.c | 196 const BIGNUM *divisor, BN_CTX *ctx) { in BN_div() 403 int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx) { in BN_nnmod() 461 BN_CTX *ctx) { in bn_div_consttime() 532 static BIGNUM *bn_scratch_space_from_ctx(size_t width, BN_CTX *ctx) { in bn_scratch_space_from_ctx() 549 BN_CTX *ctx) { in bn_resized_from_ctx() 565 BN_CTX *ctx) { in BN_mod_add() 574 BN_CTX *ctx = BN_CTX_new(); in BN_mod_add_quick() 582 const BIGNUM *m, BN_CTX *ctx) { in bn_mod_add_consttime() 599 BN_CTX *ctx) { in BN_mod_sub() 607 const BIGNUM *m, BN_CTX *ctx) { in bn_mod_sub_consttime() [all …]
|
D | montgomery.c | 208 int BN_MONT_CTX_set(BN_MONT_CTX *mont, const BIGNUM *mod, BN_CTX *ctx) { in BN_MONT_CTX_set() 213 BN_CTX *new_ctx = NULL; in BN_MONT_CTX_set() 236 BN_MONT_CTX *BN_MONT_CTX_new_for_modulus(const BIGNUM *mod, BN_CTX *ctx) { in BN_MONT_CTX_new_for_modulus() 246 BN_MONT_CTX *BN_MONT_CTX_new_consttime(const BIGNUM *mod, BN_CTX *ctx) { in BN_MONT_CTX_new_consttime() 265 const BIGNUM *mod, BN_CTX *bn_ctx) { in BN_MONT_CTX_set_locked() 284 BN_CTX *ctx) { in BN_to_montgomery() 344 BN_CTX *ctx) { in BN_from_montgomery() 363 int bn_one_to_montgomery(BIGNUM *r, const BN_MONT_CTX *mont, BN_CTX *ctx) { in bn_one_to_montgomery() 386 BN_CTX *ctx) { in bn_mod_mul_montgomery_fallback() 418 const BN_MONT_CTX *mont, BN_CTX *ctx) { in BN_mod_mul_montgomery()
|
D | prime.c | 362 const BIGNUM *rem, BN_CTX *ctx); 364 const BIGNUM *rem, BN_CTX *ctx); 386 BN_CTX *ctx; in BN_generate_prime_ex() 502 BN_CTX *ctx) { in bn_miller_rabin_init() 542 const BN_MONT_CTX *mont, BN_CTX *ctx) { in bn_miller_rabin_iteration() 608 BN_CTX *ctx, int do_trial_division, BN_GENCB *cb) { in BN_primality_test() 685 BN_CTX *new_ctx = NULL; in BN_primality_test() 778 int BN_is_prime_ex(const BIGNUM *candidate, int checks, BN_CTX *ctx, in BN_is_prime_ex() 783 int BN_is_prime_fasttest_ex(const BIGNUM *a, int checks, BN_CTX *ctx, in BN_is_prime_fasttest_ex() 795 BN_CTX *ctx, BN_GENCB *cb) { in BN_enhanced_miller_rabin_primality_test() [all …]
|
D | gcd.c | 117 const BIGNUM *n, BN_CTX *ctx) { in BN_mod_inverse_odd() 284 BN_CTX *ctx) { in BN_mod_inverse() 329 const BN_MONT_CTX *mont, BN_CTX *ctx) { in BN_mod_inverse_blinded() 357 BN_CTX *ctx, const BN_MONT_CTX *mont_p) { in bn_mod_inverse_prime() 369 BN_CTX *ctx, const BN_MONT_CTX *mont_p) { in bn_mod_inverse_secret_prime()
|
/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/ |
D | TpmToOsslSupport_fp.h | 55 BN_CTX * 64 BN_CTX *CTX 71 BN_CTX * 73 BN_CTX *CTX 80 BN_CTX *CTX
|
/external/boringssl/src/crypto/fipsmodule/bn/ |
D | internal.h | 413 BN_CTX *ctx); in OPENSSL_MSVC_PRAGMA() 435 int bn_jacobi(const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx); in OPENSSL_MSVC_PRAGMA() 444 int bn_one_to_montgomery(BIGNUM *r, const BN_MONT_CTX *mont, BN_CTX *ctx); in OPENSSL_MSVC_PRAGMA() 480 const BN_MONT_CTX *mont, BN_CTX *ctx); in OPENSSL_MSVC_PRAGMA() 490 const BIGNUM *b, const BN_MONT_CTX *mont, BN_CTX *ctx); in OPENSSL_MSVC_PRAGMA() 503 unsigned n, BN_CTX *ctx); in OPENSSL_MSVC_PRAGMA() 541 const BIGNUM *b, BN_CTX *ctx); in OPENSSL_MSVC_PRAGMA() 546 int bn_mul_consttime(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx); in OPENSSL_MSVC_PRAGMA() 550 int bn_sqr_consttime(BIGNUM *r, const BIGNUM *a, BN_CTX *ctx); in OPENSSL_MSVC_PRAGMA() 560 const BIGNUM *divisor, BN_CTX *ctx); in OPENSSL_MSVC_PRAGMA() [all …]
|
D | ctx.c | 108 BN_CTX *BN_CTX_new(void) { in BN_CTX_new() 109 BN_CTX *ret = OPENSSL_malloc(sizeof(BN_CTX)); in BN_CTX_new() 124 void BN_CTX_free(BN_CTX *ctx) { in BN_CTX_free() 138 void BN_CTX_start(BN_CTX *ctx) { in BN_CTX_start() 152 BIGNUM *BN_CTX_get(BN_CTX *ctx) { in BN_CTX_get() 188 void BN_CTX_end(BN_CTX *ctx) { in BN_CTX_end()
|
D | div.c | 195 const BIGNUM *divisor, BN_CTX *ctx) { in BN_div() 402 int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx) { in BN_nnmod() 460 BN_CTX *ctx) { in bn_div_consttime() 531 static BIGNUM *bn_scratch_space_from_ctx(size_t width, BN_CTX *ctx) { in bn_scratch_space_from_ctx() 548 BN_CTX *ctx) { in bn_resized_from_ctx() 564 BN_CTX *ctx) { in BN_mod_add() 573 BN_CTX *ctx = BN_CTX_new(); in BN_mod_add_quick() 581 const BIGNUM *m, BN_CTX *ctx) { in bn_mod_add_consttime() 598 BN_CTX *ctx) { in BN_mod_sub() 606 const BIGNUM *m, BN_CTX *ctx) { in bn_mod_sub_consttime() [all …]
|
D | montgomery.c | 208 int BN_MONT_CTX_set(BN_MONT_CTX *mont, const BIGNUM *mod, BN_CTX *ctx) { in BN_MONT_CTX_set() 213 BN_CTX *new_ctx = NULL; in BN_MONT_CTX_set() 236 BN_MONT_CTX *BN_MONT_CTX_new_for_modulus(const BIGNUM *mod, BN_CTX *ctx) { in BN_MONT_CTX_new_for_modulus() 246 BN_MONT_CTX *BN_MONT_CTX_new_consttime(const BIGNUM *mod, BN_CTX *ctx) { in BN_MONT_CTX_new_consttime() 265 const BIGNUM *mod, BN_CTX *bn_ctx) { in BN_MONT_CTX_set_locked() 284 BN_CTX *ctx) { in BN_to_montgomery() 344 BN_CTX *ctx) { in BN_from_montgomery() 363 int bn_one_to_montgomery(BIGNUM *r, const BN_MONT_CTX *mont, BN_CTX *ctx) { in bn_one_to_montgomery() 386 BN_CTX *ctx) { in bn_mod_mul_montgomery_fallback() 418 const BN_MONT_CTX *mont, BN_CTX *ctx) { in BN_mod_mul_montgomery()
|
D | prime.c | 362 const BIGNUM *rem, BN_CTX *ctx); 364 const BIGNUM *rem, BN_CTX *ctx); 386 BN_CTX *ctx; in BN_generate_prime_ex() 502 BN_CTX *ctx) { in bn_miller_rabin_init() 542 const BN_MONT_CTX *mont, BN_CTX *ctx) { in bn_miller_rabin_iteration() 608 BN_CTX *ctx, int do_trial_division, BN_GENCB *cb) { in BN_primality_test() 685 BN_CTX *new_ctx = NULL; in BN_primality_test() 778 int BN_is_prime_ex(const BIGNUM *candidate, int checks, BN_CTX *ctx, in BN_is_prime_ex() 783 int BN_is_prime_fasttest_ex(const BIGNUM *a, int checks, BN_CTX *ctx, in BN_is_prime_fasttest_ex() 795 BN_CTX *ctx, BN_GENCB *cb) { in BN_enhanced_miller_rabin_primality_test() [all …]
|
D | gcd.c | 117 const BIGNUM *n, BN_CTX *ctx) { in BN_mod_inverse_odd() 284 BN_CTX *ctx) { in BN_mod_inverse() 329 const BN_MONT_CTX *mont, BN_CTX *ctx) { in BN_mod_inverse_blinded() 357 BN_CTX *ctx, const BN_MONT_CTX *mont_p) { in bn_mod_inverse_prime() 369 BN_CTX *ctx, const BN_MONT_CTX *mont_p) { in bn_mod_inverse_secret_prime()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/rsa/ |
D | blinding.c | 130 const BN_MONT_CTX *mont, BN_CTX *ctx); 175 const BN_MONT_CTX *mont, BN_CTX *ctx) { in bn_blinding_update() 202 const BN_MONT_CTX *mont, BN_CTX *ctx) { in BN_BLINDING_convert() 214 BN_CTX *ctx) { in BN_BLINDING_invert() 221 const BN_MONT_CTX *mont, BN_CTX *ctx) { in bn_blinding_create_param()
|
/external/boringssl/src/crypto/fipsmodule/rsa/ |
D | blinding.c | 130 const BN_MONT_CTX *mont, BN_CTX *ctx); 175 const BN_MONT_CTX *mont, BN_CTX *ctx) { in bn_blinding_update() 202 const BN_MONT_CTX *mont, BN_CTX *ctx) { in BN_BLINDING_convert() 214 BN_CTX *ctx) { in BN_BLINDING_invert() 221 const BN_MONT_CTX *mont, BN_CTX *ctx) { in bn_blinding_create_param()
|
/external/ms-tpm-20-ref/TPMCmd/tpm/include/Ossl/ |
D | TpmToOsslMath.h | 83 BN_CTX *CTX; // the context for the math (this might not be 95 #define OSSL_ENTER() BN_CTX *CTX = OsslContextEnter() 106 #define ECC_ENTER() BN_CTX *CTX = OsslPushContext(E->CTX)
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/ec/ |
D | oct.c | 137 BN_CTX *ctx) { in ec_GFp_simple_oct2point() 170 BN_CTX *new_ctx = NULL; in ec_GFp_simple_oct2point() 202 const uint8_t *buf, size_t len, BN_CTX *ctx) { in EC_POINT_oct2point() 212 size_t len, BN_CTX *ctx) { in EC_POINT_point2oct() 226 int y_bit, BN_CTX *ctx) { in EC_POINT_set_compressed_coordinates_GFp() 237 BN_CTX *new_ctx = NULL; in EC_POINT_set_compressed_coordinates_GFp()
|
D | ec.c | 350 const BIGNUM *b, BN_CTX *ctx) { in EC_GROUP_new_curve_GFp() 356 BN_CTX *new_ctx = NULL; in EC_GROUP_new_curve_GFp() 447 BN_CTX *ctx = BN_CTX_new(); in ec_group_new_from_data() 586 int EC_GROUP_cmp(const EC_GROUP *a, const EC_GROUP *b, BN_CTX *ignored) { in EC_GROUP_cmp() 622 int EC_GROUP_get_order(const EC_GROUP *group, BIGNUM *order, BN_CTX *ctx) { in EC_GROUP_get_order() 634 BN_CTX *ctx) { in EC_GROUP_get_cofactor() 640 BIGNUM *out_b, BN_CTX *ctx) { in EC_GROUP_get_curve_GFp() 758 BN_CTX *ctx) { in EC_POINT_is_on_curve() 767 BN_CTX *ctx) { in EC_POINT_cmp() 780 BIGNUM *y, BN_CTX *ctx) { in EC_POINT_get_affine_coordinates_GFp() [all …]
|
/external/boringssl/src/crypto/fipsmodule/ec/ |
D | oct.c | 137 BN_CTX *ctx) { in ec_GFp_simple_oct2point() 170 BN_CTX *new_ctx = NULL; in ec_GFp_simple_oct2point() 202 const uint8_t *buf, size_t len, BN_CTX *ctx) { in EC_POINT_oct2point() 212 size_t len, BN_CTX *ctx) { in EC_POINT_point2oct() 226 int y_bit, BN_CTX *ctx) { in EC_POINT_set_compressed_coordinates_GFp() 237 BN_CTX *new_ctx = NULL; in EC_POINT_set_compressed_coordinates_GFp()
|
D | ec.c | 350 const BIGNUM *b, BN_CTX *ctx) { in EC_GROUP_new_curve_GFp() 356 BN_CTX *new_ctx = NULL; in EC_GROUP_new_curve_GFp() 447 BN_CTX *ctx = BN_CTX_new(); in ec_group_new_from_data() 586 int EC_GROUP_cmp(const EC_GROUP *a, const EC_GROUP *b, BN_CTX *ignored) { in EC_GROUP_cmp() 622 int EC_GROUP_get_order(const EC_GROUP *group, BIGNUM *order, BN_CTX *ctx) { in EC_GROUP_get_order() 634 BN_CTX *ctx) { in EC_GROUP_get_cofactor() 640 BIGNUM *out_b, BN_CTX *ctx) { in EC_GROUP_get_curve_GFp() 758 BN_CTX *ctx) { in EC_POINT_is_on_curve() 767 BN_CTX *ctx) { in EC_POINT_cmp() 780 BIGNUM *y, BN_CTX *ctx) { in EC_POINT_get_affine_coordinates_GFp() [all …]
|