Home
last modified time | relevance | path

Searched refs:recp (Results 1 – 9 of 9) sorted by relevance

/third_party/openssl/crypto/bn/
Dbn_recp.c13 void BN_RECP_CTX_init(BN_RECP_CTX *recp) in BN_RECP_CTX_init() argument
15 memset(recp, 0, sizeof(*recp)); in BN_RECP_CTX_init()
16 bn_init(&(recp->N)); in BN_RECP_CTX_init()
17 bn_init(&(recp->Nr)); in BN_RECP_CTX_init()
35 void BN_RECP_CTX_free(BN_RECP_CTX *recp) in BN_RECP_CTX_free() argument
37 if (recp == NULL) in BN_RECP_CTX_free()
39 BN_free(&recp->N); in BN_RECP_CTX_free()
40 BN_free(&recp->Nr); in BN_RECP_CTX_free()
41 if (recp->flags & BN_FLG_MALLOCED) in BN_RECP_CTX_free()
42 OPENSSL_free(recp); in BN_RECP_CTX_free()
[all …]
Dbn_exp.c168 BN_RECP_CTX recp; in BN_mod_exp_recp() local
190 BN_RECP_CTX_init(&recp); in BN_mod_exp_recp()
203 if (BN_RECP_CTX_set(&recp, aa, ctx) <= 0) in BN_mod_exp_recp()
206 if (BN_RECP_CTX_set(&recp, m, ctx) <= 0) in BN_mod_exp_recp()
220 if (!BN_mod_mul_reciprocal(aa, val[0], val[0], &recp, ctx)) in BN_mod_exp_recp()
225 !BN_mod_mul_reciprocal(val[i], val[i - 1], aa, &recp, ctx)) in BN_mod_exp_recp()
243 if (!BN_mod_mul_reciprocal(r, r, r, &recp, ctx)) in BN_mod_exp_recp()
272 if (!BN_mod_mul_reciprocal(r, r, r, &recp, ctx)) in BN_mod_exp_recp()
277 if (!BN_mod_mul_reciprocal(r, r, val[wvalue >> 1], &recp, ctx)) in BN_mod_exp_recp()
290 BN_RECP_CTX_free(&recp); in BN_mod_exp_recp()
Dbn_local.h649 void BN_RECP_CTX_init(BN_RECP_CTX *recp);
/third_party/openssl/doc/man3/
DBN_mod_mul_reciprocal.pod14 void BN_RECP_CTX_free(BN_RECP_CTX *recp);
16 int BN_RECP_CTX_set(BN_RECP_CTX *recp, const BIGNUM *m, BN_CTX *ctx);
18 int BN_div_recp(BIGNUM *dv, BIGNUM *rem, const BIGNUM *a, BN_RECP_CTX *recp,
22 BN_RECP_CTX *recp, BN_CTX *ctx);
29 using B<recp>=1/B<m>, which is set as described below. B<ctx> is a
36 If B<recp> is NULL, nothing is done.
38 BN_RECP_CTX_set() stores B<m> in B<recp> and sets it up for computing
41 later be stored in B<recp>.
43 BN_div_recp() divides B<a> by B<m> using B<recp>. It places the quotient
/third_party/ltp/testcases/kernel/syscalls/getdents/
Dgetdents01.c84 void *recp = dirp; in run() local
87 size_t d_reclen = tst_dirp_reclen(recp); in run()
88 const char *d_name = tst_dirp_name(recp); in run()
95 recp += d_reclen; in run()
/third_party/openssl/ohos_lite/include/openssl/
Dbn.h407 void BN_RECP_CTX_free(BN_RECP_CTX *recp);
408 int BN_RECP_CTX_set(BN_RECP_CTX *recp, const BIGNUM *rdiv, BN_CTX *ctx);
410 BN_RECP_CTX *recp, BN_CTX *ctx);
414 BN_RECP_CTX *recp, BN_CTX *ctx);
/third_party/openssl/include/openssl/
Dbn.h451 void BN_RECP_CTX_free(BN_RECP_CTX *recp);
452 int BN_RECP_CTX_set(BN_RECP_CTX *recp, const BIGNUM *rdiv, BN_CTX *ctx);
454 BN_RECP_CTX *recp, BN_CTX *ctx);
458 BN_RECP_CTX *recp, BN_CTX *ctx);
/third_party/openssl/test/
Dbntest.c260 BN_RECP_CTX *recp = NULL; in test_div_recip() local
268 || !TEST_ptr(recp = BN_RECP_CTX_new())) in test_div_recip()
284 if (!(TEST_true(BN_RECP_CTX_set(recp, b, ctx)) in test_div_recip()
285 && TEST_true(BN_div_recp(d, c, a, recp, ctx)) in test_div_recip()
299 BN_RECP_CTX_free(recp); in test_div_recip()
/third_party/libuv/
DAUTHORS156 Recep ASLANTAS <m@recp.me>