Home
last modified time | relevance | path

Searched refs:csr (Results 1 – 25 of 125) sorted by relevance

12345

/external/mbedtls/library/
Dx509_csr.c77 int mbedtls_x509_csr_parse_der( mbedtls_x509_csr *csr, in mbedtls_x509_csr_parse_der() argument
90 if( csr == NULL || buf == NULL || buflen == 0 ) in mbedtls_x509_csr_parse_der()
93 mbedtls_x509_csr_init( csr ); in mbedtls_x509_csr_parse_der()
105 csr->raw.p = p; in mbedtls_x509_csr_parse_der()
106 csr->raw.len = len; in mbedtls_x509_csr_parse_der()
119 mbedtls_x509_csr_free( csr ); in mbedtls_x509_csr_parse_der()
125 mbedtls_x509_csr_free( csr ); in mbedtls_x509_csr_parse_der()
133 csr->cri.p = p; in mbedtls_x509_csr_parse_der()
138 mbedtls_x509_csr_free( csr ); in mbedtls_x509_csr_parse_der()
143 csr->cri.len = end - csr->cri.p; in mbedtls_x509_csr_parse_der()
[all …]
/external/openthread/third_party/mbedtls/repo/library/
Dx509_csr.c85 int mbedtls_x509_csr_parse_der( mbedtls_x509_csr *csr, in mbedtls_x509_csr_parse_der() argument
98 if( csr == NULL || buf == NULL || buflen == 0 ) in mbedtls_x509_csr_parse_der()
101 mbedtls_x509_csr_init( csr ); in mbedtls_x509_csr_parse_der()
113 csr->raw.p = p; in mbedtls_x509_csr_parse_der()
114 csr->raw.len = len; in mbedtls_x509_csr_parse_der()
127 mbedtls_x509_csr_free( csr ); in mbedtls_x509_csr_parse_der()
133 mbedtls_x509_csr_free( csr ); in mbedtls_x509_csr_parse_der()
141 csr->cri.p = p; in mbedtls_x509_csr_parse_der()
146 mbedtls_x509_csr_free( csr ); in mbedtls_x509_csr_parse_der()
151 csr->cri.len = end - csr->cri.p; in mbedtls_x509_csr_parse_der()
[all …]
/external/rust/crates/x509-parser/tests/
Dreadcsr.rs9 let (rem, csr) = in read_csr_empty_attrib()
13 let cri = &csr.certification_request_info; in read_csr_empty_attrib()
16 assert_eq!(csr.signature_algorithm.algorithm, OID_PKCS1_SHA256WITHRSA); in read_csr_empty_attrib()
22 let (rem, csr) = in read_csr_with_san()
26 let cri = &csr.certification_request_info; in read_csr_with_san()
29 assert_eq!(csr.signature_algorithm.algorithm, OID_SIG_ECDSA_WITH_SHA256); in read_csr_with_san()
45 let mut extensions = csr.requested_extensions().unwrap(); in read_csr_with_san()
59 let (_, csr) = X509CertificationRequest::from_der(&der.contents).expect("could not parse CSR"); in read_csr_verify()
60 csr.verify_signature().unwrap(); in read_csr_verify()
69 let (_, csr) = X509CertificationRequest::from_der(&der.contents).expect("could not parse CSR"); in read_csr_verify()
[all …]
/external/ethtool/
Dpcnet32.c26 int i, csr; in pcnet32_dump_regs() local
39 csr = i; in pcnet32_dump_regs()
42 if (((i-csr) & 7) == 0) printf("CSR%02d: ", i-csr); in pcnet32_dump_regs()
44 if (((i-csr) & 7) == 7) printf("\n"); in pcnet32_dump_regs()
46 if (((i-csr) & 7) != 7) printf("\n"); in pcnet32_dump_regs()
48 csr = i; in pcnet32_dump_regs()
51 if (((i-csr) & 7) == 0) printf("BCR%02d: ", i-csr); in pcnet32_dump_regs()
53 if (((i-csr) & 7) == 7) printf("\n"); in pcnet32_dump_regs()
55 if (((i-csr) & 7) != 7) printf("\n"); in pcnet32_dump_regs()
57 csr = i; in pcnet32_dump_regs()
[all …]
/external/llvm/test/MC/Sparc/
Dsparc-coproc.s51 ! CHECK: ld [%i5], %csr ! encoding: [0xc1,0x8f,0x40,0x00]
52 ! CHECK: ld [%l2+3], %csr ! encoding: [0xc1,0x8c,0xa0,0x03]
53 ! CHECK: ld [%l4+%l5], %csr ! encoding: [0xc1,0x8d,0x00,0x15]
54 ld [%i5], %csr
55 ld [%l2+3], %csr
56 ld [%l4+%l5], %csr
59 ! CHECK: st %csr, [%i2] ! encoding: [0xc1,0xae,0x80,0x00]
60 ! CHECK: st %csr, [%i2+31] ! encoding: [0xc1,0xae,0xa0,0x1f]
61 ! CHECK: st %csr, [%i2+%o2] ! encoding: [0xc1,0xae,0x80,0x0a]
62 st %csr, [%i2]
[all …]
/external/mbedtls/programs/x509/
Dreq_app.c65 mbedtls_x509_csr csr; in main() local
72 mbedtls_x509_csr_init( &csr ); in main()
102 ret = mbedtls_x509_csr_parse_file( &csr, opt.filename ); in main()
107 mbedtls_x509_csr_free( &csr ); in main()
117 ret = mbedtls_x509_csr_info( (char *) buf, sizeof( buf ) - 1, " ", &csr ); in main()
121 mbedtls_x509_csr_free( &csr ); in main()
130 mbedtls_x509_csr_free( &csr ); in main()
/external/openthread/third_party/mbedtls/repo/programs/x509/
Dreq_app.c76 mbedtls_x509_csr csr; in main() local
83 mbedtls_x509_csr_init( &csr ); in main()
113 ret = mbedtls_x509_csr_parse_file( &csr, opt.filename ); in main()
118 mbedtls_x509_csr_free( &csr ); in main()
128 ret = mbedtls_x509_csr_info( (char *) buf, sizeof( buf ) - 1, " ", &csr ); in main()
132 mbedtls_x509_csr_free( &csr ); in main()
141 mbedtls_x509_csr_free( &csr ); in main()
/external/openthread/third_party/mbedtls/repo/programs/fuzz/
Dfuzz_x509csr.c7 mbedtls_x509_csr csr; in LLVMFuzzerTestOneInput() local
10 mbedtls_x509_csr_init( &csr ); in LLVMFuzzerTestOneInput()
11 ret = mbedtls_x509_csr_parse( &csr, Data, Size ); in LLVMFuzzerTestOneInput()
13 ret = mbedtls_x509_csr_info( (char *) buf, sizeof( buf ) - 1, " ", &csr ); in LLVMFuzzerTestOneInput()
15 mbedtls_x509_csr_free( &csr ); in LLVMFuzzerTestOneInput()
/external/mbedtls/programs/fuzz/
Dfuzz_x509csr.c9 mbedtls_x509_csr csr; in LLVMFuzzerTestOneInput() local
12 mbedtls_x509_csr_init( &csr ); in LLVMFuzzerTestOneInput()
13 ret = mbedtls_x509_csr_parse( &csr, Data, Size ); in LLVMFuzzerTestOneInput()
16 ret = mbedtls_x509_csr_info( (char *) buf, sizeof( buf ) - 1, " ", &csr ); in LLVMFuzzerTestOneInput()
22 mbedtls_x509_csr_free( &csr ); in LLVMFuzzerTestOneInput()
/external/openthread/third_party/mbedtls/repo/include/mbedtls/
Dx509_csr.h93 int mbedtls_x509_csr_parse_der( mbedtls_x509_csr *csr,
108 int mbedtls_x509_csr_parse( mbedtls_x509_csr *csr, const unsigned char *buf, size_t buflen );
121 int mbedtls_x509_csr_parse_file( mbedtls_x509_csr *csr, const char *path );
137 const mbedtls_x509_csr *csr );
144 void mbedtls_x509_csr_init( mbedtls_x509_csr *csr );
151 void mbedtls_x509_csr_free( mbedtls_x509_csr *csr );
/external/mbedtls/include/mbedtls/
Dx509_csr.h94 int mbedtls_x509_csr_parse_der( mbedtls_x509_csr *csr,
109 int mbedtls_x509_csr_parse( mbedtls_x509_csr *csr, const unsigned char *buf, size_t buflen );
122 int mbedtls_x509_csr_parse_file( mbedtls_x509_csr *csr, const char *path );
139 const mbedtls_x509_csr *csr );
147 void mbedtls_x509_csr_init( mbedtls_x509_csr *csr );
154 void mbedtls_x509_csr_free( mbedtls_x509_csr *csr );
/external/cronet/net/data/ssl/scripts/
Dgenerate-redundant-test-chains.sh50 -out out/D.csr \
57 -in out/D.csr \
70 -out out/C2.csr \
77 -in out/C2.csr \
105 -in out/C.csr \
116 -in out/B.csr \
124 -out out/A.csr \
134 -in out/A.csr \
Dgenerate-client-certificates.sh62 -out out/C.csr \
71 -in out/C.csr \
84 -out out/B.csr \
93 -in out/B.csr \
103 -out out/E.csr \
112 -in out/E.csr \
124 -out out/$id.csr \
141 -in out/A.csr \
152 -in out/D.csr \
163 -in out/F.csr \
[all …]
Dgenerate-duplicate-cn-certs.sh39 -out out/B.csr \
46 -in out/B.csr \
57 -out out/A1.csr \
65 -out out/A2.csr \
75 -in out/A1.csr \
85 -in out/A2.csr \
Dgenerate-quic-chain.sh37 -out out/quic-test-root.csr \
45 -in out/quic-test-root.csr \
59 -out out/quic-test-intermediate.csr \
67 -in out/quic-test-intermediate.csr \
79 -out out/quic-test-cert.csr \
88 -in out/quic-test-cert.csr \
Dgenerate-weak-test-chains.sh56 -out out/2048-rsa-root.csr \
64 -in out/2048-rsa-root.csr \
119 -out out/$key_type-intermediate.csr \
134 -in out/$key_type-intermediate.csr \
154 -out out/$key_type-ee-by-$signer_key_type-intermediate.csr \
166 -in out/$key_type-ee-by-$signer_key_type-intermediate.csr \
/external/rust/crates/grpcio-sys/grpc/src/core/tsi/test_creds/
DREADME31 $ openssl req -new -key client.key -out client.csr
36 $ openssl x509 -req -CA ca.pem -CAkey ca.key -CAcreateserial -in client.csr \
44 $ openssl req -new -key client1.key -out client1.csr
49 $ openssl x509 -req -CA ca.pem -CAkey ca.key -CAcreateserial -in client1.csr \
57 $ openssl req -new -key client2.key -out client2.csr
62 $ openssl x509 -req -CA ca.pem -CAkey ca.key -CAcreateserial -in client2.csr \
70 $ openssl req -new -key server0.key -out server0.csr
75 $ openssl x509 -req -CA ca.pem -CAkey ca.key -CAcreateserial -in server0.csr \
83 $ openssl req -new -key server1.key -out server1.csr -config server1-openssl.cnf
88 $ openssl x509 -req -CA ca.pem -CAkey ca.key -CAcreateserial -in server1.csr \
[all …]
/external/python/httplib2/script/
Dgenerate-tls42 openssl req -batch -new -nodes -out tmp.csr -key client.key -subj "$subj_prefix/CN=$org-client"
43 …openssl x509 -req -in tmp.csr -CA ca.pem -CAkey ca.key -CAcreateserial -out client.crt -days $days…
48 …openssl req -batch -new -nodes -out tmp.csr -key client_encrypted.key -passin pass:12345 -subj "$s…
49 …openssl x509 -req -in tmp.csr -CA ca.pem -CAkey ca.key -CAcreateserial -out client_encrypted.crt -…
53 openssl req -batch -new -nodes -out tmp.csr -key server.key -subj "$subj_prefix/CN=$server_cn"
54 …openssl x509 -req -in tmp.csr -CA ca.pem -CAkey ca.key -CAcreateserial -out server.crt -days $days…
58 rm tmp.csr
/external/mesa3d/src/mesa/x86/rtasm/
Dx86sse.c27 p->csr = p->store; in do_realloc()
30 unsigned used = p->csr - p->store; in do_realloc()
35 p->csr = p->store + used; in do_realloc()
44 if (p->csr + bytes - p->store > p->size) in reserve()
48 unsigned char *csr = p->csr; in reserve() local
49 p->csr += bytes; in reserve()
50 return csr; in reserve()
58 char *csr = (char *)reserve(p, 1); in emit_1b() local
59 *csr = b0; in emit_1b()
70 unsigned char *csr = reserve(p, 1); in emit_1ub() local
[all …]
/external/wpa_supplicant_8/hs20/server/ca/
Dsetup.sh143 $OPENSSL req -config $PWD/openssl.cnf.tmp -batch -new -newkey rsa:2048 -nodes -out ocsp.csr -keyout…
144 …h -md sha256 -keyfile demoCA/private/cakey.pem -passin pass:$PASS -in ocsp.csr -out ocsp.pem -days…
151 …WD/openssl.cnf.tmp -batch -new -newkey rsa:2048 -nodes -out server-revoked.csr -keyout server-revo…
152 $OPENSSL ca -config $PWD/openssl.cnf.tmp -batch -md sha256 -in server-revoked.csr -out server-revok…
161 …PWD/openssl.cnf.tmp -batch -new -newkey rsa:2048 -nodes -out server-client.csr -keyout server-clie…
162 $OPENSSL ca -config $PWD/openssl.cnf.tmp -batch -md sha256 -in server-client.csr -out server-client…
169 $OPENSSL req -config $PWD/openssl.cnf.tmp -batch -new -newkey rsa:2048 -nodes -out user.csr -keyout…
170 $OPENSSL ca -config $PWD/openssl.cnf.tmp -batch -md sha256 -in user.csr -out user.pem -key $PASS -d…
186 …WD/openssl.cnf.tmp -batch -sha256 -new -newkey rsa:2048 -nodes -out server.csr -keyout server.key …
187 …WD/openssl.cnf.tmp -batch -sha256 -new -newkey rsa:2048 -nodes -out server.csr -keyout server.key …
[all …]
/external/openthread/third_party/mbedtls/repo/tests/suites/
Dtest_suite_x509write.function37 mbedtls_x509_csr csr;
40 mbedtls_x509_csr_init( &csr );
42 if( mbedtls_x509_csr_parse( &csr, buf, buflen ) != 0 )
48 md_info = mbedtls_md_info_from_type( csr.sig_md );
49 if( mbedtls_md( md_info, csr.cri.p, csr.cri.len, hash ) != 0 )
56 if( mbedtls_pk_verify_ext( csr.sig_pk, csr.sig_opts, &csr.pk,
57 csr.sig_md, hash, mbedtls_md_get_size( md_info ),
58 csr.sig.p, csr.sig.len ) != 0 )
66 mbedtls_x509_csr_free( &csr );
/external/curl/tests/http/testenv/
Dcerts.py402 def _add_ca_usages(csr: Any) -> Any:
403 return csr.add_extension(
428 def _add_leaf_usages(csr: Any, domains: List[str], issuer: Credentials) -> Any:
429 return csr.add_extension(
448 def _add_client_usages(csr: Any, issuer: Credentials, rfc82name: str = None) -> Any:
449 cert = csr.add_extension(
485 csr = TestCA._make_csr(subject=subject,
488 csr = TestCA._add_ca_usages(csr)
489 cert = csr.sign(private_key=issuer_key,
503 csr = TestCA._make_csr(subject=subject,
[all …]
/external/conscrypt/openjdk/src/test/resources/
DREADME41 - test_leaf.csr: CSR for leaf certificate
43 openssl req -new -subj "/CN=leaf" -out test_leaf.csr -nodes
45 - test_intermediate.csr: CSR for intermediate certificate
47 …openssl req -new -subj "/CN=intermediate" -out test_intermediate.csr -keyout test_intermediate_key…
51 …openssl req -days 3650 -in test_leaf.csr -out test_leaf_blockedroot.pem -CA test_blocklist_ca.pe…
55 …openssl req -days 3650 -in test_leaf.csr -out test_leaf_intermediate.pem -CA test_intermediate_b…
59 …openssl req -days 3650 -in test_intermediate.csr -out test_intermediate_blockedroot.pem -CA test…
63 …openssl req -days 3650 -in test_intermediate.csr -out test_intermediate_nonblockedroot.pem -CA t…
/external/grpc-grpc/src/core/tsi/test_creds/
DREADME31 $ openssl req -new -key client.key -out client.csr
36 $ openssl ca -in client.csr -out client.pem
44 $ openssl req -new -key server0.key -out server0.csr
49 $ openssl ca -in server0.csr -out server0.pem
57 $ openssl req -new -key server1.key -out server1.csr -config server1-openssl.cnf
62 $ openssl ca -in server1.csr -out server1.pem
/external/openthread/third_party/mbedtls/repo/tests/data_files/
D.gitignore1 cli-rsa.csr
2 server2-rsa.csr
3 test-ca.csr

12345