Searched refs:req (Results 1 – 8 of 8) sorted by relevance
/net-tools-3.7.0/mbedtls-2.4.0/programs/x509/ |
D | cert_req.c | 105 int write_certificate_request( mbedtls_x509write_csr *req, const char *output_file, in write_certificate_request() argument 115 if( ( ret = mbedtls_x509write_csr_pem( req, output_buf, 4096, f_rng, p_rng ) ) < 0 ) in write_certificate_request() 141 mbedtls_x509write_csr req; in main() local 149 mbedtls_x509write_csr_init( &req ); in main() 150 mbedtls_x509write_csr_set_md_alg( &req, MBEDTLS_MD_SHA256 ); in main() 251 mbedtls_x509write_csr_set_key_usage( &req, opt.key_usage ); in main() 254 mbedtls_x509write_csr_set_ns_cert_type( &req, opt.ns_cert_type ); in main() 279 if( ( ret = mbedtls_x509write_csr_set_subject_name( &req, opt.subject_name ) ) != 0 ) in main() 301 mbedtls_x509write_csr_set_key( &req, &key ); in main() 311 if( ( ret = write_certificate_request( &req, opt.output_file, in main() [all …]
|
/net-tools-3.7.0/mbedtls-2.4.0/tests/suites/ |
D | test_suite_x509write.function | 18 mbedtls_x509write_csr req; 33 mbedtls_x509write_csr_init( &req ); 34 mbedtls_x509write_csr_set_md_alg( &req, md_type ); 35 mbedtls_x509write_csr_set_key( &req, &key ); 36 TEST_ASSERT( mbedtls_x509write_csr_set_subject_name( &req, subject_name ) == 0 ); 38 TEST_ASSERT( mbedtls_x509write_csr_set_key_usage( &req, key_usage ) == 0 ); 40 TEST_ASSERT( mbedtls_x509write_csr_set_ns_cert_type( &req, cert_type ) == 0 ); 42 ret = mbedtls_x509write_csr_pem( &req, buf, sizeof(buf), 56 der_len = mbedtls_x509write_csr_der( &req, buf, sizeof( buf ), 63 ret = mbedtls_x509write_csr_der( &req, buf, (size_t)( der_len - 1 ), [all …]
|
D | test_suite_x509write.data | 3 x509_csr_check:"data_files/server1.key":"data_files/server1.req.sha1":MBEDTLS_MD_SHA1:0:0 7 x509_csr_check:"data_files/server1.key":"data_files/server1.req.sha224":MBEDTLS_MD_SHA224:0:0 11 x509_csr_check:"data_files/server1.key":"data_files/server1.req.sha256":MBEDTLS_MD_SHA256:0:0 15 x509_csr_check:"data_files/server1.key":"data_files/server1.req.sha384":MBEDTLS_MD_SHA384:0:0 19 x509_csr_check:"data_files/server1.key":"data_files/server1.req.sha512":MBEDTLS_MD_SHA512:0:0 23 x509_csr_check:"data_files/server1.key":"data_files/server1.req.md4":MBEDTLS_MD_MD4:0:0 27 x509_csr_check:"data_files/server1.key":"data_files/server1.req.md5":MBEDTLS_MD_MD5:0:0 31 x509_csr_check:"data_files/server1.key":"data_files/server1.req.key_usage":MBEDTLS_MD_SHA1:MBEDTLS_… 35 x509_csr_check:"data_files/server1.key":"data_files/server1.req.cert_type":MBEDTLS_MD_SHA1:0:MBEDTL… 39 x509_csr_check:"data_files/server1.key":"data_files/server1.req.ku-ct":MBEDTLS_MD_SHA1:MBEDTLS_X509… [all …]
|
D | test_suite_x509parse.data | 203 mbedtls_x509_csr_info:"data_files/server1.req.md4":"CSR version \: 1\nsubject name \: C=NL, O=Po… 207 mbedtls_x509_csr_info:"data_files/server1.req.md5":"CSR version \: 1\nsubject name \: C=NL, O=Po… 211 mbedtls_x509_csr_info:"data_files/server1.req.sha1":"CSR version \: 1\nsubject name \: C=NL, O=P… 215 mbedtls_x509_csr_info:"data_files/server1.req.sha224":"CSR version \: 1\nsubject name \: C=NL, O… 219 mbedtls_x509_csr_info:"data_files/server1.req.sha256":"CSR version \: 1\nsubject name \: C=NL, O… 223 mbedtls_x509_csr_info:"data_files/server1.req.sha384":"CSR version \: 1\nsubject name \: C=NL, O… 227 mbedtls_x509_csr_info:"data_files/server1.req.sha512":"CSR version \: 1\nsubject name \: C=NL, O… 231 mbedtls_x509_csr_info:"data_files/server5.req.sha1":"CSR version \: 1\nsubject name \: C=NL, O=P… 235 mbedtls_x509_csr_info:"data_files/server5.req.sha224":"CSR version \: 1\nsubject name \: C=NL, O… 239 mbedtls_x509_csr_info:"data_files/server5.req.sha256":"CSR version \: 1\nsubject name \: C=NL, O… [all …]
|
/net-tools-3.7.0/mbedtls-2.4.0/tests/scripts/ |
D | generate_code.pl | 139 my $req = shift @var_req_arr; 140 $req =~ s/(!?)(.*)/$1defined($2)/; 142 $suite_pre_code .= "#if $req\n"; 143 $suite_post_code .= "#endif /* $req */\n"; 236 foreach my $req (split(/:/, $function_deps)) 238 $function_pre_code .= "#ifdef $req\n"; 239 $function_post_code .= "#endif /* $req */\n";
|
/net-tools-3.7.0/ |
D | echo-server.c | 265 struct group_req req; in join_mc_group() local 268 memset(&req, 0, sizeof(req)); in join_mc_group() 270 req.gr_interface = ifindex; in join_mc_group() 271 memcpy(&req.gr_group, addr, addr_len); in join_mc_group() 274 &req, sizeof(req)); in join_mc_group()
|
D | README.md | 154 $ openssl req -new -x509 -key echo-apps-key.pem -out echo-apps-cert.pem \ 179 $ openssl req -new -x509 -days 36500 -key ca_privkey.pem -out ca.crt -subj "/CN=exampleCA" 189 $ openssl req -new -key client_privkey.pem -out client.csr -subj "/CN=exampleClient" 190 $ openssl x509 -req -CA ca.crt -CAkey ca_privkey.pem -days 36500 -in client.csr -CAcreateserial -ou… 197 $ openssl req -new -key server_privkey.pem -out server.csr -subj "/CN=localhost" 198 $ openssl x509 -req -CA ca.crt -CAkey ca_privkey.pem -days 36500 -in server.csr -CAcreateserial -ou…
|
D | coap-client.c | 1155 const unsigned char *req, in coap_new_request() argument 1195 coap_add_data(pdu, length, req); in coap_new_request() 1197 coap_add_block(pdu, length, req, in coap_new_request()
|