Searched refs:cert_ctx (Results 1 - 13 of 13) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/apps/
H A Dverify.c88 X509_STORE *cert_ctx = NULL; local
96 cert_ctx = X509_STORE_new();
97 if (cert_ctx == NULL)
99 X509_STORE_set_verify_cb(cert_ctx, cb);
168 X509_STORE_set1_param(cert_ctx, vpm);
170 lookup = X509_STORE_add_lookup(cert_ctx, X509_LOOKUP_file());
183 lookup = X509_STORE_add_lookup(cert_ctx, X509_LOOKUP_hash_dir());
221 store_setup_crl_download(cert_ctx);
223 if (1 != check(cert_ctx, NULL, untrusted, trusted, crls, e))
227 if (1 != check(cert_ctx, arg
[all...]
H A Dts.c1058 X509_STORE *cert_ctx = NULL; local
1063 cert_ctx = X509_STORE_new();
1066 X509_STORE_set_verify_cb(cert_ctx, verify_cb);
1070 lookup = X509_STORE_add_lookup(cert_ctx, X509_LOOKUP_hash_dir());
1084 lookup = X509_STORE_add_lookup(cert_ctx, X509_LOOKUP_file());
1096 return cert_ctx;
1098 X509_STORE_free(cert_ctx);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/apps/
H A Dverify.c88 X509_STORE *cert_ctx = NULL; local
96 cert_ctx = X509_STORE_new();
97 if (cert_ctx == NULL)
99 X509_STORE_set_verify_cb(cert_ctx, cb);
168 X509_STORE_set1_param(cert_ctx, vpm);
170 lookup = X509_STORE_add_lookup(cert_ctx, X509_LOOKUP_file());
183 lookup = X509_STORE_add_lookup(cert_ctx, X509_LOOKUP_hash_dir());
221 store_setup_crl_download(cert_ctx);
223 if (1 != check(cert_ctx, NULL, untrusted, trusted, crls, e))
227 if (1 != check(cert_ctx, arg
[all...]
H A Dts.c1058 X509_STORE *cert_ctx = NULL; local
1063 cert_ctx = X509_STORE_new();
1066 X509_STORE_set_verify_cb(cert_ctx, verify_cb);
1070 lookup = X509_STORE_add_lookup(cert_ctx, X509_LOOKUP_hash_dir());
1084 lookup = X509_STORE_add_lookup(cert_ctx, X509_LOOKUP_file());
1096 return cert_ctx;
1098 X509_STORE_free(cert_ctx);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/apps/
H A Dverify.c87 X509_STORE *cert_ctx=NULL; local
94 cert_ctx=X509_STORE_new();
95 if (cert_ctx == NULL) goto end;
96 X509_STORE_set_verify_cb_func(cert_ctx,cb);
169 X509_STORE_set1_param(cert_ctx, vpm);
171 lookup=X509_STORE_add_lookup(cert_ctx,X509_LOOKUP_file());
182 lookup=X509_STORE_add_lookup(cert_ctx,X509_LOOKUP_hash_dir());
211 if (argc < 1) check(cert_ctx, NULL, untrusted, trusted, purpose, e);
214 check(cert_ctx,argv[i], untrusted, trusted, purpose, e);
232 if (cert_ctx !
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/crypto/pkcs7/
H A Dpk7_smime.c256 X509_STORE_CTX cert_ctx; local
318 if (!X509_STORE_CTX_init(&cert_ctx, store, signer,
323 X509_STORE_CTX_set_default(&cert_ctx, "smime_sign");
324 } else if (!X509_STORE_CTX_init(&cert_ctx, store, signer, NULL)) {
329 X509_STORE_CTX_set0_crls(&cert_ctx, p7->d.sign->crl);
330 i = X509_verify_cert(&cert_ctx);
332 j = X509_STORE_CTX_get_error(&cert_ctx);
333 X509_STORE_CTX_cleanup(&cert_ctx);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/crypto/pkcs7/
H A Dpk7_smime.c175 X509_STORE_CTX cert_ctx; local
225 if(!X509_STORE_CTX_init(&cert_ctx, store, signer,
232 X509_STORE_CTX_set_purpose(&cert_ctx,
234 } else if(!X509_STORE_CTX_init (&cert_ctx, store, signer, NULL)) {
240 X509_STORE_CTX_set0_crls(&cert_ctx, p7->d.sign->crl);
241 i = X509_verify_cert(&cert_ctx);
242 if (i <= 0) j = X509_STORE_CTX_get_error(&cert_ctx);
243 X509_STORE_CTX_cleanup(&cert_ctx);
H A Ddec.c81 X509_STORE_CTX cert_ctx; local
183 i=PKCS7_dataVerify(cert_store,&cert_ctx,p7bio,p7,si);
H A Dverify.c78 X509_STORE_CTX cert_ctx; local
185 rc=PKCS7_dataVerify(cert_store,&cert_ctx,p7bio,p7,si);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/crypto/pkcs7/
H A Dpk7_smime.c256 X509_STORE_CTX cert_ctx; local
318 if (!X509_STORE_CTX_init(&cert_ctx, store, signer,
323 X509_STORE_CTX_set_default(&cert_ctx, "smime_sign");
324 } else if (!X509_STORE_CTX_init(&cert_ctx, store, signer, NULL)) {
329 X509_STORE_CTX_set0_crls(&cert_ctx, p7->d.sign->crl);
330 i = X509_verify_cert(&cert_ctx);
332 j = X509_STORE_CTX_get_error(&cert_ctx);
333 X509_STORE_CTX_cleanup(&cert_ctx);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/crypto/ts/
H A Dts_rsp_verify.c252 X509_STORE_CTX cert_ctx; local
258 if (!X509_STORE_CTX_init(&cert_ctx, store, signer, untrusted))
260 X509_STORE_CTX_set_purpose(&cert_ctx, X509_PURPOSE_TIMESTAMP_SIGN);
261 i = X509_verify_cert(&cert_ctx);
263 int j = X509_STORE_CTX_get_error(&cert_ctx);
270 *chain = X509_STORE_CTX_get1_chain(&cert_ctx);
273 X509_STORE_CTX_cleanup(&cert_ctx);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/crypto/ts/
H A Dts_rsp_verify.c252 X509_STORE_CTX cert_ctx; local
258 if (!X509_STORE_CTX_init(&cert_ctx, store, signer, untrusted))
260 X509_STORE_CTX_set_purpose(&cert_ctx, X509_PURPOSE_TIMESTAMP_SIGN);
261 i = X509_verify_cert(&cert_ctx);
263 int j = X509_STORE_CTX_get_error(&cert_ctx);
270 *chain = X509_STORE_CTX_get1_chain(&cert_ctx);
273 X509_STORE_CTX_cleanup(&cert_ctx);
/netgear-R7000-V1.0.7.12_1.2.5/src/router/iputils/racoon/
H A Dcrypto_openssl.c222 X509_STORE *cert_ctx = NULL; local
238 cert_ctx = X509_STORE_new();
239 if (cert_ctx == NULL)
241 X509_STORE_set_verify_cb_func(cert_ctx, cb_check_cert);
243 lookup = X509_STORE_add_lookup(cert_ctx, X509_LOOKUP_file());
248 lookup = X509_STORE_add_lookup(cert_ctx, X509_LOOKUP_hash_dir());
267 X509_STORE_CTX_init(csc, cert_ctx, x509, NULL);
271 X509_STORE_CTX_init(&csc, cert_ctx, x509, NULL);
285 if (cert_ctx != NULL)
286 X509_STORE_free(cert_ctx);
[all...]

Completed in 215 milliseconds