Searched refs:cert (Results 201 - 225 of 942) sorted by relevance

1234567891011>>

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/wpa_supplicant-0.7.3/src/tls/
H A Dtlsv1_cred.c38 x509_certificate_chain_free(cred->cert);
49 struct x509_certificate *cert; local
52 cert = x509_certificate_parse(buf, len);
53 if (cert == NULL) {
59 cert->next = *chain;
60 *chain = cert;
62 x509_name_string(&cert->subject, name, sizeof(name));
147 const char *cert, const u8 *cert_blob,
153 if (cert) {
158 buf = (u8 *) os_readfile(cert,
146 tlsv1_set_cert_chain(struct x509_certificate **chain, const char *cert, const u8 *cert_blob, size_t cert_blob_len) argument
183 tlsv1_set_ca_cert(struct tlsv1_credentials *cred, const char *cert, const u8 *cert_blob, size_t cert_blob_len, const char *path) argument
210 tlsv1_set_cert(struct tlsv1_credentials *cred, const char *cert, const u8 *cert_blob, size_t cert_blob_len) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/openssl/crypto/pkcs12/
H A Dp12_kiss.c76 * Parse and decrypt a PKCS#12 structure returning user key, user cert and
78 * should point to a valid STACK structure. pkey and cert can be passed
82 int PKCS12_parse(PKCS12 *p12, const char *pass, EVP_PKEY **pkey, X509 **cert, argument
97 if (cert)
98 *cert = NULL;
137 if (pkey && *pkey && cert && !*cert) {
140 *cert = x;
168 if (cert && *cert)
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/openssl-1.0.0q/crypto/pkcs12/
H A Dp12_kiss.c74 /* Parse and decrypt a PKCS#12 structure returning user key, user cert
76 * or it should point to a valid STACK structure. pkey and cert can be
80 int PKCS12_parse(PKCS12 *p12, const char *pass, EVP_PKEY **pkey, X509 **cert, argument
95 if(cert)
96 *cert = NULL;
135 if (pkey && *pkey && cert && !*cert)
139 *cert = x;
167 if (cert && *cert)
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/openssl/crypto/pkcs12/
H A Dp12_kiss.c76 * Parse and decrypt a PKCS#12 structure returning user key, user cert and
78 * should point to a valid STACK structure. pkey and cert can be passed
82 int PKCS12_parse(PKCS12 *p12, const char *pass, EVP_PKEY **pkey, X509 **cert, argument
97 if (cert)
98 *cert = NULL;
137 if (pkey && *pkey && cert && !*cert) {
140 *cert = x;
168 if (cert && *cert)
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/openssl-1.0.0q/crypto/pkcs12/
H A Dp12_kiss.c74 /* Parse and decrypt a PKCS#12 structure returning user key, user cert
76 * or it should point to a valid STACK structure. pkey and cert can be
80 int PKCS12_parse(PKCS12 *p12, const char *pass, EVP_PKEY **pkey, X509 **cert, argument
95 if(cert)
96 *cert = NULL;
135 if (pkey && *pkey && cert && !*cert)
139 *cert = x;
167 if (cert && *cert)
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/openssl/crypto/pkcs12/
H A Dp12_kiss.c76 * Parse and decrypt a PKCS#12 structure returning user key, user cert and
78 * should point to a valid STACK structure. pkey and cert can be passed
82 int PKCS12_parse(PKCS12 *p12, const char *pass, EVP_PKEY **pkey, X509 **cert, argument
97 if (cert)
98 *cert = NULL;
137 if (pkey && *pkey && cert && !*cert) {
140 *cert = x;
168 if (cert && *cert)
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/openssl-1.0.0q/crypto/pkcs12/
H A Dp12_kiss.c74 /* Parse and decrypt a PKCS#12 structure returning user key, user cert
76 * or it should point to a valid STACK structure. pkey and cert can be
80 int PKCS12_parse(PKCS12 *p12, const char *pass, EVP_PKEY **pkey, X509 **cert, argument
95 if(cert)
96 *cert = NULL;
135 if (pkey && *pkey && cert && !*cert)
139 *cert = x;
167 if (cert && *cert)
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/openssl-1.0.0q/engines/
H A De_capi.c1217 CRYPT_KEY_PROV_INFO *capi_get_prov_info(CAPI_CTX *ctx, PCCERT_CONTEXT cert) argument
1222 if(!CertGetCertificateContextProperty(cert, CERT_KEY_PROV_INFO_PROP_ID, NULL, &len))
1230 if(!CertGetCertificateContextProperty(cert, CERT_KEY_PROV_INFO_PROP_ID, pinfo, &len))
1263 char * capi_cert_get_fname(CAPI_CTX *ctx, PCCERT_CONTEXT cert) argument
1269 if (!CertGetCertificateContextProperty(cert, CERT_FRIENDLY_NAME_PROP_ID, NULL, &dlen))
1272 if (CertGetCertificateContextProperty(cert, CERT_FRIENDLY_NAME_PROP_ID, wfname, &dlen))
1286 void capi_dump_cert(CAPI_CTX *ctx, BIO *out, PCCERT_CONTEXT cert) argument
1294 fname = capi_cert_get_fname(ctx, cert);
1304 p = cert->pbCertEncoded;
1305 x = d2i_X509(NULL, &p, cert
1359 PCCERT_CONTEXT cert = NULL; local
1399 PCCERT_CONTEXT cert = NULL; local
1462 capi_get_cert_key(CAPI_CTX *ctx, PCCERT_CONTEXT cert) argument
1489 PCCERT_CONTEXT cert; local
1634 PCCERT_CONTEXT cert = NULL, excert = NULL; local
1763 PCCERT_CONTEXT cert; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/openssl-1.0.0q/engines/
H A De_capi.c1217 CRYPT_KEY_PROV_INFO *capi_get_prov_info(CAPI_CTX *ctx, PCCERT_CONTEXT cert) argument
1222 if(!CertGetCertificateContextProperty(cert, CERT_KEY_PROV_INFO_PROP_ID, NULL, &len))
1230 if(!CertGetCertificateContextProperty(cert, CERT_KEY_PROV_INFO_PROP_ID, pinfo, &len))
1263 char * capi_cert_get_fname(CAPI_CTX *ctx, PCCERT_CONTEXT cert) argument
1269 if (!CertGetCertificateContextProperty(cert, CERT_FRIENDLY_NAME_PROP_ID, NULL, &dlen))
1272 if (CertGetCertificateContextProperty(cert, CERT_FRIENDLY_NAME_PROP_ID, wfname, &dlen))
1286 void capi_dump_cert(CAPI_CTX *ctx, BIO *out, PCCERT_CONTEXT cert) argument
1294 fname = capi_cert_get_fname(ctx, cert);
1304 p = cert->pbCertEncoded;
1305 x = d2i_X509(NULL, &p, cert
1359 PCCERT_CONTEXT cert = NULL; local
1399 PCCERT_CONTEXT cert = NULL; local
1462 capi_get_cert_key(CAPI_CTX *ctx, PCCERT_CONTEXT cert) argument
1489 PCCERT_CONTEXT cert; local
1634 PCCERT_CONTEXT cert = NULL, excert = NULL; local
1763 PCCERT_CONTEXT cert; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/openssl-1.0.0q/engines/
H A De_capi.c1217 CRYPT_KEY_PROV_INFO *capi_get_prov_info(CAPI_CTX *ctx, PCCERT_CONTEXT cert) argument
1222 if(!CertGetCertificateContextProperty(cert, CERT_KEY_PROV_INFO_PROP_ID, NULL, &len))
1230 if(!CertGetCertificateContextProperty(cert, CERT_KEY_PROV_INFO_PROP_ID, pinfo, &len))
1263 char * capi_cert_get_fname(CAPI_CTX *ctx, PCCERT_CONTEXT cert) argument
1269 if (!CertGetCertificateContextProperty(cert, CERT_FRIENDLY_NAME_PROP_ID, NULL, &dlen))
1272 if (CertGetCertificateContextProperty(cert, CERT_FRIENDLY_NAME_PROP_ID, wfname, &dlen))
1286 void capi_dump_cert(CAPI_CTX *ctx, BIO *out, PCCERT_CONTEXT cert) argument
1294 fname = capi_cert_get_fname(ctx, cert);
1304 p = cert->pbCertEncoded;
1305 x = d2i_X509(NULL, &p, cert
1359 PCCERT_CONTEXT cert = NULL; local
1399 PCCERT_CONTEXT cert = NULL; local
1462 capi_get_cert_key(CAPI_CTX *ctx, PCCERT_CONTEXT cert) argument
1489 PCCERT_CONTEXT cert; local
1634 PCCERT_CONTEXT cert = NULL, excert = NULL; local
1763 PCCERT_CONTEXT cert; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/wpa_supplicant/src/crypto/
H A Dtls_openssl.c119 const CERT_CONTEXT *cert; member in struct:cryptoapi_rsa_data
242 if (priv->cert)
243 CertFreeCertificateContext(priv->cert);
270 if (strncmp(name, "cert://", 7) == 0) {
305 X509 *cert = NULL; local
311 (strncmp(name, "cert://", 7) != 0 &&
325 priv->cert = cryptoapi_find_cert(name, CERT_SYSTEM_STORE_CURRENT_USER);
326 if (priv->cert == NULL) {
327 priv->cert = cryptoapi_find_cert(
330 if (priv->cert
407 X509 *cert; local
934 tls_match_altsubject_component(X509 *cert, int type, const char *value, size_t len) argument
956 tls_match_altsubject(X509 *cert, const char *match) argument
1096 X509 *cert = d2i_X509(NULL, (OPENSSL_d2i_TYPE) &ca_cert_blob, local
1364 X509 *cert; local
1489 tls_engine_get_cert(struct tls_connection *conn, const char *cert_id, X509 **cert) argument
1496 X509 *cert; member in struct:__anon10513
1523 X509 *cert; local
1550 X509 *cert; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/wpa_supplicant/src/crypto/
H A Dtls_openssl.c119 const CERT_CONTEXT *cert; member in struct:cryptoapi_rsa_data
242 if (priv->cert)
243 CertFreeCertificateContext(priv->cert);
270 if (strncmp(name, "cert://", 7) == 0) {
305 X509 *cert = NULL; local
311 (strncmp(name, "cert://", 7) != 0 &&
325 priv->cert = cryptoapi_find_cert(name, CERT_SYSTEM_STORE_CURRENT_USER);
326 if (priv->cert == NULL) {
327 priv->cert = cryptoapi_find_cert(
330 if (priv->cert
407 X509 *cert; local
934 tls_match_altsubject_component(X509 *cert, int type, const char *value, size_t len) argument
956 tls_match_altsubject(X509 *cert, const char *match) argument
1096 X509 *cert = d2i_X509(NULL, (OPENSSL_d2i_TYPE) &ca_cert_blob, local
1364 X509 *cert; local
1489 tls_engine_get_cert(struct tls_connection *conn, const char *cert_id, X509 **cert) argument
1496 X509 *cert; member in struct:__anon421
1523 X509 *cert; local
1550 X509 *cert; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/wpa_supplicant/src/crypto/
H A Dtls_openssl.c119 const CERT_CONTEXT *cert; member in struct:cryptoapi_rsa_data
242 if (priv->cert)
243 CertFreeCertificateContext(priv->cert);
270 if (strncmp(name, "cert://", 7) == 0) {
305 X509 *cert = NULL; local
311 (strncmp(name, "cert://", 7) != 0 &&
325 priv->cert = cryptoapi_find_cert(name, CERT_SYSTEM_STORE_CURRENT_USER);
326 if (priv->cert == NULL) {
327 priv->cert = cryptoapi_find_cert(
330 if (priv->cert
407 X509 *cert; local
934 tls_match_altsubject_component(X509 *cert, int type, const char *value, size_t len) argument
956 tls_match_altsubject(X509 *cert, const char *match) argument
1096 X509 *cert = d2i_X509(NULL, (OPENSSL_d2i_TYPE) &ca_cert_blob, local
1364 X509 *cert; local
1489 tls_engine_get_cert(struct tls_connection *conn, const char *cert_id, X509 **cert) argument
1496 X509 *cert; member in struct:__anon44538
1523 X509 *cert; local
1550 X509 *cert; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/openssl/ssl/
H A Ds3_lib.c3139 if (!ssl_cert_inst(&s->cert)) {
3167 if ((s->cert != NULL) && (s->cert->rsa_tmp == NULL) &&
3168 ((s->cert->pkeys[SSL_PKEY_RSA_ENC].privatekey == NULL) ||
3169 (EVP_PKEY_size(s->cert->pkeys[SSL_PKEY_RSA_ENC].privatekey) >
3184 if (s->cert->rsa_tmp != NULL)
3185 RSA_free(s->cert->rsa_tmp);
3186 s->cert->rsa_tmp = rsa;
3216 if (s->cert->dh_tmp != NULL)
3217 DH_free(s->cert
3656 CERT *cert; local
3936 CERT *cert; local
4048 CERT *cert; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/openssl/ssl/
H A Ds3_lib.c3139 if (!ssl_cert_inst(&s->cert)) {
3167 if ((s->cert != NULL) && (s->cert->rsa_tmp == NULL) &&
3168 ((s->cert->pkeys[SSL_PKEY_RSA_ENC].privatekey == NULL) ||
3169 (EVP_PKEY_size(s->cert->pkeys[SSL_PKEY_RSA_ENC].privatekey) >
3184 if (s->cert->rsa_tmp != NULL)
3185 RSA_free(s->cert->rsa_tmp);
3186 s->cert->rsa_tmp = rsa;
3216 if (s->cert->dh_tmp != NULL)
3217 DH_free(s->cert
3656 CERT *cert; local
3936 CERT *cert; local
4048 CERT *cert; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/openssl/ssl/
H A Ds3_lib.c3139 if (!ssl_cert_inst(&s->cert)) {
3167 if ((s->cert != NULL) && (s->cert->rsa_tmp == NULL) &&
3168 ((s->cert->pkeys[SSL_PKEY_RSA_ENC].privatekey == NULL) ||
3169 (EVP_PKEY_size(s->cert->pkeys[SSL_PKEY_RSA_ENC].privatekey) >
3184 if (s->cert->rsa_tmp != NULL)
3185 RSA_free(s->cert->rsa_tmp);
3186 s->cert->rsa_tmp = rsa;
3216 if (s->cert->dh_tmp != NULL)
3217 DH_free(s->cert
3656 CERT *cert; local
3936 CERT *cert; local
4048 CERT *cert; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/wpa_supplicant-0.7.3/src/crypto/
H A Dtls_openssl.c135 const CERT_CONTEXT *cert; member in struct:cryptoapi_rsa_data
258 if (priv->cert)
259 CertFreeCertificateContext(priv->cert);
286 if (strncmp(name, "cert://", 7) == 0) {
321 X509 *cert = NULL; local
327 (strncmp(name, "cert://", 7) != 0 &&
341 priv->cert = cryptoapi_find_cert(name, CERT_SYSTEM_STORE_CURRENT_USER);
342 if (priv->cert == NULL) {
343 priv->cert = cryptoapi_find_cert(
346 if (priv->cert
423 X509 *cert; local
980 tls_match_altsubject_component(X509 *cert, int type, const char *value, size_t len) argument
1002 tls_match_altsubject(X509 *cert, const char *match) argument
1083 get_x509_cert(X509 *cert) argument
1108 struct wpabuf *cert = NULL; local
1130 struct wpabuf *cert = NULL; local
1193 struct wpabuf *cert; local
1353 X509 *cert = d2i_X509(NULL, (OPENSSL_d2i_TYPE) &ca_cert_blob, local
1620 X509 *cert; local
1745 tls_engine_get_cert(struct tls_connection *conn, const char *cert_id, X509 **cert) argument
1752 X509 *cert; member in struct:__anon10734
1779 X509 *cert; local
1806 X509 *cert; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/wpa_supplicant-0.7.3/src/crypto/
H A Dtls_openssl.c135 const CERT_CONTEXT *cert; member in struct:cryptoapi_rsa_data
258 if (priv->cert)
259 CertFreeCertificateContext(priv->cert);
286 if (strncmp(name, "cert://", 7) == 0) {
321 X509 *cert = NULL; local
327 (strncmp(name, "cert://", 7) != 0 &&
341 priv->cert = cryptoapi_find_cert(name, CERT_SYSTEM_STORE_CURRENT_USER);
342 if (priv->cert == NULL) {
343 priv->cert = cryptoapi_find_cert(
346 if (priv->cert
423 X509 *cert; local
980 tls_match_altsubject_component(X509 *cert, int type, const char *value, size_t len) argument
1002 tls_match_altsubject(X509 *cert, const char *match) argument
1083 get_x509_cert(X509 *cert) argument
1108 struct wpabuf *cert = NULL; local
1130 struct wpabuf *cert = NULL; local
1193 struct wpabuf *cert; local
1353 X509 *cert = d2i_X509(NULL, (OPENSSL_d2i_TYPE) &ca_cert_blob, local
1620 X509 *cert; local
1745 tls_engine_get_cert(struct tls_connection *conn, const char *cert_id, X509 **cert) argument
1752 X509 *cert; member in struct:__anon642
1779 X509 *cert; local
1806 X509 *cert; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/wpa_supplicant-0.7.3/src/crypto/
H A Dtls_openssl.c135 const CERT_CONTEXT *cert; member in struct:cryptoapi_rsa_data
258 if (priv->cert)
259 CertFreeCertificateContext(priv->cert);
286 if (strncmp(name, "cert://", 7) == 0) {
321 X509 *cert = NULL; local
327 (strncmp(name, "cert://", 7) != 0 &&
341 priv->cert = cryptoapi_find_cert(name, CERT_SYSTEM_STORE_CURRENT_USER);
342 if (priv->cert == NULL) {
343 priv->cert = cryptoapi_find_cert(
346 if (priv->cert
423 X509 *cert; local
980 tls_match_altsubject_component(X509 *cert, int type, const char *value, size_t len) argument
1002 tls_match_altsubject(X509 *cert, const char *match) argument
1083 get_x509_cert(X509 *cert) argument
1108 struct wpabuf *cert = NULL; local
1130 struct wpabuf *cert = NULL; local
1193 struct wpabuf *cert; local
1353 X509 *cert = d2i_X509(NULL, (OPENSSL_d2i_TYPE) &ca_cert_blob, local
1620 X509 *cert; local
1745 tls_engine_get_cert(struct tls_connection *conn, const char *cert_id, X509 **cert) argument
1752 X509 *cert; member in struct:__anon44759
1779 X509 *cert; local
1806 X509 *cert; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/openssl/demos/x509/
H A Dmkcert.c16 int add_ext(X509 *cert, int nid, char *value);
150 int add_ext(X509 *cert, int nid, char *value) argument
161 X509V3_set_ctx(&ctx, cert, cert, NULL, NULL, 0);
166 X509_add_ext(cert, ex, -1);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/openssl-1.0.0q/demos/x509/
H A Dmkcert.c17 int add_ext(X509 *cert, int nid, char *value);
153 int add_ext(X509 *cert, int nid, char *value) argument
163 X509V3_set_ctx(&ctx, cert, cert, NULL, NULL, 0);
168 X509_add_ext(cert,ex,-1);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/openssl-1.0.0q/demos/x509/
H A Dmkcert.c17 int add_ext(X509 *cert, int nid, char *value);
153 int add_ext(X509 *cert, int nid, char *value) argument
163 X509V3_set_ctx(&ctx, cert, cert, NULL, NULL, 0);
168 X509_add_ext(cert,ex,-1);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/openssl/demos/x509/
H A Dmkcert.c16 int add_ext(X509 *cert, int nid, char *value);
150 int add_ext(X509 *cert, int nid, char *value) argument
161 X509V3_set_ctx(&ctx, cert, cert, NULL, NULL, 0);
166 X509_add_ext(cert, ex, -1);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/openssl/demos/x509/
H A Dmkcert.c16 int add_ext(X509 *cert, int nid, char *value);
150 int add_ext(X509 *cert, int nid, char *value) argument
161 X509V3_set_ctx(&ctx, cert, cert, NULL, NULL, 0);
166 X509_add_ext(cert, ex, -1);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/openssl-1.0.0q/demos/x509/
H A Dmkcert.c17 int add_ext(X509 *cert, int nid, char *value);
153 int add_ext(X509 *cert, int nid, char *value) argument
163 X509V3_set_ctx(&ctx, cert, cert, NULL, NULL, 0);
168 X509_add_ext(cert,ex,-1);

Completed in 400 milliseconds

1234567891011>>