Home
last modified time | relevance | path

Searched refs:c (Results 1 – 25 of 144) sorted by relevance

123456

/net-tools-3.7.0/mbedtls-2.4.0/library/
DCMakeLists.txt6 aes.c
7 aesni.c
8 arc4.c
9 asn1parse.c
10 asn1write.c
11 base64.c
12 bignum.c
13 blowfish.c
14 camellia.c
15 ccm.c
[all …]
Dpkwrite.c154 unsigned char *c; in mbedtls_pk_write_pubkey_der() local
158 c = buf + size; in mbedtls_pk_write_pubkey_der()
160 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_pk_write_pubkey( &c, buf, key ) ); in mbedtls_pk_write_pubkey_der()
162 if( c - buf < 1 ) in mbedtls_pk_write_pubkey_der()
170 *--c = 0; in mbedtls_pk_write_pubkey_der()
173 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( &c, buf, len ) ); in mbedtls_pk_write_pubkey_der()
174 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_tag( &c, buf, MBEDTLS_ASN1_BIT_STRING ) ); in mbedtls_pk_write_pubkey_der()
185 MBEDTLS_ASN1_CHK_ADD( par_len, pk_write_ec_param( &c, buf, mbedtls_pk_ec( *key ) ) ); in mbedtls_pk_write_pubkey_der()
189 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_algorithm_identifier( &c, buf, oid, oid_len, in mbedtls_pk_write_pubkey_der()
192 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( &c, buf, len ) ); in mbedtls_pk_write_pubkey_der()
[all …]
Dx509write_crt.c143 unsigned char *c = buf + sizeof(buf); in mbedtls_x509write_crt_set_basic_constraints() local
155 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_int( &c, buf, max_pathlen ) ); in mbedtls_x509write_crt_set_basic_constraints()
157 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_bool( &c, buf, 1 ) ); in mbedtls_x509write_crt_set_basic_constraints()
160 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( &c, buf, len ) ); in mbedtls_x509write_crt_set_basic_constraints()
161 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_tag( &c, buf, MBEDTLS_ASN1_CONSTRUCTED | in mbedtls_x509write_crt_set_basic_constraints()
174 unsigned char *c = buf + sizeof(buf); in mbedtls_x509write_crt_set_subject_key_identifier() local
178 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_pk_write_pubkey( &c, buf, ctx->subject_key ) ); in mbedtls_x509write_crt_set_subject_key_identifier()
181 c = buf + sizeof(buf) - 20; in mbedtls_x509write_crt_set_subject_key_identifier()
184 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( &c, buf, len ) ); in mbedtls_x509write_crt_set_subject_key_identifier()
185 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_tag( &c, buf, MBEDTLS_ASN1_OCTET_STRING ) ); in mbedtls_x509write_crt_set_subject_key_identifier()
[all …]
Dx509write_csr.c91 unsigned char *c; in mbedtls_x509write_csr_set_key_usage() local
94 c = buf + 4; in mbedtls_x509write_csr_set_key_usage()
96 if( ( ret = mbedtls_asn1_write_bitstring( &c, buf, &key_usage, 7 ) ) != 4 ) in mbedtls_x509write_csr_set_key_usage()
112 unsigned char *c; in mbedtls_x509write_csr_set_ns_cert_type() local
115 c = buf + 4; in mbedtls_x509write_csr_set_ns_cert_type()
117 if( ( ret = mbedtls_asn1_write_bitstring( &c, buf, &ns_cert_type, 8 ) ) != 4 ) in mbedtls_x509write_csr_set_ns_cert_type()
136 unsigned char *c, *c2; in mbedtls_x509write_csr_der() local
147 c = tmp_buf + sizeof( tmp_buf ); in mbedtls_x509write_csr_der()
149 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_x509_write_extensions( &c, tmp_buf, ctx->extensions ) ); in mbedtls_x509write_csr_der()
153 MBEDTLS_ASN1_CHK_ADD( len, mbedtls_asn1_write_len( &c, tmp_buf, len ) ); in mbedtls_x509write_csr_der()
[all …]
/net-tools-3.7.0/mbedtls-2.4.0/programs/
DMakefile88 aes/aescrypt2$(EXEXT): aes/aescrypt2.c $(DEP)
90 $(CC) $(LOCAL_CFLAGS) $(CFLAGS) aes/aescrypt2.c $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@
92 aes/crypt_and_hash$(EXEXT): aes/crypt_and_hash.c $(DEP)
94 $(CC) $(LOCAL_CFLAGS) $(CFLAGS) aes/crypt_and_hash.c $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@
96 hash/hello$(EXEXT): hash/hello.c $(DEP)
98 $(CC) $(LOCAL_CFLAGS) $(CFLAGS) hash/hello.c $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@
100 hash/generic_sum$(EXEXT): hash/generic_sum.c $(DEP)
102 $(CC) $(LOCAL_CFLAGS) $(CFLAGS) hash/generic_sum.c $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@
104 pkey/dh_client$(EXEXT): pkey/dh_client.c $(DEP)
106 $(CC) $(LOCAL_CFLAGS) $(CFLAGS) pkey/dh_client.c $(LOCAL_LDFLAGS) $(LDFLAGS) -o $@
[all …]
/net-tools-3.7.0/libcoap/
DMakefile.libcoap1 libcoap_src = pdu.c net.c debug.c encode.c uri.c subscribe.c resource.c hashkey.c str.c option.c as…
4 vpath %c $(libcoap_dir)/src
DMakefile.am51 src/address.c \
52 src/async.c \
53 src/block.c \
54 src/coap_io.c \
55 src/coap_time.c \
56 src/debug.c \
57 src/encode.c \
58 src/hashkey.c \
59 src/mem.c \
60 src/net.c \
[all …]
DChangeLog14 * src/uri.c (coap_split_path): Fixed URI parser bug and
19 * src/coap_time.c (coap_ticks): Changed POSIX implementation
24 * net.c (coap_send_confirmed): Use fixed point arithmetic
36 * net.c (coap_send_confirmed): Fixed retransmission timeout
47 * mem.c (coap_malloc_type): New functions for allocating memory.
54 * net.c (coap_cancel): Removed 7.31 again and implemented new
59 * net.c (coap_cancel): Handling of 7.31 responses to cancel
64 * resource.c (coap_print_link): This function now takes an offset
68 * net.c (wellknown_response): Added support for Block2 options
77 * resource.c (coap_print_link): Output partial resource
[all …]
/net-tools-3.7.0/mbedtls-2.4.0/programs/pkey/
DCMakeLists.txt1 add_executable(dh_client dh_client.c)
4 add_executable(dh_genprime dh_genprime.c)
7 add_executable(dh_server dh_server.c)
10 add_executable(ecdh_curve25519 ecdh_curve25519.c)
13 add_executable(ecdsa ecdsa.c)
16 add_executable(gen_key gen_key.c)
19 add_executable(key_app key_app.c)
22 add_executable(key_app_writer key_app_writer.c)
25 add_executable(mpi_demo mpi_demo.c)
28 add_executable(rsa_genkey rsa_genkey.c)
[all …]
/net-tools-3.7.0/mbedtls-2.4.0/include/mbedtls/
Dbn_mul.h142 : "=m" (t), "=m" (c), "=m" (d), "=m" (s) \
143 : "m" (t), "m" (s), "m" (d), "m" (c), "m" (b) \
154 : "=m" (t), "=m" (c), "=m" (d), "=m" (s) \
155 : "m" (t), "m" (s), "m" (d), "m" (c), "m" (b) \
180 : "+c" (c), "+D" (d), "+S" (s) \
210 : "=m" (c), "=m" (d), "=m" (s) \
211 : "m" (s), "m" (d), "m" (c), "m" (b) \
291 : "=m" (c), "=m" (d), "=m" (s) \
292 : "m" (s), "m" (d), "m" (c), "m" (b) \
326 : "=m" (c), "=m" (d), "=m" (s) \
[all …]
/net-tools-3.7.0/tinydtls-0.8.2/
DMakefile.tinydtls24 tinydtls_src = dtls.c crypto.c hmac.c rijndael.c sha2.c ccm.c netq.c ecc.c dtls_time.c peer.c sessi…
31 tinydtls_src += ecc.c
35 tinydtls_src += debug.c
/net-tools-3.7.0/mbedtls-2.4.0/tests/
DMakefile100 test_suite_aes.ecb.c : suites/test_suite_aes.function suites/test_suite_aes.ecb.data scripts/genera…
104 test_suite_aes.cbc.c : suites/test_suite_aes.function suites/test_suite_aes.cbc.data scripts/genera…
108 test_suite_aes.cfb.c : suites/test_suite_aes.function suites/test_suite_aes.cfb.data scripts/genera…
112 test_suite_aes.rest.c : suites/test_suite_aes.function suites/test_suite_aes.rest.data scripts/gene…
116 test_suite_cipher.aes.c : suites/test_suite_cipher.function suites/test_suite_cipher.aes.data scrip…
120 test_suite_cipher.arc4.c : suites/test_suite_cipher.function suites/test_suite_cipher.arc4.data scr…
124 test_suite_cipher.ccm.c : suites/test_suite_cipher.function suites/test_suite_cipher.ccm.data scrip…
128 test_suite_cipher.gcm.c : suites/test_suite_cipher.function suites/test_suite_cipher.gcm.data scrip…
132 test_suite_cipher.blowfish.c : suites/test_suite_cipher.function suites/test_suite_cipher.blowfish.…
136 test_suite_cipher.camellia.c : suites/test_suite_cipher.function suites/test_suite_cipher.camellia.…
[all …]
/net-tools-3.7.0/mbedtls-2.4.0/tests/data_files/
Dserver2.crt16 ac:0e:78:e4:3a:3c:4a:cf:3a:13:16:d0:5a:e4:cd:
18 7a:3e:24:9a:fc:b6:34:ac:24:f5:77:e0:26:64:8c:
19 9c:b0:28:7d:a1:da:ea:8c:e6:c9:1c:96:bc:fe:c1:
22 2a:d8:1f:a0:d9:0d:1c:2d:49:66:f7:5b:25:73:46:
23 e8:0b:8a:4f:69:0c:b5:00:90:e1:da:82:10:66:7d:
25 ee:68:0c:f1:8b:86:d2:46:bf:d0:b8:aa:11:03:1e:
29 c7:c7:27:6b:c7:05:3d:7a:c4:02:3c:9a:1d:3e:0f:
30 e8:34:98:5b:cb:73:4b:52:96:d8:11:a2:2c:80:88:
43 9c:67:5c:29:58:a0:79:1b:a7:bd:1c:a8:1a:ec:19:72:f2:6c:
44 0e:f8:73:36:ce:e5:17:4b:12:01:6c:ee:b1:d5:4b:da:fe:73:
[all …]
Dcert_sha1.crt15 00:b9:3c:4a:c5:c8:a3:8e:90:17:a4:9e:52:aa:71:
16 75:26:61:80:e7:c7:b5:6d:8c:ff:aa:b6:41:26:b7:
17 be:11:ad:5c:73:16:0c:64:11:48:04:ff:d6:e1:3b:
18 05:db:89:bb:b3:97:09:d5:1c:14:dd:68:87:39:b0:
21 fd:3c:fd:3c:fa:24:cf:5d:bf:7c:e4:53:e7:25:b5:
25 5e:1c:81:60:46:3e:b5:b3:3d:2f:a6:de:47:1c:bc:
30 36:b7:a6:5c:cc:30:5a:f8:cd:6f:cd:f1:19:62:25:
45 31:36:83:7d:eb:7c:d8:63:09:c3:e4:c5:10:ca:7c:7b:2f:20:
47 0e:3a:0f:8b:2d:64:91:05:f6:d5:c7:30:c8:20:ee:6c:c4:62:
48 7c:8d:a8:4d:2e:70:8c:ac:b5:5d:de:9b:10:5c:98:fd:a1:78:
[all …]
Ddh.optlen.pem5 80:0a:bf:e7:dc:66:7a:a1:7b:cd:7c:04:61:4b:c2:
7 93:8e:a1:1b:48:dc:51:5d:ab:7a:bc:bb:1e:0c:7f:
12 7c:63:96:b9:24:46:21:be:2b:00:b6:3c:65:92:53:
13 31:84:13:44:3c:d2:44:21:5c:d7:fd:4c:be:79:6e:
14 82:c6:cf:70:f8:9c:c0:c5:28:fb:8e:34:48:09:b3:
16 c8:75:5c:7a:46:8d:47:f5:6d:6d:b9:ea:01:29:24:
19 0c:b0:2e:90:f3:23:fe:04:55:21:f3:4c:68:35:4a:
26 b5:bd:5a:6c:9e:ae:1c:13:7a:f3:40:87:fc:e2:a3:
27 6a:57:8d:70:c5:c5:60:ad:2b:db:92:4c:4a:4d:be:
30 e4:94:05:e5:90:2f:a0:59:6a:1c:ba:a8:95:cc:40:
[all …]
Dcert_example_multi.crt15 00:b9:3c:4a:c5:c8:a3:8e:90:17:a4:9e:52:aa:71:
16 75:26:61:80:e7:c7:b5:6d:8c:ff:aa:b6:41:26:b7:
17 be:11:ad:5c:73:16:0c:64:11:48:04:ff:d6:e1:3b:
18 05:db:89:bb:b3:97:09:d5:1c:14:dd:68:87:39:b0:
21 fd:3c:fd:3c:fa:24:cf:5d:bf:7c:e4:53:e7:25:b5:
25 5e:1c:81:60:46:3e:b5:b3:3d:2f:a6:de:47:1c:bc:
30 36:b7:a6:5c:cc:30:5a:f8:cd:6f:cd:f1:19:62:25:
45 4f:09:cb:7a:d5:ee:f5:ef:62:0d:dc:7b:a2:85:d6:8c:ca:95:
48 cf:48:bc:0d:2f:0c:d2:7a:06:c3:4a:4c:d9:48:5d:a0:d0:73:
50 29:e8:40:ae:82:39:68:c3:97:07:cf:3c:93:4c:1a:df:2f:a6:
[all …]
Dcert_sha224.crt15 00:b9:3c:4a:c5:c8:a3:8e:90:17:a4:9e:52:aa:71:
16 75:26:61:80:e7:c7:b5:6d:8c:ff:aa:b6:41:26:b7:
17 be:11:ad:5c:73:16:0c:64:11:48:04:ff:d6:e1:3b:
18 05:db:89:bb:b3:97:09:d5:1c:14:dd:68:87:39:b0:
21 fd:3c:fd:3c:fa:24:cf:5d:bf:7c:e4:53:e7:25:b5:
25 5e:1c:81:60:46:3e:b5:b3:3d:2f:a6:de:47:1c:bc:
30 36:b7:a6:5c:cc:30:5a:f8:cd:6f:cd:f1:19:62:25:
44 8a:36:60:42:39:d0:e6:0c:9c:7e:2f:2b:be:ef:e7:45:34:77:
45 48:7a:10:4a:fd:76:ca:42:39:25:3c:fa:19:f8:63:6c:e7:36:
46 27:9a:ec:06:ce:e4:f7:2c:2e:c6:36:c1:25:bd:ab:09:aa:e2:
[all …]
Dcert_sha384.crt15 00:b9:3c:4a:c5:c8:a3:8e:90:17:a4:9e:52:aa:71:
16 75:26:61:80:e7:c7:b5:6d:8c:ff:aa:b6:41:26:b7:
17 be:11:ad:5c:73:16:0c:64:11:48:04:ff:d6:e1:3b:
18 05:db:89:bb:b3:97:09:d5:1c:14:dd:68:87:39:b0:
21 fd:3c:fd:3c:fa:24:cf:5d:bf:7c:e4:53:e7:25:b5:
25 5e:1c:81:60:46:3e:b5:b3:3d:2f:a6:de:47:1c:bc:
30 36:b7:a6:5c:cc:30:5a:f8:cd:6f:cd:f1:19:62:25:
43 68:e6:03:f0:ba:44:e7:cc:e1:b2:07:6c:56:c8:be:b7:ba:80:
46 e1:0f:68:24:4c:bb:1d:c5:b6:77:ec:23:e1:5b:4f:10:6c:6a:
50 ad:0a:af:73:50:43:23:5a:9b:9a:f9:8f:ff:41:15:e5:9c:12:
[all …]
Dcert_md4.crt15 00:b9:3c:4a:c5:c8:a3:8e:90:17:a4:9e:52:aa:71:
16 75:26:61:80:e7:c7:b5:6d:8c:ff:aa:b6:41:26:b7:
17 be:11:ad:5c:73:16:0c:64:11:48:04:ff:d6:e1:3b:
18 05:db:89:bb:b3:97:09:d5:1c:14:dd:68:87:39:b0:
21 fd:3c:fd:3c:fa:24:cf:5d:bf:7c:e4:53:e7:25:b5:
25 5e:1c:81:60:46:3e:b5:b3:3d:2f:a6:de:47:1c:bc:
30 36:b7:a6:5c:cc:30:5a:f8:cd:6f:cd:f1:19:62:25:
44 fd:41:0f:5c:de:14:f4:c4:ba:5d:2c:30:2c:a6:dc:2d:e8:87:
45 45:f1:c5:fe:d1:4a:64:99:19:09:2f:72:7c:3f:8d:c8:31:22:
46 dd:0a:69:03:3d:12:8c:4d:c3:f7:a3:c5:d1:5d:c9:ff:4b:83:
[all …]
Dcert_md2.crt16 79:b6:58:5c:32:58:b3:d4:14:fd:6c:02:61:9e:0b:
18 1d:a2:3b:64:29:a8:2a:c1:66:28:00:59:d8:0c:49:
19 2d:30:b7:3d:8c:bb:60:62:31:83:27:7f:4b:95:92:
21 ec:4c:c9:24:58:bf:b3:33:77:6a:b5:17:8b:02:10:
22 29:8e:95:aa:91:60:17:43:42:87:a8:7c:da:09:83:
24 1e:00:c9:ae:9d:81:56:8b:08:0a:f5:1e:9c:dc:a2:
25 5e:6c:db:ff:11:83:15:f4:d1:24:57:9b:0f:eb:35:
28 25:d8:48:b6:20:be:51:97:4c:2d:20:65:2d:2a:50:
29 9e:24:5d:72:95:e0:a2:06:41:8c:61:e4:50:57:74:
30 96:b1:29:b5:a1:88:37:f1:5c:9e:b2:9e:8e:83:8d:
[all …]
Dcert_example_wildcard.crt15 00:b9:3c:4a:c5:c8:a3:8e:90:17:a4:9e:52:aa:71:
16 75:26:61:80:e7:c7:b5:6d:8c:ff:aa:b6:41:26:b7:
17 be:11:ad:5c:73:16:0c:64:11:48:04:ff:d6:e1:3b:
18 05:db:89:bb:b3:97:09:d5:1c:14:dd:68:87:39:b0:
21 fd:3c:fd:3c:fa:24:cf:5d:bf:7c:e4:53:e7:25:b5:
25 5e:1c:81:60:46:3e:b5:b3:3d:2f:a6:de:47:1c:bc:
30 36:b7:a6:5c:cc:30:5a:f8:cd:6f:cd:f1:19:62:25:
43 91:b3:84:5c:5d:60:f2:a5:0a:4a:dc:d6:c6:75:da:34:52:72:
44 6c:0e:60:4f:ef:0e:55:f3:4b:bf:d0:40:e7:91:2c:a7:94:8f:
46 bc:e1:d3:2c:36:32:6f:ef:7a:00:99:33:15:fc:38:20:df:74:
[all …]
/net-tools-3.7.0/mbedtls-2.4.0/programs/ssl/
DCMakeLists.txt27 add_executable(dtls_client dtls_client.c)
30 add_executable(dtls_server dtls_server.c)
33 add_executable(ssl_client1 ssl_client1.c)
36 add_executable(ssl_client2 ssl_client2.c)
39 add_executable(ssl_server ssl_server.c)
42 add_executable(ssl_server2 ssl_server2.c)
45 add_executable(ssl_fork_server ssl_fork_server.c)
48 add_executable(ssl_mail_client ssl_mail_client.c)
51 add_executable(mini_client mini_client.c)
55 add_executable(ssl_pthread_server ssl_pthread_server.c)
/net-tools-3.7.0/libcoap/tests/
DMakefile.am18 testdriver.c \
19 test_error_response.c \
20 test_options.c \
21 test_pdu.c \
22 test_sendqueue.c \
23 test_uri.c \
24 test_wellknown.c
/net-tools-3.7.0/tinydtls-0.8.2/sha2/
Dsha2.c385 #define ROUND256_0_TO_15(a,b,c,d,e,f,g,h) \ argument
390 (h) = T1 + Sigma0_256(a) + Maj((a), (b), (c)); \
396 #define ROUND256_0_TO_15(a,b,c,d,e,f,g,h) \ argument
400 (h) = T1 + Sigma0_256(a) + Maj((a), (b), (c)); \
405 #define ROUND256(a,b,c,d,e,f,g,h) \ argument
413 (h) = T1 + Sigma0_256(a) + Maj((a), (b), (c)); \
417 sha2_word32 a, b, c, d, e, f, g, h, s0, s1; in SHA256_Transform() local
426 c = context->state[2]; in SHA256_Transform()
436 ROUND256_0_TO_15(a,b,c,d,e,f,g,h); in SHA256_Transform()
437 ROUND256_0_TO_15(h,a,b,c,d,e,f,g); in SHA256_Transform()
[all …]
/net-tools-3.7.0/tinydtls-0.8.2/tests/
DMakefile.in38 SOURCES:= dtls-server.c ccm-test.c prf-test.c \
39 dtls-client.c
41 OBJECTS:= $(patsubst %.c, %.o, $(SOURCES))
42 PROGRAMS:= $(patsubst %.c, %, $(SOURCES))
49 FILES:=Makefile.in $(SOURCES) ccm-testdata.c #cbc_aes128-testdata.c
54 .SUFFIXES: .c .o

123456