/mbedtls-development/library/ |
A D | bn_mul.h | 54 ( (mbedtls_mpi_uint) (d) << 24 ) 228 : "+c" (c), "+D" (d), "+S" (s), "+m" (*(uint64_t (*)[16]) d) \ 252 : "+r" (c), "+r" (d), "+r" (s), "+m" (*(uint64_t (*)[16]) d) \ 510 : "=m" (c), "=m" (d), "=m" (s) \ 511 : "m" (s), "m" (d), "m" (c), "m" (b) \ 542 : "=m" (c), "=m" (d), "=m" (s) \ 543 : "m" (s), "m" (d), "m" (c), "m" (b) \ 940 r0 += *d; r1 += (r0 < *d); \ 941 c = r1; *(d++) = r0; 965 r0 += *d; r1 += (r0 < *d); \ [all …]
|
A D | poly1305.c | 205 uint64_t d; in poly1305_compute_mac() local 224 g0 = (uint32_t) d; in poly1305_compute_mac() 225 d = ( (uint64_t) acc1 + ( d >> 32 ) ); in poly1305_compute_mac() 226 g1 = (uint32_t) d; in poly1305_compute_mac() 227 d = ( (uint64_t) acc2 + ( d >> 32 ) ); in poly1305_compute_mac() 228 g2 = (uint32_t) d; in poly1305_compute_mac() 229 d = ( (uint64_t) acc3 + ( d >> 32 ) ); in poly1305_compute_mac() 230 g3 = (uint32_t) d; in poly1305_compute_mac() 245 acc0 = (uint32_t) d; in poly1305_compute_mac() 246 d = (uint64_t) acc1 + ctx->s[1] + ( d >> 32U ); in poly1305_compute_mac() [all …]
|
A D | aria.c | 227 *d = ( (uint32_t) sa[ MBEDTLS_BYTE_0( *d ) ] ) ^ in aria_sl() 346 uint32_t a, b, c, d; in aria_fo_xor() local 351 d = p[3] ^ k[3]; in aria_fo_xor() 359 r[3] = d ^ x[3]; in aria_fo_xor() 368 uint32_t a, b, c, d; in aria_fe_xor() local 373 d = p[3] ^ k[3]; in aria_fe_xor() 381 r[3] = d ^ x[3]; in aria_fe_xor() 523 uint32_t a, b, c, d; in mbedtls_aria_crypt_ecb() local 539 d ^= ctx->rk[i][3]; in mbedtls_aria_crypt_ecb() 548 d ^= ctx->rk[i][3]; in mbedtls_aria_crypt_ecb() [all …]
|
A D | ecdh.c | 75 mbedtls_mpi *d, mbedtls_ecp_point *Q, in ecdh_gen_public_restartable() argument 88 MBEDTLS_MPI_CHK( mbedtls_ecp_mul_restartable( grp, Q, d, &grp->G, in ecdh_gen_public_restartable() 103 ECDH_VALIDATE_RET( d != NULL ); in mbedtls_ecdh_gen_public() 126 MBEDTLS_MPI_CHK( mbedtls_ecp_mul_restartable( grp, &P, d, Q, in ecdh_compute_shared_restartable() 153 ECDH_VALIDATE_RET( d != NULL ); in mbedtls_ecdh_compute_shared() 155 return( ecdh_compute_shared_restartable( grp, z, Q, d, in mbedtls_ecdh_compute_shared() 163 mbedtls_mpi_init( &ctx->d ); in ecdh_init_internal() 242 mbedtls_mpi_free( &ctx->d ); in ecdh_free_internal() 329 if( ( ret = mbedtls_ecdh_gen_public( &ctx->grp, &ctx->d, &ctx->Q, in ecdh_make_params_internal() 462 ( ret = mbedtls_mpi_copy( &ctx->d, &key->d ) ) != 0 ) in ecdh_get_params_internal() [all …]
|
A D | ecp.c | 555 mbedtls_mpi_init( &key->d ); in mbedtls_ecp_keypair_init() 622 mbedtls_mpi_free( &key->d ); in mbedtls_ecp_keypair_free() 1648 memset( x, 0, d+1 ); in ecp_comb_recode_core() 1651 for( i = 0; i < d; i++ ) in ecp_comb_recode_core() 1657 for( i = 1; i <= d; i++ ) in ecp_comb_recode_core() 1757 for( ; j < d * ( w - 1 ); j++ ) in ecp_precompute_comb() 1761 i = 1U << ( j / d ); in ecp_precompute_comb() 1764 if( j % d == 0 ) in ecp_precompute_comb() 1908 i = d; in ecp_mul_comb_core() 2122 size_t d; in ecp_mul_comb() local [all …]
|
A D | ecdsa.c | 271 if( mbedtls_mpi_cmp_int( d, 1 ) < 0 || mbedtls_mpi_cmp_mpi( d, &grp->N ) >= 0 ) in ecdsa_sign_restartable() 361 MBEDTLS_MPI_CHK( mbedtls_mpi_mul_mpi( s, pr, d ) ); in ecdsa_sign_restartable() 410 ECDSA_VALIDATE_RET( d != NULL ); in mbedtls_ecdsa_sign() 415 return( ecdsa_sign_restartable( grp, r, s, d, buf, blen, in mbedtls_ecdsa_sign() 464 MBEDTLS_MPI_CHK( mbedtls_mpi_write_binary( d, data, grp_len ) ); in ecdsa_sign_det_restartable() 478 ret = mbedtls_ecdsa_sign( grp, r, s, d, buf, blen, in ecdsa_sign_det_restartable() 481 ret = ecdsa_sign_restartable( grp, r, s, d, buf, blen, in ecdsa_sign_det_restartable() 509 ECDSA_VALIDATE_RET( d != NULL ); in mbedtls_ecdsa_sign_det_ext() 709 MBEDTLS_MPI_CHK( mbedtls_ecdsa_sign( &ctx->grp, &r, &s, &ctx->d, in mbedtls_ecdsa_write_signature_restartable() 841 return( mbedtls_ecp_gen_keypair( &ctx->grp, &ctx->d, in mbedtls_ecdsa_genkey() [all …]
|
/mbedtls-development/tests/data_files/dir3/ |
A D | test-ca.crt | 15 00:c0:df:37:fc:17:bb:e0:96:9d:3f:86:de:96:32: 16 7d:44:a5:16:a0:cd:21:f1:99:d4:ec:ea:cb:7c:18: 18 1e:7b:c0:8d:39:df:38:5d:70:78:07:d3:9e:d9:93: 46 1d:87:89:4a:c4:78:11:d8:07:b5:d7:22:50:8e:48:eb:62:7a: 48 37:23:72:5f:0d:46:59:8f:d8:47:cd:97:4c:9f:07:0c:12:62: 50 8b:9b:e0:d5:dc:67:ed:8c:6b:33:d7:74:22:3c:4c:db:b5:8d: 51 2a:ce:2c:0d:08:59:05:09:05:a6:39:9f:b3:67:1b:e2:83:e5: 53 e9:c0:3e:a8:7a:72:3d:87:53:1f:e5:2c:84:84:e7:9a:9e:7f: 54 66:d9:1f:9b:f5:13:48:b0:4d:14:d1:de:b2:24:d9:78:7d:f5: 55 35:cc:58:19:d1:d2:99:ef:4d:73:f8:1f:89:d4:5a:d0:52:ce: [all …]
|
/mbedtls-development/tests/data_files/dir1/ |
A D | test-ca.crt | 15 00:c0:df:37:fc:17:bb:e0:96:9d:3f:86:de:96:32: 16 7d:44:a5:16:a0:cd:21:f1:99:d4:ec:ea:cb:7c:18: 18 1e:7b:c0:8d:39:df:38:5d:70:78:07:d3:9e:d9:93: 46 1d:87:89:4a:c4:78:11:d8:07:b5:d7:22:50:8e:48:eb:62:7a: 48 37:23:72:5f:0d:46:59:8f:d8:47:cd:97:4c:9f:07:0c:12:62: 50 8b:9b:e0:d5:dc:67:ed:8c:6b:33:d7:74:22:3c:4c:db:b5:8d: 51 2a:ce:2c:0d:08:59:05:09:05:a6:39:9f:b3:67:1b:e2:83:e5: 53 e9:c0:3e:a8:7a:72:3d:87:53:1f:e5:2c:84:84:e7:9a:9e:7f: 54 66:d9:1f:9b:f5:13:48:b0:4d:14:d1:de:b2:24:d9:78:7d:f5: 55 35:cc:58:19:d1:d2:99:ef:4d:73:f8:1f:89:d4:5a:d0:52:ce: [all …]
|
/mbedtls-development/tests/data_files/dir2/ |
A D | test-ca.crt | 15 00:c0:df:37:fc:17:bb:e0:96:9d:3f:86:de:96:32: 16 7d:44:a5:16:a0:cd:21:f1:99:d4:ec:ea:cb:7c:18: 18 1e:7b:c0:8d:39:df:38:5d:70:78:07:d3:9e:d9:93: 46 1d:87:89:4a:c4:78:11:d8:07:b5:d7:22:50:8e:48:eb:62:7a: 48 37:23:72:5f:0d:46:59:8f:d8:47:cd:97:4c:9f:07:0c:12:62: 50 8b:9b:e0:d5:dc:67:ed:8c:6b:33:d7:74:22:3c:4c:db:b5:8d: 51 2a:ce:2c:0d:08:59:05:09:05:a6:39:9f:b3:67:1b:e2:83:e5: 53 e9:c0:3e:a8:7a:72:3d:87:53:1f:e5:2c:84:84:e7:9a:9e:7f: 54 66:d9:1f:9b:f5:13:48:b0:4d:14:d1:de:b2:24:d9:78:7d:f5: 55 35:cc:58:19:d1:d2:99:ef:4d:73:f8:1f:89:d4:5a:d0:52:ce: [all …]
|
/mbedtls-development/tests/data_files/ |
A D | server9-with-ca.crt | 37 1e:7b:c0:8d:39:df:38:5d:70:78:07:d3:9e:d9:93: 65 1d:87:89:4a:c4:78:11:d8:07:b5:d7:22:50:8e:48:eb:62:7a: 67 37:23:72:5f:0d:46:59:8f:d8:47:cd:97:4c:9f:07:0c:12:62: 69 8b:9b:e0:d5:dc:67:ed:8c:6b:33:d7:74:22:3c:4c:db:b5:8d: 70 2a:ce:2c:0d:08:59:05:09:05:a6:39:9f:b3:67:1b:e2:83:e5: 72 e9:c0:3e:a8:7a:72:3d:87:53:1f:e5:2c:84:84:e7:9a:9e:7f: 73 66:d9:1f:9b:f5:13:48:b0:4d:14:d1:de:b2:24:d9:78:7d:f5: 74 35:cc:58:19:d1:d2:99:ef:4d:73:f8:1f:89:d4:5a:d0:52:ce: 75 09:f5:b1:46:51:6a:00:8e:3b:cc:6f:63:01:00:99:ed:9d:a6: 76 08:60:cd:32:18:d0:73:e0:58:71:d9:e5:d2:53:d7:8d:d0:ca: [all …]
|
A D | dh.optlen.pem | 7 93:8e:a1:1b:48:dc:51:5d:ab:7a:bc:bb:1e:0c:7f: 8 d6:65:11:ed:c0:d8:65:51:b7:63:24:96:e0:3d:f9: 10 5f:5b:f0:0d:f8:28:80:60:20:e8:75:c0:09:26:e4: 15 18:76:e7:ef:73:9d:51:60:d0:95:c9:68:41:88:b0: 16 c8:75:5c:7a:46:8d:47:f5:6d:6d:b9:ea:01:29:24: 20 6d:3e:95:db:ff:f1:eb:64:69:2e:dc:0a:44:f3:d3: 27 6a:57:8d:70:c5:c5:60:ad:2b:db:92:4c:4a:4d:be: 29 80:3d:be:ca:60:c3:3e:12:89:c1:a0:3a:c2:c6:c4: 31 2d:52:13:ed:4a:5f:1f:5b:a8:b5:e1:ed:3d:a9:51: 35 5b:2e:a1:fa:34:40:5d:83:98:2f:ba:40:e6:d8:52: [all …]
|
A D | server10_int3_int-ca2_ca.crt | 58 1e:7b:c0:8d:39:df:38:5d:70:78:07:d3:9e:d9:93: 86 1d:87:89:4a:c4:78:11:d8:07:b5:d7:22:50:8e:48:eb:62:7a: 88 37:23:72:5f:0d:46:59:8f:d8:47:cd:97:4c:9f:07:0c:12:62: 90 8b:9b:e0:d5:dc:67:ed:8c:6b:33:d7:74:22:3c:4c:db:b5:8d: 91 2a:ce:2c:0d:08:59:05:09:05:a6:39:9f:b3:67:1b:e2:83:e5: 93 e9:c0:3e:a8:7a:72:3d:87:53:1f:e5:2c:84:84:e7:9a:9e:7f: 94 66:d9:1f:9b:f5:13:48:b0:4d:14:d1:de:b2:24:d9:78:7d:f5: 95 35:cc:58:19:d1:d2:99:ef:4d:73:f8:1f:89:d4:5a:d0:52:ce: 96 09:f5:b1:46:51:6a:00:8e:3b:cc:6f:63:01:00:99:ed:9d:a6: 97 08:60:cd:32:18:d0:73:e0:58:71:d9:e5:d2:53:d7:8d:d0:ca: [all …]
|
A D | dh.998.pem | 4 b3:35:e2:8d:66:fc:6a:6e:94:f3:df:97:f2:89:31: 6 48:2d:77:99:08:1d:67:38:37:0a:cd:cf:39:b6:3c: 7 9d:8a:e5:85:3c:71:e3:4b:3e:1e:b9:80:e3:cc:7a: 9 c7:11:b9:64:43:40:75:c7:4a:ef:a7:2d:00:e2:62: 10 8f:93:78:96:8f:2c:25:8d:7d:1f:eb:5c:3c:bf:51:
|
A D | dh.1000.pem | 5 23:84:3c:0d:55:8c:b9:7d:a9:d5:9a:80:82:fb:50: 17 ba:0d:92:08:9d:d9:b3:28:41:5d:88:4e:fe:3c:ae: 19 d0:1e:7c:4e:22:07:d2:b5:f9:9a:9e:52:e2:97:9d: 20 c3:cb:0d:66:33:75:95:a7:96:6e:69:ec:16:bd:06: 21 4a:1a:dc:b2:d4:29:23:ab:2e:8f:7f:6a:84:1d:82: 22 23:6e:42:8c:1e:70:3d:21:bb:b9:b9:8f:f9:fd:9c:
|
A D | dh.999.pem | 8 bd:6d:3b:b6:02:4f:5d:12:a7:ac:90:b8:9e:be:93: 9 82:bc:09:7c:cd:e1:09:21:1e:3d:69:2a:76:41:00: 10 68:6d:b7:e8:e8:df:d6:1b:82:93:d9:21:4a:ea:71:
|
/mbedtls-development/scripts/ |
A D | generate_visualc_files.pl | 111 foreach my $d (@thirdparty_header_dirs, @thirdparty_source_dirs) { 112 if (not (-d $d)) { return 0; } 114 return -d $vsx_dir 115 && -d $mbedtls_header_dir 116 && -d $psa_header_dir 117 && -d $source_dir 118 && -d $test_source_dir 119 && -d $test_drivers_source_dir 120 && -d $test_header_dir 121 && -d $test_drivers_header_dir [all …]
|
A D | generate_features.pl | 26 -d $include_dir or die "No such directory: $include_dir\n"; 27 -d $data_dir or die "No such directory: $data_dir\n"; 33 unless( -d $include_dir && -d $data_dir ) { 35 -d $include_dir && -d $data_dir
|
A D | generate_psa_constants.py | 274 d = self.key_types_from_curve 276 return ''.join([make(k, d[k]) for k in sorted(d.keys())]) 279 d = self.key_types_from_group 281 return ''.join([make(k, d[k]) for k in sorted(d.keys())]) 302 d = self.algorithms_from_hash 304 return ''.join([make(k, d[k]) for k in sorted(d.keys())])
|
A D | generate_errors.pl | 32 -d $include_dir or die "No such directory: $include_dir\n"; 33 -d $data_dir or die "No such directory: $data_dir\n"; 39 unless( -d $include_dir && -d $data_dir ) { 41 -d $include_dir && -d $data_dir
|
/mbedtls-development/tests/suites/ |
A D | test_suite_debug.data | 32 … (16 bytes)\nMyFile(0999)\: 0000\: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f .............… 35 … (17 bytes)\nMyFile(0999)\: 0000\: 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f .............… 38 …d 0e 0f ................\nMyFile(0999)\: 0010\: 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f … 53 …d 00 fe d1 49 1f e1 5d f2 84 df de 4a 14\nMyFile(0999)\: 2f 68 aa 8d 41 20 23 19 5c ee 66 88 3e 6… 56 …d 00 fe d1 49 1f e1 5d f2 84 df de 4a\nMyFile(0999)\: 14 2f 68 aa 8d 41 20 23 19 5c ee 66 88 3e 6… 59 …d 00 fe d1 49 1f e1 5d f2 84 df de 4a\nMyFile(0999)\: 14 2f 68 aa 8d 41 20 23 19 5c ee 66 88 3e 6… 63 …d 40 6a d5 55 53 8b fd 36 ee 82 65 2e\nMyFile(0999)\: 15 61 5e 89 bf b8 e8 45 90 db ee 88 16 52 d… 67 … 52 b4 91 95\nMyFile(0999)\: 39 0b 23 df 5f 17 24 62 48 fc 1a 95 29 ce 2c 2d\nMyFile(0999)\: valu…
|
A D | test_suite_version.function | 20 mbedtls_snprintf( build_str, 100, "%d.%d.%d", MBEDTLS_VERSION_MAJOR, 23 mbedtls_snprintf( build_str_full, 100, "mbed TLS %d.%d.%d", MBEDTLS_VERSION_MAJOR,
|
A D | test_suite_ecdsa.function | 15 mbedtls_mpi d, r, s; 21 mbedtls_mpi_init( &d ); mbedtls_mpi_init( &r ); mbedtls_mpi_init( &s ); 26 TEST_ASSERT( mbedtls_ecp_gen_keypair( &grp, &d, &Q, 30 TEST_ASSERT( mbedtls_ecdsa_sign( &grp, &r, &s, &d, buf, sizeof( buf ), 47 mbedtls_mpi d, r, s; 61 TEST_ASSERT( mbedtls_ecp_gen_keypair( &grp, &d, &Q, 85 mbedtls_mpi d, r, s, r_check, s_check; 95 TEST_ASSERT( mbedtls_test_read_mpi( &d, 16, d_str ) == 0 ); 149 mbedtls_mpi d, r, s, r_check, s_check; 160 TEST_ASSERT( mbedtls_test_read_mpi( &d, 16, d_str ) == 0 ); [all …]
|
/mbedtls-development/tests/scripts/ |
A D | key-exchanges.pl | 40 -d 'library' && -d 'include' && -d 'tests' or die "Must be run from root\n";
|
A D | depends-pkalgs.pl | 44 -d 'library' && -d 'include' && -d 'tests' or die "Must be run from root\n";
|
/mbedtls-development/scripts/mbedtls_dev/ |
A D | build_tree.py | 32 for d in [os.path.curdir, 35 if looks_like_mbedtls_root(d): 36 os.chdir(d)
|