/macosx-10.10/Security-57031.1.35/Security/libsecurity_ssl/security_ssl/ |
H A D | sslCrypto.h | 60 SSLContext *ctx, 66 SSLContext *ctx); 74 int tls_verify_peer_cert(SSLContext *ctx);
|
/macosx-10.10/apache-793/httpd/modules/cache/ |
H A D | mod_socache_memcache.c | 68 ap_socache_instance_t *ctx; local 70 *context = ctx = apr_palloc(p, sizeof *ctx); 76 ctx->servers = apr_pstrdup(p, arg); 81 static apr_status_t socache_mc_init(ap_socache_instance_t *ctx, argument 96 cache_config = apr_pstrdup(p, ctx->servers); 103 rv = apr_memcache_create(p, nservers, 0, &ctx->mc); 112 cache_config = apr_pstrdup(p, ctx->servers); 152 rv = apr_memcache_add_server(ctx->mc, st); 163 ctx 180 socache_mc_id2key(ap_socache_instance_t *ctx, const unsigned char *id, unsigned int idlen, char *key, apr_size_t keylen) argument 195 socache_mc_store(ap_socache_instance_t *ctx, server_rec *s, const unsigned char *id, unsigned int idlen, apr_time_t expiry, unsigned char *ucaData, unsigned int nData, apr_pool_t *p) argument 221 socache_mc_retrieve(ap_socache_instance_t *ctx, server_rec *s, const unsigned char *id, unsigned int idlen, unsigned char *dest, unsigned int *destlen, apr_pool_t *p) argument 257 socache_mc_remove(ap_socache_instance_t *ctx, server_rec *s, const unsigned char *id, unsigned int idlen, apr_pool_t *p) argument 279 socache_mc_status(ap_socache_instance_t *ctx, request_rec *r, int flags) argument [all...] |
/macosx-10.10/ruby-106/ruby/sample/openssl/ |
H A D | echo_cli.rb | 15 ctx = OpenSSL::SSL::SSLContext.new() 17 ctx.cert = OpenSSL::X509::Certificate.new(File::read(cert_file)) 18 ctx.key = OpenSSL::PKey::RSA.new(File::read(key_file)) 21 ctx.verify_mode = OpenSSL::SSL::VERIFY_PEER 22 ctx.ca_path = ca_path 28 ssl = OpenSSL::SSL::SSLSocket.new(s, ctx)
|
/macosx-10.10/OpenSSL098-52/src/crypto/ec/ |
H A D | ectest.c | 119 static void timings(EC_GROUP *group, int type, BN_CTX *ctx) 131 if (!EC_GROUP_get_order(group, s, ctx)) ABORT; 156 (type != TIMING_BASE_PT) ? P : NULL, (type != TIMING_BASE_PT) ? r0[i] : NULL, ctx)) ABORT; 200 BN_CTX *ctx = NULL; local 211 ctx = BN_CTX_new(); 212 if (!ctx) ABORT; 228 if (!EC_GROUP_set_curve_GFp(group, p, a, b, ctx)) ABORT; 239 if (!EC_GROUP_get_curve_GFp(group, p, a, b, ctx)) ABORT; 258 if (!EC_POINT_oct2point(group, Q, buf, 1, ctx)) ABORT; 260 if (!EC_POINT_add(group, P, P, Q, ctx)) ABOR 821 BN_CTX *ctx = NULL; local [all...] |
H A D | ecp_nist.c | 127 const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) 133 if (ctx == NULL) 134 if ((ctx = new_ctx = BN_CTX_new()) == NULL) return 0; 136 BN_CTX_start(ctx); 137 if ((tmp_bn = BN_CTX_get(ctx)) == NULL) goto err; 177 ret = ec_GFp_simple_group_set_curve(group, p, a, b, ctx); 180 BN_CTX_end(ctx); 188 const BIGNUM *b, BN_CTX *ctx) 198 if (!ctx) 199 if ((ctx_new = ctx 126 ec_GFp_nist_group_set_curve(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) argument 187 ec_GFp_nist_field_mul(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) argument 213 ec_GFp_nist_field_sqr(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, BN_CTX *ctx) argument [all...] |
H A D | ec2_smpl.c | 189 const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) 221 int ec_GF2m_simple_group_get_curve(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *ctx) argument 257 int ec_GF2m_simple_group_check_discriminant(const EC_GROUP *group, BN_CTX *ctx) argument 263 if (ctx == NULL) 265 ctx = new_ctx = BN_CTX_new(); 266 if (ctx == NULL) 272 BN_CTX_start(ctx); 273 b = BN_CTX_get(ctx); 286 if (ctx != NULL) 287 BN_CTX_end(ctx); 188 ec_GF2m_simple_group_set_curve(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) argument 349 ec_GF2m_simple_point_set_affine_coordinates(const EC_GROUP *group, EC_POINT *point, const BIGNUM *x, const BIGNUM *y, BN_CTX *ctx) argument 376 ec_GF2m_simple_point_get_affine_coordinates(const EC_GROUP *group, const EC_POINT *point, BIGNUM *x, BIGNUM *y, BN_CTX *ctx) argument 422 ec_GF2m_simple_point2oct(const EC_GROUP *group, const EC_POINT *point, point_conversion_form_t form, unsigned char *buf, size_t len, BN_CTX *ctx) argument 564 ec_GF2m_simple_oct2point(const EC_GROUP *group, EC_POINT *point, const unsigned char *buf, size_t len, BN_CTX *ctx) argument 679 ec_GF2m_simple_add(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, const EC_POINT *b, BN_CTX *ctx) argument 781 ec_GF2m_simple_dbl(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, BN_CTX *ctx) argument 787 ec_GF2m_simple_invert(const EC_GROUP *group, EC_POINT *point, BN_CTX *ctx) argument 809 ec_GF2m_simple_is_on_curve(const EC_GROUP *group, const EC_POINT *point, BN_CTX *ctx) argument 864 ec_GF2m_simple_cmp(const EC_GROUP *group, const EC_POINT *a, const EC_POINT *b, BN_CTX *ctx) argument 909 ec_GF2m_simple_make_affine(const EC_GROUP *group, EC_POINT *point, BN_CTX *ctx) argument 945 ec_GF2m_simple_points_make_affine(const EC_GROUP *group, size_t num, EC_POINT *points[], BN_CTX *ctx) argument 959 ec_GF2m_simple_field_mul(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) argument 966 ec_GF2m_simple_field_sqr(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, BN_CTX *ctx) argument 973 ec_GF2m_simple_field_div(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) argument [all...] |
/macosx-10.10/OpenSSL098-52/src/test/ |
H A D | ectest.c | 119 static void timings(EC_GROUP *group, int type, BN_CTX *ctx) 131 if (!EC_GROUP_get_order(group, s, ctx)) ABORT; 156 (type != TIMING_BASE_PT) ? P : NULL, (type != TIMING_BASE_PT) ? r0[i] : NULL, ctx)) ABORT; 200 BN_CTX *ctx = NULL; local 211 ctx = BN_CTX_new(); 212 if (!ctx) ABORT; 228 if (!EC_GROUP_set_curve_GFp(group, p, a, b, ctx)) ABORT; 239 if (!EC_GROUP_get_curve_GFp(group, p, a, b, ctx)) ABORT; 258 if (!EC_POINT_oct2point(group, Q, buf, 1, ctx)) ABORT; 260 if (!EC_POINT_add(group, P, P, Q, ctx)) ABOR 821 BN_CTX *ctx = NULL; local [all...] |
/macosx-10.10/apache-793/httpd/support/ |
H A D | htpasswd.c | 74 static int mkrecord(struct passwd_ctx *ctx, char *user) argument 78 ctx->out = hash_str; 79 ctx->out_len = sizeof(hash_str); 81 ret = mkhash(ctx); 85 ctx->out = apr_pstrcat(ctx->pool, user, ":", hash_str, NL, NULL); 86 if (strlen(ctx->out) >= MAX_STRING_LEN) { 87 ctx->errstr = "resultant record too long"; 160 struct passwd_ctx *ctx, unsigned *mask, char **user, 170 apr_pool_t *pool = ctx 159 check_args(int argc, const char *const argv[], struct passwd_ctx *ctx, unsigned *mask, char **user, char **pwfilename) argument 251 verify(struct passwd_ctx *ctx, const char *hash) argument 288 struct passwd_ctx ctx = { 0 }; local [all...] |
/macosx-10.10/OpenSSL098-52/src/crypto/pem/ |
H A D | pem_seal.c | 70 int PEM_SealInit(PEM_ENCODE_SEAL_CTX *ctx, EVP_CIPHER *type, EVP_MD *md_type, argument 96 EVP_EncodeInit(&ctx->encode); 98 EVP_MD_CTX_init(&ctx->md); 99 EVP_SignInit(&ctx->md,md_type); 101 EVP_CIPHER_CTX_init(&ctx->cipher); 102 ret=EVP_SealInit(&ctx->cipher,type,ek,ekl,iv,pubk,npubk); 121 void PEM_SealUpdate(PEM_ENCODE_SEAL_CTX *ctx, unsigned char *out, int *outl, argument 128 EVP_SignUpdate(&ctx->md,in,inl); 136 EVP_EncryptUpdate(&ctx->cipher,buffer,&j,in,i); 137 EVP_EncodeUpdate(&ctx 145 PEM_SealFinal(PEM_ENCODE_SEAL_CTX *ctx, unsigned char *sig, int *sigl, unsigned char *out, int *outl, EVP_PKEY *priv) argument [all...] |
/macosx-10.10/Security-57031.1.35/Security/libsecurity_apple_csp/open_ssl/bn/ |
H A D | bn_gcd.c | 83 int BN_gcd(BIGNUM *r, BIGNUM *in_a, BIGNUM *in_b, BN_CTX *ctx) argument 91 BN_CTX_start(ctx); 92 a = BN_CTX_get(ctx); 93 b = BN_CTX_get(ctx); 106 BN_CTX_end(ctx); 165 BIGNUM *BN_mod_inverse(BIGNUM *in, BIGNUM *a, const BIGNUM *n, BN_CTX *ctx) argument 174 BN_CTX_start(ctx); 175 A = BN_CTX_get(ctx); 176 B = BN_CTX_get(ctx); 177 X = BN_CTX_get(ctx); [all...] |
H A D | bn_exp.c | 127 int BN_mod_mul(BIGNUM *ret, BIGNUM *a, BIGNUM *b, const BIGNUM *m, BN_CTX *ctx) argument 136 BN_CTX_start(ctx); 137 if ((t = BN_CTX_get(ctx)) == NULL) goto err; 139 { if (!BN_sqr(t,a,ctx)) goto err; } 141 { if (!BN_mul(t,a,b,ctx)) goto err; } 142 if (!BN_mod(ret,t,m,ctx)) goto err; 145 BN_CTX_end(ctx); 151 int BN_exp(BIGNUM *r, BIGNUM *a, BIGNUM *p, BN_CTX *ctx) argument 156 BN_CTX_start(ctx); 158 rr = BN_CTX_get(ctx); 354 BN_mod_exp(BIGNUM *r, BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx) argument 403 BN_mod_exp_recp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx) argument 514 BN_mod_exp_mont(BIGNUM *rr, BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *in_mont) argument 656 BN_mod_exp_mont_word(BIGNUM *rr, BN_ULONG a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *in_mont) argument 798 BN_mod_exp_simple(BIGNUM *r, BIGNUM *a, BIGNUM *p, BIGNUM *m, BN_CTX *ctx) argument [all...] |
/macosx-10.10/Security-57031.1.35/Security/libsecurity_apple_csp/open_ssl/dh/ |
H A D | dh_key.c | 85 const BIGNUM *m, BN_CTX *ctx, 119 BN_CTX ctx; local 123 BN_CTX_init(&ctx); 148 dh->p,&ctx)) goto err; 152 if (!dh->meth->bn_mod_exp(dh, pub_key,dh->g,priv_key,dh->p,&ctx,mont)) 164 BN_CTX_free(&ctx); 170 BN_CTX ctx; local 175 BN_CTX_init(&ctx); 176 BN_CTX_start(&ctx); 177 tmp = BN_CTX_get(&ctx); 205 dh_bn_mod_exp(DH *dh, BIGNUM *r, BIGNUM *a, const BIGNUM *p, const BIGNUM *m, BN_CTX *ctx, BN_MONT_CTX *m_ctx) argument [all...] |
/macosx-10.10/apache-793/httpd/modules/cluster/ |
H A D | mod_heartbeat.c | 45 static int hb_monitor(hb_ctx_t *ctx, apr_pool_t *p) argument 57 for (i = 0; i < ctx->server_limit; i++) { 61 for (j = 0; j < ctx->thread_limit; j++) { 85 rv = apr_socket_create(&sock, ctx->mcast_addr->family, 100 rv = apr_socket_sendto(sock, ctx->mcast_addr, 0, buf, &len); 117 hb_ctx_t *ctx = ap_get_module_config(s->module_config, &heartbeat_module); local 119 ap_mpm_query(AP_MPMQ_HARD_LIMIT_THREADS, &ctx->thread_limit); 120 ap_mpm_query(AP_MPMQ_HARD_LIMIT_DAEMONS, &ctx->server_limit); 132 hb_ctx_t *ctx = ap_get_module_config(s->module_config, &heartbeat_module); local 134 if (!ctx 143 hb_ctx_t *ctx = ap_get_module_config(s->module_config, &heartbeat_module); local 174 hb_ctx_t *ctx = local [all...] |
/macosx-10.10/bind9-45.101/bind9/unit/atf-src/atf-c/ |
H A D | tc.c | 109 context_init(struct context *ctx, const atf_tc_t *tc, const char *resfile) argument 111 ctx->tc = tc; 112 ctx->resfile = resfile; 113 ctx->fail_count = 0; 114 ctx->expect = EXPECT_PASS; 115 check_fatal_error(atf_dynstr_init(&ctx->expect_reason)); 116 ctx->expect_previous_fail_count = 0; 117 ctx->expect_fail_count = 0; 118 ctx->expect_exitcode = 0; 119 ctx 225 error_in_expect(struct context *ctx, const char *fmt, ...) argument 243 validate_expect(struct context *ctx) argument 270 expected_failure(struct context *ctx, atf_dynstr_t *reason) argument 279 fail_requirement(struct context *ctx, atf_dynstr_t *reason) argument 294 fail_check(struct context *ctx, atf_dynstr_t *reason) argument 313 pass(struct context *ctx) argument 329 skip(struct context *ctx, atf_dynstr_t *reason) argument 391 errno_test(struct context *ctx, const char *file, const size_t line, const int exp_errno, const char *expr_str, const bool expr_result, void (*fail_func)(struct context *, atf_dynstr_t *)) argument 452 check_prog(struct context *ctx, const char *prog, void *data) argument 801 _atf_tc_fail(struct context *ctx, const char *fmt, va_list ap) argument 815 _atf_tc_fail_nonfatal(struct context *ctx, const char *fmt, va_list ap) argument 828 _atf_tc_fail_check(struct context *ctx, const char *file, const size_t line, const char *fmt, va_list ap) argument 842 _atf_tc_fail_requirement(struct context *ctx, const char *file, const size_t line, const char *fmt, va_list ap) argument 857 _atf_tc_pass(struct context *ctx) argument 864 _atf_tc_require_prog(struct context *ctx, const char *prog) argument 870 _atf_tc_skip(struct context *ctx, const char *fmt, va_list ap) argument 883 _atf_tc_check_errno(struct context *ctx, const char *file, const size_t line, const int exp_errno, const char *expr_str, const bool expr_result) argument 891 _atf_tc_require_errno(struct context *ctx, const char *file, const size_t line, const int exp_errno, const char *expr_str, const bool expr_result) argument 900 _atf_tc_expect_pass(struct context *ctx) argument 908 _atf_tc_expect_fail(struct context *ctx, const char *reason, va_list ap) argument 923 _atf_tc_expect_exit(struct context *ctx, const int exitcode, const char *reason, va_list ap) argument 940 _atf_tc_expect_signal(struct context *ctx, const int signo, const char *reason, va_list ap) argument 957 _atf_tc_expect_death(struct context *ctx, const char *reason, va_list ap) argument 973 _atf_tc_expect_timeout(struct context *ctx, const char *reason, va_list ap) argument [all...] |
/macosx-10.10/Heimdal-398.1.2/lib/krb5/ |
H A D | send_to_kdc.c | 81 struct send_via_plugin_s *ctx = userctx; local 85 return service->send_to_kdc(context, plugctx, ctx->hi, ctx->timeout, 86 ctx->send_data, ctx->receive); 93 struct send_via_plugin_s *ctx = userctx; local 97 return service->send_to_realm(context, plugctx, ctx->realm, ctx->timeout, 98 ctx->send_data, ctx 176 krb5_sendto_ctx ctx = (krb5_sendto_ctx)ptr; local 184 krb5_sendto_ctx_alloc(krb5_context context, krb5_sendto_ctx *ctx) argument 193 krb5_sendto_ctx_add_flags(krb5_sendto_ctx ctx, int flags) argument 199 krb5_sendto_ctx_get_flags(krb5_sendto_ctx ctx) argument 205 krb5_sendto_ctx_set_type(krb5_sendto_ctx ctx, int type) argument 211 krb5_sendto_ctx_set_func(krb5_sendto_ctx ctx, krb5_sendto_ctx_func func, void *data) argument 220 _krb5_sendto_ctx_set_prexmit(krb5_sendto_ctx ctx, krb5_sendto_prexmit prexmit, void *data) argument 229 krb5_sendto_set_hostname(krb5_context context, krb5_sendto_ctx ctx, const char *hostname) argument 244 _krb5_sendto_ctx_set_krb5hst(krb5_context context, krb5_sendto_ctx ctx, krb5_krbhst_handle handle) argument 253 krb5_sendto_ctx_free(krb5_context context, krb5_sendto_ctx ctx) argument 259 _krb5_kdc_retry(krb5_context context, krb5_sendto_ctx ctx, void *data, const krb5_data *reply, int *action) argument 301 krb5_sendto_ctx ctx; member in struct:host 525 host_connected(krb5_context context, krb5_sendto_ctx ctx, struct host *host) argument 561 host_connect(krb5_context context, krb5_sendto_ctx ctx, struct host *host) argument 793 eval_host_state(krb5_context context, krb5_sendto_ctx ctx, struct host *host, int readable, int writeable) argument 843 host_create(krb5_context context, krb5_sendto_ctx ctx, krb5_krbhst_info *hi, struct addrinfo *ai, int fd) argument 893 submit_request(krb5_context context, krb5_sendto_ctx ctx, krb5_krbhst_info *hi) argument 1073 wait_response(krb5_context context, int *action, krb5_sendto_ctx ctx) argument 1219 reset_context(krb5_context context, krb5_sendto_ctx ctx) argument 1233 krb5_sendto_context(krb5_context context, krb5_sendto_ctx ctx, const krb5_data *send_data, krb5_const_realm realm, krb5_data *receive) argument [all...] |
/macosx-10.10/tcl-105/tcl_ext/memchan/memchan/isaac/ |
H A D | randport.c | 28 void isaac(ctx) 29 randctx *ctx; 32 mm=ctx->randmem; r=ctx->randrsl; 33 a = ctx->randa; b = (ctx->randb + (++ctx->randc)) & 0xffffffff; 48 ctx->randb = b; ctx->randa = a; 65 void randinit(ctx, fla 123 randctx ctx; local [all...] |
/macosx-10.10/Heimdal-398.1.2/lib/kadm5/ |
H A D | init_c.c | 81 _kadm5_c_init_context(kadm5_client_context **ctx, argument 88 *ctx = malloc(sizeof(**ctx)); 89 if(*ctx == NULL) 91 memset(*ctx, 0, sizeof(**ctx)); 93 set_funcs(*ctx); 94 (*ctx)->context = context; 97 (*ctx)->realm = strdup(params->realm); 98 if ((*ctx) 424 kadm_connect(kadm5_client_context *ctx) argument 570 kadm5_client_context *ctx = handle; local 590 kadm5_client_context *ctx; local 640 kadm5_server_context *ctx; local [all...] |
/macosx-10.10/CommonCrypto-60061/include/ |
H A D | CommonCMACSPI.h | 79 @param ctx An HMAC context. 86 void CCAESCmacUpdate(CCCmacContextPtr ctx, const void *data, size_t dataLength) 94 @param ctx A CMAC context. 100 void CCAESCmacFinal(CCCmacContextPtr ctx, void *macOut) 104 CCAESCmacDestroy(CCCmacContextPtr ctx) 108 CCAESCmacOutputSizeFromContext(CCCmacContextPtr ctx)
|
H A D | CommonHMAC.h | 67 uint32_t ctx[CC_HMAC_CONTEXT_SIZE]; member in struct:__anon428 74 @param ctx An HMAC context. 81 CCHmacContext *ctx, 92 @param ctx An HMAC context. 99 CCHmacContext *ctx, 109 @param ctx An HMAC context. 120 CCHmacContext *ctx,
|
/macosx-10.10/CommonCrypto-60061/libcn/ |
H A D | CommonBufferingPriv.h | 42 typedef int (*cnProcessFunction)(void *ctx, const void *in, size_t inLen, void *out, size_t *outLen); 43 typedef size_t (*cnSizeFunction)(void *ctx, size_t inLen); 47 void *ctx, const void *in, const size_t inLen, void *out, size_t *outLen, 52 void *ctx, void *out, size_t *outLen,
|
/macosx-10.10/Heimdal-398.1.2/lib/gssapi/krb5/ |
H A D | context_time.c | 74 const gsskrb5_ctx ctx = (const gsskrb5_ctx) context_handle; local 78 HEIMDAL_MUTEX_lock(&ctx->ctx_id_mutex); 79 endtime = ctx->endtime; 80 HEIMDAL_MUTEX_unlock(&ctx->ctx_id_mutex);
|
H A D | import_sec_context.c | 54 gsskrb5_ctx ctx; local 70 ctx = calloc(1, sizeof(*ctx)); 71 if (ctx == NULL) { 76 HEIMDAL_MUTEX_init(&ctx->ctx_id_mutex); 79 &ctx->auth_context); 95 ac = ctx->auth_context; 168 ctx->source = (krb5_principal)name; 186 ctx->target = (krb5_principal)name; 191 ctx [all...] |
/macosx-10.10/Heimdal-398.1.2/plugins/GSSCredentialSelector/ |
H A D | GSSCredentialSelector.m | 117 struct gsssel_ctx *ctx = calloc(1, sizeof(*ctx)); 119 if (ctx == NULL) 122 ctx->magic = GSSC_MAGIC; 124 *ptr = ctx; 131 struct gsssel_ctx *ctx = ptr; 133 assert(ctx->magic == GSSC_MAGIC); 135 free(ctx);
|
/macosx-10.10/OpenSSH-189/osslshim/ossl/ |
H A D | ossl-hmac.h | 92 void HMAC_CTX_cleanup(HMAC_CTX *ctx); 94 size_t HMAC_size(const HMAC_CTX *ctx); 98 void HMAC_Update(HMAC_CTX *ctx, const void *data, size_t len); 99 void HMAC_Final(HMAC_CTX *ctx, void *md, unsigned int *len);
|
H A D | ossl-rsa-eay.c | 101 static int RSA_eay_mod_exp(BIGNUM *r0, const BIGNUM *i, RSA *rsa, BN_CTX *ctx); 287 BN_CTX *ctx = NULL; local 307 if ((ctx = BN_CTX_new()) == NULL) { 310 BN_CTX_start(ctx); 311 f = BN_CTX_get(ctx); 312 ret = BN_CTX_get(ctx); 358 if (!BN_MONT_CTX_set_locked(&rsa->_method_mod_n, CRYPTO_LOCK_RSA, rsa->n, ctx)) { 364 if (!rsa->meth->bn_mod_exp(ret, f, rsa->e, rsa->n, ctx, 379 if (ctx != NULL) { 380 BN_CTX_end(ctx); 491 BN_CTX *ctx = NULL; local 645 BN_CTX *ctx = NULL; local 793 BN_CTX *ctx = NULL; local 903 RSA_eay_mod_exp(BIGNUM *r0, const BIGNUM *I, RSA *rsa, BN_CTX *ctx) argument 1129 BN_CTX *ctx = NULL; local [all...] |