Home
last modified time | relevance | path

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

123

/third_party/mbedtls/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 …]
/third_party/node/test/fixtures/keys/
DMakefile106 ca3-csr.pem: ca3.cnf ca3-key.pem
111 -out ca3-csr.pem
113 ca3-cert.pem: ca3-csr.pem ca3-key.pem ca3.cnf ca1-cert.pem ca1-key.pem
119 -in ca3-csr.pem \
132 ca4-csr.pem: ca4.cnf ca4-key.pem
137 -out ca4-csr.pem
139 ca4-cert.pem: ca4-csr.pem ca4-key.pem ca4.cnf ca2-cert.pem ca2-key.pem
145 -in ca4-csr.pem \
158 ca5-csr.pem: ca5.cnf ca5-key.pem
162 -out ca5-csr.pem
[all …]
/third_party/openssl/test/certs/
Dmkcert.sh111 csr=$(req "$key" "CN = $cn") || return 1
112 echo "$csr" |
145 csr=$(req "$key" "CN = $cn") || return 1
146 echo "$csr" |
166 csr=$(req "$key" "CN = $cn") || return 1
167 echo "$csr" |
242 csr=$(req "$key" "CN = $cn") || return 1
243 echo "$csr" |
288 csr=$(req "$key" "CN = $cn") || return 1
289 echo "$csr" |
[all …]
/third_party/mbedtls/programs/x509/
Dreq_app.c74 mbedtls_x509_csr csr; in main() local
81 mbedtls_x509_csr_init( &csr ); in main()
111 ret = mbedtls_x509_csr_parse_file( &csr, opt.filename ); in main()
116 mbedtls_x509_csr_free( &csr ); in main()
126 ret = mbedtls_x509_csr_info( (char *) buf, sizeof( buf ) - 1, " ", &csr ); in main()
130 mbedtls_x509_csr_free( &csr ); in main()
139 mbedtls_x509_csr_free( &csr ); in main()
Dcert_write.c226 mbedtls_x509_csr csr; in main() local
244 mbedtls_x509_csr_init( &csr ); in main()
542 if( ( ret = mbedtls_x509_csr_parse_file( &csr, opt.request_file ) ) != 0 ) in main()
551 &csr.subject ); in main()
561 subject_key = &csr.pk; in main()
786 mbedtls_x509_csr_free( &csr ); in main()
/third_party/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()
/third_party/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 );
/third_party/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 …]
/third_party/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 …]
/third_party/mbedtls/tests/data_files/
D.gitignore1 cli-rsa.csr
2 server2-rsa.csr
3 test-ca.csr
DMakefile90 cert_example_multi.csr: rsa_pkcs1_1024_clear.pem
93 cert_example_multi.crt: cert_example_multi.csr
98 test-ca-alt.csr: $(test_ca_key_file_rsa_alt) $(test_ca_config_file)
100 all_intermediate += test-ca-alt.csr
101 test-ca-alt.crt: $(test_ca_key_file_rsa_alt) $(test_ca_config_file) test-ca-alt.csr
102 …file) -key $(test_ca_key_file_rsa_alt) -set_serial 0 -days 3653 -sha256 -in test-ca-alt.csr -out $@
176 test-int-ca.csr: test-int-ca.key $(test_ca_config_file)
178 all_intermediate += test-int-ca.csr
179 …nt-ca-exp.crt: $(test_ca_crt_file_ec) $(test_ca_key_file_ec) $(test_ca_config_file) test-int-ca.csr
180 …ile_ec) -CAkey $(test_ca_key_file_ec) -set_serial 14 -days 3653 -sha256 -in test-int-ca.csr -out $@
[all …]
/third_party/mbedtls/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 );
/third_party/curl/tests/certs/
DMakefile.am36 EdelCurlRoot-ca.csr \
41 Server-localhost-sv.csr \
50 Server-localhost.nn-sv.csr \
59 Server-localhost0h-sv.csr \
68 Server-localhost-firstSAN-sv.csr \
77 Server-localhost-lastSAN-sv.csr \
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_fpc_emit.c154 if (p->csr < p->program + I915_PROGRAM_SIZE) { in i915_emit_arith()
155 *(p->csr++) = (op | A0_DEST(dest) | mask | saturate | A0_SRC0(src0)); in i915_emit_arith()
156 *(p->csr++) = (A1_SRC0(src0) | A1_SRC1(src1)); in i915_emit_arith()
157 *(p->csr++) = (A2_SRC1(src1) | A2_SRC2(src2)); in i915_emit_arith()
248 if (p->csr < p->program + I915_PROGRAM_SIZE) { in i915_emit_texld()
249 *(p->csr++) = (opcode | T0_DEST(dest) | T0_SAMPLER(sampler)); in i915_emit_texld()
251 *(p->csr++) = T1_ADDRESS_REG(coord); in i915_emit_texld()
252 *(p->csr++) = T2_MBZ; in i915_emit_texld()
/third_party/mbedtls/tests/data_files/dir-maxpath/
Dlong.sh41 -key ${ME}.key -out ${ME}.csr
44 -in ${ME}.csr -out ${ME}.crt
48 rm ${ME}.csr
/third_party/mesa3d/src/mesa/drivers/dri/i915/
Di915_program.c190 if (p->csr >= p->program + ARRAY_SIZE(p->program)) { in i915_emit_arith()
195 *(p->csr++) = (op | A0_DEST(dest) | mask | saturate | A0_SRC0(src0)); in i915_emit_arith()
196 *(p->csr++) = (A1_SRC0(src0) | A1_SRC1(src1)); in i915_emit_arith()
197 *(p->csr++) = (A2_SRC1(src1) | A2_SRC2(src2)); in i915_emit_arith()
279 if (p->csr >= p->program + ARRAY_SIZE(p->program)) { in i915_emit_texld()
284 *(p->csr++) = (op | in i915_emit_texld()
288 *(p->csr++) = T1_ADDRESS_REG( coord ); in i915_emit_texld()
289 *(p->csr++) = T2_MBZ; in i915_emit_texld()
479 p->csr = p->program; in i915_init_program()
496 GLuint program_size = p->csr - p->program; in i915_fini_program()
[all …]
/third_party/libwebsockets/lib/tls/mbedtls/
Dmbedtls-server.c620 mbedtls_x509write_csr csr; in lws_tls_acme_sni_csr_create() local
629 mbedtls_x509write_csr_init(&csr); in lws_tls_acme_sni_csr_create()
655 if (mbedtls_x509write_csr_set_subject_name(&csr, subject)) in lws_tls_acme_sni_csr_create()
658 mbedtls_x509write_csr_set_key(&csr, &mpk); in lws_tls_acme_sni_csr_create()
659 mbedtls_x509write_csr_set_md_alg(&csr, MBEDTLS_MD_SHA256); in lws_tls_acme_sni_csr_create()
666 n = mbedtls_x509write_csr_der(&csr, buf, (size_t)buf_size, _rngf, context); in lws_tls_acme_sni_csr_create()
694 mbedtls_x509write_csr_free(&csr); in lws_tls_acme_sni_csr_create()
701 mbedtls_x509write_csr_free(&csr); in lws_tls_acme_sni_csr_create()
/third_party/mesa3d/src/gallium/auxiliary/rtasm/
Drtasm_x86sse.c92 debug_printf( "\n%4x %14s ", p->csr - p->store, foo ); \
143 p->csr = p->store; in do_realloc()
148 p->csr = p->store; in do_realloc()
151 uintptr_t used = pointer_to_uintptr( p->csr ) - pointer_to_uintptr( p->store ); in do_realloc()
158 p->csr = p->store + used; in do_realloc()
161 p->csr = p->store; in do_realloc()
168 p->store = p->csr = p->error_overflow; in do_realloc()
177 if (p->csr + bytes - p->store > (int) p->size) in reserve()
181 unsigned char *csr = p->csr; in reserve() local
182 p->csr += bytes; in reserve()
[all …]
/third_party/libwebsockets/scripts/client-ca/
Dcreate-server-cert.sh11 openssl req -config tmp.cnf -new -key $1.key -out $1.csr && \
19 -in $1.csr \
Dcreate-client-cert.sh11 openssl req -config tmp.cnf -new -key $1.key -out $1.csr && \
19 -in $1.csr \
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
Dcrypto.h1235 void crypto_csr_deinit(struct crypto_csr *csr);
1243 int crypto_csr_set_ec_public_key(struct crypto_csr *csr,
1253 int crypto_csr_set_name(struct crypto_csr *csr, enum crypto_csr_name type,
1265 int crypto_csr_set_attribute(struct crypto_csr *csr, enum crypto_csr_attr attr,
1276 const u8 * crypto_csr_get_attribute(struct crypto_csr *csr,
1288 struct wpabuf * crypto_csr_sign(struct crypto_csr *csr,
Dcrypto_openssl.c3087 X509_REQ *csr; in crypto_csr_verify() local
3091 csr = d2i_X509_REQ(NULL, &der, wpabuf_len(req)); in crypto_csr_verify()
3092 if (!csr) in crypto_csr_verify()
3095 pkey = X509_REQ_get_pubkey((X509_REQ *)csr); in crypto_csr_verify()
3099 if (X509_REQ_verify((X509_REQ *)csr, pkey) != 1) in crypto_csr_verify()
3102 return (struct crypto_csr *)csr; in crypto_csr_verify()
3104 X509_REQ_free(csr); in crypto_csr_verify()
3109 void crypto_csr_deinit(struct crypto_csr *csr) in crypto_csr_deinit() argument
3111 X509_REQ_free((X509_REQ *)csr); in crypto_csr_deinit()
3115 int crypto_csr_set_ec_public_key(struct crypto_csr *csr, struct crypto_ec_key *key) in crypto_csr_set_ec_public_key() argument
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVInstrInfo.td664 def : InstAlias<"csrr $rd, $csr", (CSRRS GPR:$rd, csr_sysreg:$csr, X0)>;
665 def : InstAlias<"csrw $csr, $rs", (CSRRW X0, csr_sysreg:$csr, GPR:$rs)>;
666 def : InstAlias<"csrs $csr, $rs", (CSRRS X0, csr_sysreg:$csr, GPR:$rs)>;
667 def : InstAlias<"csrc $csr, $rs", (CSRRC X0, csr_sysreg:$csr, GPR:$rs)>;
669 def : InstAlias<"csrwi $csr, $imm", (CSRRWI X0, csr_sysreg:$csr, uimm5:$imm)>;
670 def : InstAlias<"csrsi $csr, $imm", (CSRRSI X0, csr_sysreg:$csr, uimm5:$imm)>;
671 def : InstAlias<"csrci $csr, $imm", (CSRRCI X0, csr_sysreg:$csr, uimm5:$imm)>;
674 def : InstAlias<"csrw $csr, $imm", (CSRRWI X0, csr_sysreg:$csr, uimm5:$imm)>;
675 def : InstAlias<"csrs $csr, $imm", (CSRRSI X0, csr_sysreg:$csr, uimm5:$imm)>;
676 def : InstAlias<"csrc $csr, $imm", (CSRRCI X0, csr_sysreg:$csr, uimm5:$imm)>;
[all …]
/third_party/curl/tests/certs/scripts/
Dgenroot.sh49 $OPENSSL req -config $PREFIX-ca.prm -new -key $PREFIX-ca.key -out $PREFIX-ca.csr -passin pass:secret
53 …$PREFIX-ca.prm -days $DURATION -req -signkey $PREFIX-ca.key -in $PREFIX-ca.csr -out $PREFIX-$SERIA…
/third_party/openssl/test/recipes/
D90-test_store.t303 (my $csr = $dstfile) =~ s|\.pem|.csr|;
307 "-key", $srckey, "-out", $csr]))
313 "-in", $csr, "-out", $dstfile])));

123