Home
last modified time | relevance | path

Searched refs:crl (Results 1 – 25 of 162) sorted by relevance

1234567

/third_party/openssl/crypto/x509/
Dx_crl.c20 static int setup_idp(X509_CRL *crl, ISSUING_DIST_POINT *idp);
28 static int def_crl_verify(X509_CRL *crl, EVP_PKEY *r);
29 static int def_crl_lookup(X509_CRL *crl,
82 static int crl_set_issuers(X509_CRL *crl)
89 revoked = X509_CRL_get_REVOKED(crl);
100 crl->flags |= EXFLAG_INVALID;
106 if (crl->issuers == NULL) {
107 crl->issuers = sk_GENERAL_NAMES_new_null();
108 if (crl->issuers == NULL) {
113 if (!sk_GENERAL_NAMES_push(crl->issuers, gtmp)) {
[all …]
Dx509cset.c23 if (x->crl.version == NULL) { in X509_CRL_set_version()
24 if ((x->crl.version = ASN1_INTEGER_new()) == NULL) in X509_CRL_set_version()
27 return ASN1_INTEGER_set(x->crl.version, version); in X509_CRL_set_version()
34 return X509_NAME_set(&x->crl.issuer, name); in X509_CRL_set_issuer_name()
41 return ossl_x509_set1_time(&x->crl.lastUpdate, tm); in X509_CRL_set1_lastUpdate()
48 return ossl_x509_set1_time(&x->crl.nextUpdate, tm); in X509_CRL_set1_nextUpdate()
58 sk_X509_REVOKED_sort(c->crl.revoked); in X509_CRL_sort()
59 for (i = 0; i < sk_X509_REVOKED_num(c->crl.revoked); i++) { in X509_CRL_sort()
60 r = sk_X509_REVOKED_value(c->crl.revoked, i); in X509_CRL_sort()
63 c->crl.enc.modified = 1; in X509_CRL_sort()
[all …]
Dx509_vfy.c64 unsigned int *preasons, X509_CRL *crl, X509 *x);
70 static void crl_akid_check(X509_STORE_CTX *ctx, X509_CRL *crl, X509 **pissuer,
72 static int crl_crldp_check(X509 *x, X509_CRL *crl, int crl_score,
934 X509_CRL *crl = NULL, *dcrl = NULL; in check_cert() local
952 ok = ctx->get_crl(ctx, &crl, x); in check_cert()
954 ok = get_crl_delta(ctx, &crl, &dcrl, x); in check_cert()
960 ctx->current_crl = crl; in check_cert()
961 ok = ctx->check_crl(ctx, crl); in check_cert()
978 ok = ctx->cert_crl(ctx, crl, x); in check_cert()
983 X509_CRL_free(crl); in check_cert()
[all …]
Dx509_ext.c21 return X509v3_get_ext_count(x->crl.extensions); in X509_CRL_get_ext_count()
26 return X509v3_get_ext_by_NID(x->crl.extensions, nid, lastpos); in X509_CRL_get_ext_by_NID()
32 return X509v3_get_ext_by_OBJ(x->crl.extensions, obj, lastpos); in X509_CRL_get_ext_by_OBJ()
37 return X509v3_get_ext_by_critical(x->crl.extensions, crit, lastpos); in X509_CRL_get_ext_by_critical()
42 return X509v3_get_ext(x->crl.extensions, loc); in X509_CRL_get_ext()
47 return X509v3_delete_ext(x->crl.extensions, loc); in X509_CRL_delete_ext()
52 return X509V3_get_d2i(x->crl.extensions, nid, crit, idx); in X509_CRL_get_ext_d2i()
58 return X509V3_add1_i2d(&x->crl.extensions, nid, value, crit, flags); in X509_CRL_add1_ext_i2d()
63 return (X509v3_add_ext(&(x->crl.extensions), ex, loc) != NULL); in X509_CRL_add_ext()
Dx509_local.h67 int (*crl_init) (X509_CRL *crl);
68 int (*crl_free) (X509_CRL *crl);
69 int (*crl_lookup) (X509_CRL *crl, X509_REVOKED **ret,
71 int (*crl_verify) (X509_CRL *crl, EVP_PKEY *pk);
133 int (*get_crl) (X509_STORE_CTX *ctx, X509_CRL **crl, X509 *x);
135 int (*check_crl) (X509_STORE_CTX *ctx, X509_CRL *crl);
137 int (*cert_crl) (X509_STORE_CTX *ctx, X509_CRL *crl, X509 *x);
Dx_all.c142 x->crl.enc.modified = 1; in X509_CRL_sign()
143 return ASN1_item_sign_ex(ASN1_ITEM_rptr(X509_CRL_INFO), &x->crl.sig_alg, in X509_CRL_sign()
144 &x->sig_alg, &x->signature, &x->crl, NULL, in X509_CRL_sign()
154 x->crl.enc.modified = 1; in X509_CRL_sign_ctx()
156 &x->crl.sig_alg, &x->sig_alg, &x->signature, in X509_CRL_sign_ctx()
157 &x->crl, ctx); in X509_CRL_sign_ctx()
196 X509_CRL *d2i_X509_CRL_fp(FILE *fp, X509_CRL **crl) in d2i_X509_CRL_fp() argument
198 return ASN1_item_d2i_fp(ASN1_ITEM_rptr(X509_CRL), fp, crl); in d2i_X509_CRL_fp()
201 int i2d_X509_CRL_fp(FILE *fp, const X509_CRL *crl) in i2d_X509_CRL_fp() argument
203 return ASN1_item_i2d_fp(ASN1_ITEM_rptr(X509_CRL), fp, crl); in i2d_X509_CRL_fp()
[all …]
/third_party/mbedtls/library/
Dx509_crl.c302 mbedtls_x509_crl *crl = chain; in mbedtls_x509_crl_parse_der() local
307 if( crl == NULL || buf == NULL ) in mbedtls_x509_crl_parse_der()
317 while( crl->version != 0 && crl->next != NULL ) in mbedtls_x509_crl_parse_der()
318 crl = crl->next; in mbedtls_x509_crl_parse_der()
320 if( crl->version != 0 && crl->next == NULL ) in mbedtls_x509_crl_parse_der()
322 crl->next = mbedtls_calloc( 1, sizeof( mbedtls_x509_crl ) ); in mbedtls_x509_crl_parse_der()
324 if( crl->next == NULL ) in mbedtls_x509_crl_parse_der()
326 mbedtls_x509_crl_free( crl ); in mbedtls_x509_crl_parse_der()
330 mbedtls_x509_crl_init( crl->next ); in mbedtls_x509_crl_parse_der()
331 crl = crl->next; in mbedtls_x509_crl_parse_der()
[all …]
/third_party/mbedtls/programs/x509/
Dcrl_app.c74 mbedtls_x509_crl crl; in main() local
81 mbedtls_x509_crl_init( &crl ); in main()
111 ret = mbedtls_x509_crl_parse_file( &crl, opt.filename ); in main()
116 mbedtls_x509_crl_free( &crl ); in main()
126 ret = mbedtls_x509_crl_info( (char *) buf, sizeof( buf ) - 1, " ", &crl ); in main()
130 mbedtls_x509_crl_free( &crl ); in main()
139 mbedtls_x509_crl_free( &crl ); in main()
/third_party/openssl/apps/
Dcrl2pkcs7.c57 X509_CRL *crl = NULL; in crl2pkcs7_main() local
117 crl = d2i_X509_CRL_bio(in, NULL); in crl2pkcs7_main()
119 crl = PEM_read_bio_X509_CRL(in, NULL, NULL, NULL); in crl2pkcs7_main()
120 if (crl == NULL) { in crl2pkcs7_main()
138 if (crl != NULL) { in crl2pkcs7_main()
141 p7s->crl = crl_stack; in crl2pkcs7_main()
142 sk_X509_CRL_push(crl_stack, crl); in crl2pkcs7_main()
143 crl = NULL; /* now part of p7 for OPENSSL_freeing */ in crl2pkcs7_main()
180 X509_CRL_free(crl); in crl2pkcs7_main()
Dpkcs7.c155 crls = p7->d.sign->crl; in pkcs7_main()
161 crls = p7->d.signed_and_enveloped->crl; in pkcs7_main()
184 X509_CRL *crl; in pkcs7_main() local
187 crl = sk_X509_CRL_value(crls, i); in pkcs7_main()
189 X509_CRL_print_ex(out, crl, get_nameopt()); in pkcs7_main()
192 PEM_write_bio_X509_CRL(out, crl); in pkcs7_main()
/third_party/mbedtls/programs/fuzz/
Dfuzz_x509crl.c9 mbedtls_x509_crl crl; in LLVMFuzzerTestOneInput() local
12 mbedtls_x509_crl_init( &crl ); in LLVMFuzzerTestOneInput()
13 ret = mbedtls_x509_crl_parse( &crl, Data, Size ); in LLVMFuzzerTestOneInput()
16 ret = mbedtls_x509_crl_info( (char *) buf, sizeof( buf ) - 1, " ", &crl ); in LLVMFuzzerTestOneInput()
22 mbedtls_x509_crl_free( &crl ); in LLVMFuzzerTestOneInput()
/third_party/openssl/fuzz/
Dcrl.c29 X509_CRL *crl = d2i_X509_CRL(NULL, &p, len); in FuzzerTestOneInput() local
30 if (crl != NULL) { in FuzzerTestOneInput()
32 X509_CRL_print(bio, crl); in FuzzerTestOneInput()
35 i2d_X509_CRL(crl, &der); in FuzzerTestOneInput()
38 X509_CRL_free(crl); in FuzzerTestOneInput()
Dbuild.info12 PROGRAMS{noinst}=asn1 asn1parse bignum bndiv client conf crl server x509
58 SOURCE[crl]=crl.c driver.c
59 INCLUDE[crl]=../include {- $ex_inc -}
60 DEPEND[crl]=../libcrypto {- $ex_lib -}
76 …PROGRAMS{noinst}=asn1-test asn1parse-test bignum-test bndiv-test client-test conf-test crl-test se…
123 SOURCE[crl-test]=crl.c test-corpus.c
124 INCLUDE[crl-test]=../include
125 DEPEND[crl-test]=../libcrypto
/third_party/libjpeg-turbo/simd/mips64/
Djdmrgext-mmi.c98 __m64 cbl, cbl2, cbh, cbh2, cb, crl, crl2, crh, crh2, cr; in jsimd_h2v1_merged_upsample_mmi() local
128 crl = _mm_unpacklo_pi8(cr, zero); /* Cr(0123) */ in jsimd_h2v1_merged_upsample_mmi()
132 crl = _mm_add_pi16(crl, decenter); in jsimd_h2v1_merged_upsample_mmi()
148 crl2 = _mm_add_pi16(crl, crl); /* 2*CrL */ in jsimd_h2v1_merged_upsample_mmi()
169 rl = _mm_add_pi16(rl, crl); /* (CrL * FIX(1.40200))=(R-Y)L */ in jsimd_h2v1_merged_upsample_mmi()
172 ga = _mm_unpacklo_pi16(cbl, crl); in jsimd_h2v1_merged_upsample_mmi()
173 gb = _mm_unpackhi_pi16(cbl, crl); in jsimd_h2v1_merged_upsample_mmi()
192 gl = _mm_sub_pi16(gl, crl); /* CbL*-FIX(0.344)+CrL*-FIX(0.714)=(G-Y)L */ in jsimd_h2v1_merged_upsample_mmi()
511 crl = _mm_unpacklo_pi8(cr, zero); /* Cr(0123) */ in jsimd_h2v1_merged_upsample_mmi()
513 crl = _mm_add_pi16(crl, decenter); in jsimd_h2v1_merged_upsample_mmi()
[all …]
/third_party/openssl/doc/man3/
DX509_CRL_get0_by_serial.pod15 int X509_CRL_get0_by_serial(X509_CRL *crl,
17 int X509_CRL_get0_by_cert(X509_CRL *crl, X509_REVOKED **ret, X509 *x);
19 STACK_OF(X509_REVOKED) *X509_CRL_get_REVOKED(X509_CRL *crl);
27 int X509_CRL_add0_revoked(X509_CRL *crl, X509_REVOKED *rev);
29 int X509_CRL_sort(X509_CRL *crl);
33 X509_CRL_get0_by_serial() attempts to find a revoked entry in I<crl> for
42 revoked entries for I<crl>.
58 X509_CRL_add0_revoked() appends revoked entry I<rev> to CRL I<crl>. The
62 X509_CRL_sort() sorts the revoked entries of I<crl> into ascending serial
/third_party/libjpeg-turbo/simd/powerpc/
Djdcolext-altivec.c49 crl, crh, rl, rh, gl, gh, bl, bh, g0w, g1w, g2w, g3w; in jsimd_ycc_rgb_convert_altivec() local
96 crl = (__vector signed short)VEC_UNPACKHU(cr); in jsimd_ycc_rgb_convert_altivec()
98 crl = vec_sub(crl, pw_cj); in jsimd_ycc_rgb_convert_altivec()
124 rl = vec_add(crl, crl); in jsimd_ycc_rgb_convert_altivec()
130 rl = vec_add(rl, crl); in jsimd_ycc_rgb_convert_altivec()
135 g0w = vec_mergeh(cbl, crl); in jsimd_ycc_rgb_convert_altivec()
136 g1w = vec_mergel(cbl, crl); in jsimd_ycc_rgb_convert_altivec()
150 gl = vec_sub(gl, crl); in jsimd_ycc_rgb_convert_altivec()
Djdmrgext-altivec.c50 crl, crh, r_yl, r_yh, g_yl, g_yh, b_yl, b_yh, g_y0w, g_y1w, g_y2w, g_y3w, in jsimd_h2v1_merged_upsample_altivec() local
98 crl = (__vector signed short)VEC_UNPACKHU(cr); in jsimd_h2v1_merged_upsample_altivec()
100 crl = vec_sub(crl, pw_cj); in jsimd_h2v1_merged_upsample_altivec()
124 r_yl = vec_add(crl, crl); in jsimd_h2v1_merged_upsample_altivec()
130 r_yl = vec_add(r_yl, crl); in jsimd_h2v1_merged_upsample_altivec()
133 g_y0w = vec_mergeh(cbl, crl); in jsimd_h2v1_merged_upsample_altivec()
134 g_y1w = vec_mergel(cbl, crl); in jsimd_h2v1_merged_upsample_altivec()
150 g_yl = vec_sub(g_yl, crl); in jsimd_h2v1_merged_upsample_altivec()
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/simd/powerpc/
Djdcolext-altivec.c49 crl, crh, rl, rh, gl, gh, bl, bh, g0w, g1w, g2w, g3w; in jsimd_ycc_rgb_convert_altivec() local
96 crl = (__vector signed short)VEC_UNPACKHU(cr); in jsimd_ycc_rgb_convert_altivec()
98 crl = vec_sub(crl, pw_cj); in jsimd_ycc_rgb_convert_altivec()
124 rl = vec_add(crl, crl); in jsimd_ycc_rgb_convert_altivec()
130 rl = vec_add(rl, crl); in jsimd_ycc_rgb_convert_altivec()
135 g0w = vec_mergeh(cbl, crl); in jsimd_ycc_rgb_convert_altivec()
136 g1w = vec_mergel(cbl, crl); in jsimd_ycc_rgb_convert_altivec()
150 gl = vec_sub(gl, crl); in jsimd_ycc_rgb_convert_altivec()
Djdmrgext-altivec.c50 crl, crh, r_yl, r_yh, g_yl, g_yh, b_yl, b_yh, g_y0w, g_y1w, g_y2w, g_y3w, in jsimd_h2v1_merged_upsample_altivec() local
98 crl = (__vector signed short)VEC_UNPACKHU(cr); in jsimd_h2v1_merged_upsample_altivec()
100 crl = vec_sub(crl, pw_cj); in jsimd_h2v1_merged_upsample_altivec()
124 r_yl = vec_add(crl, crl); in jsimd_h2v1_merged_upsample_altivec()
130 r_yl = vec_add(r_yl, crl); in jsimd_h2v1_merged_upsample_altivec()
133 g_y0w = vec_mergeh(cbl, crl); in jsimd_h2v1_merged_upsample_altivec()
134 g_y1w = vec_mergel(cbl, crl); in jsimd_h2v1_merged_upsample_altivec()
150 g_yl = vec_sub(g_yl, crl); in jsimd_h2v1_merged_upsample_altivec()
/third_party/openssl/ohos_lite/include/openssl/
Dx509.h247 X509_CRL *crl; member
335 X509_CRL_METHOD *X509_CRL_METHOD_new(int (*crl_init) (X509_CRL *crl),
336 int (*crl_free) (X509_CRL *crl),
337 int (*crl_lookup) (X509_CRL *crl,
341 int (*crl_verify) (X509_CRL *crl,
345 void X509_CRL_set_meth_data(X509_CRL *crl, void *dat);
346 void *X509_CRL_get_meth_data(X509_CRL *crl);
395 X509_CRL *d2i_X509_CRL_fp(FILE *fp, X509_CRL **crl);
396 int i2d_X509_CRL_fp(FILE *fp, X509_CRL *crl);
433 X509_CRL *d2i_X509_CRL_bio(BIO *bp, X509_CRL **crl);
[all …]
/third_party/openssl/test/recipes/90-test_includes_data/conf-includes/
Dincludes1.cnf16 crl_dir = $dir/crl # Where the issued crl are kept
22 crl = $dir/crl.pem # The current CRL
/third_party/mbedtls/tests/data_files/
DReadme-x509.txt111 - crl-ec-sha*.pem: (2) server6.crt
112 - crl-future.pem: (2) server6.crt + unknown
113 - crl-rsa-pss-*.pem: (1) server9{,badsign,with-ca}.crt + cert_sha384.crt + unknown
114 - crl.pem, crl-futureRevocationDate.pem, crl_expired.pem: (1) server1{,.cert_type,.key_usage,.v1}.c…
115 - crl_md*.pem: crl_sha*.pem: (1) same as crl.pem
117 ec = crl-ec-sha256.pem, ecfut = crl-future.pem
118 rsa = crl.pem, rsabadpem = same with pem error, rsaexp = crl_expired.pem
121 crl-rsa-pss* would revoke server6.crt if signed by CA 2
/third_party/openssl/doc/man1/
Dopenssl-crl.pod.in6 openssl-crl - CRL command
10 B<openssl> B<crl>
144 openssl crl -in crl.pem -outform DER -out crl.der
148 openssl crl -in crl.der -text -noout
/third_party/node/test/parallel/
Dtest-tls-server-verify.js113 crl: 'ca2-crl', property
251 const crl = tcase.crl ? loadPEM(tcase.crl) : null;
257 crl: crl, property
/third_party/openssl/crypto/store/
Dstore_result.c507 X509_CRL *crl; in try_crl() local
509 crl = d2i_X509_CRL(NULL, (const unsigned char **)&data->octet_data, in try_crl()
512 if (crl != NULL) in try_crl()
516 if (crl != NULL && !ossl_x509_crl_set0_libctx(crl, libctx, propq)) { in try_crl()
517 X509_CRL_free(crl); in try_crl()
518 crl = NULL; in try_crl()
521 if (crl != NULL) in try_crl()
522 *v = OSSL_STORE_INFO_new_CRL(crl); in try_crl()
524 X509_CRL_free(crl); in try_crl()

1234567