/openthread-3.4.0/third_party/mbedtls/repo/library/ |
D | des.c | 232 #define DES_IP(X,Y) \ argument 235 T = (((X) >> 4) ^ (Y)) & 0x0F0F0F0F; (Y) ^= T; (X) ^= (T << 4); \ 236 T = (((X) >> 16) ^ (Y)) & 0x0000FFFF; (Y) ^= T; (X) ^= (T << 16); \ 237 T = (((Y) >> 2) ^ (X)) & 0x33333333; (X) ^= T; (Y) ^= (T << 2); \ 238 T = (((Y) >> 8) ^ (X)) & 0x00FF00FF; (X) ^= T; (Y) ^= (T << 8); \ 239 (Y) = (((Y) << 1) | ((Y) >> 31)) & 0xFFFFFFFF; \ 240 T = ((X) ^ (Y)) & 0xAAAAAAAA; (Y) ^= T; (X) ^= T; \ 247 #define DES_FP(X,Y) \ argument 251 T = ((X) ^ (Y)) & 0xAAAAAAAA; (X) ^= T; (Y) ^= T; \ 252 (Y) = (((Y) << 31) | ((Y) >> 1)) & 0xFFFFFFFF; \ [all …]
|
D | constant_time.c | 537 const mbedtls_mpi *Y, in mbedtls_mpi_safe_cond_assign() argument 544 MPI_VALIDATE_RET( Y != NULL ); in mbedtls_mpi_safe_cond_assign() 549 MBEDTLS_MPI_CHK( mbedtls_mpi_grow( X, Y->n ) ); in mbedtls_mpi_safe_cond_assign() 551 X->s = mbedtls_ct_cond_select_sign( assign, Y->s, X->s ); in mbedtls_mpi_safe_cond_assign() 553 mbedtls_ct_mpi_uint_cond_assign( Y->n, X->p, Y->p, assign ); in mbedtls_mpi_safe_cond_assign() 555 for( i = Y->n; i < X->n; i++ ) in mbedtls_mpi_safe_cond_assign() 569 mbedtls_mpi *Y, in mbedtls_mpi_safe_cond_swap() argument 577 MPI_VALIDATE_RET( Y != NULL ); in mbedtls_mpi_safe_cond_swap() 579 if( X == Y ) in mbedtls_mpi_safe_cond_swap() 585 MBEDTLS_MPI_CHK( mbedtls_mpi_grow( X, Y->n ) ); in mbedtls_mpi_safe_cond_swap() [all …]
|
D | bignum.c | 216 int mbedtls_mpi_copy( mbedtls_mpi *X, const mbedtls_mpi *Y ) in mbedtls_mpi_copy() argument 221 MPI_VALIDATE_RET( Y != NULL ); in mbedtls_mpi_copy() 223 if( X == Y ) in mbedtls_mpi_copy() 226 if( Y->n == 0 ) in mbedtls_mpi_copy() 236 for( i = Y->n - 1; i > 0; i-- ) in mbedtls_mpi_copy() 237 if( Y->p[i] != 0 ) in mbedtls_mpi_copy() 241 X->s = Y->s; in mbedtls_mpi_copy() 252 memcpy( X->p, Y->p, i * ciL ); in mbedtls_mpi_copy() 262 void mbedtls_mpi_swap( mbedtls_mpi *X, mbedtls_mpi *Y ) in mbedtls_mpi_swap() argument 266 MPI_VALIDATE( Y != NULL ); in mbedtls_mpi_swap() [all …]
|
D | aes.c | 850 uint32_t Y[4]; in mbedtls_internal_aes_encrypt() member 860 AES_FROUND( t.Y[0], t.Y[1], t.Y[2], t.Y[3], t.X[0], t.X[1], t.X[2], t.X[3] ); in mbedtls_internal_aes_encrypt() 861 AES_FROUND( t.X[0], t.X[1], t.X[2], t.X[3], t.Y[0], t.Y[1], t.Y[2], t.Y[3] ); in mbedtls_internal_aes_encrypt() 864 AES_FROUND( t.Y[0], t.Y[1], t.Y[2], t.Y[3], t.X[0], t.X[1], t.X[2], t.X[3] ); in mbedtls_internal_aes_encrypt() 867 ( (uint32_t) FSb[ MBEDTLS_BYTE_0( t.Y[0] ) ] ) ^ in mbedtls_internal_aes_encrypt() 868 ( (uint32_t) FSb[ MBEDTLS_BYTE_1( t.Y[1] ) ] << 8 ) ^ in mbedtls_internal_aes_encrypt() 869 ( (uint32_t) FSb[ MBEDTLS_BYTE_2( t.Y[2] ) ] << 16 ) ^ in mbedtls_internal_aes_encrypt() 870 ( (uint32_t) FSb[ MBEDTLS_BYTE_3( t.Y[3] ) ] << 24 ); in mbedtls_internal_aes_encrypt() 873 ( (uint32_t) FSb[ MBEDTLS_BYTE_0( t.Y[1] ) ] ) ^ in mbedtls_internal_aes_encrypt() 874 ( (uint32_t) FSb[ MBEDTLS_BYTE_1( t.Y[2] ) ] << 8 ) ^ in mbedtls_internal_aes_encrypt() [all …]
|
D | ecp.c | 665 if( grp->G.Y.p == NULL ) in mbedtls_ecp_get_type() 679 mbedtls_mpi_init( &pt->Y ); in mbedtls_ecp_point_init() 728 mbedtls_mpi_free( &( pt->Y ) ); in mbedtls_ecp_point_free() 784 MBEDTLS_MPI_CHK( mbedtls_mpi_copy( &P->Y, &Q->Y ) ); in mbedtls_ecp_copy() 811 MBEDTLS_MPI_CHK( mbedtls_mpi_lset( &pt->Y , 1 ) ); in mbedtls_ecp_set_zero() 838 mbedtls_mpi_cmp_mpi( &P->Y, &Q->Y ) == 0 && in mbedtls_ecp_point_cmp() 859 MBEDTLS_MPI_CHK( mbedtls_mpi_read_string( &P->Y, radix, y ) ); in mbedtls_ecp_point_read_string() 922 MBEDTLS_MPI_CHK( mbedtls_mpi_write_binary( &P->Y, buf + 1 + plen, plen ) ); in mbedtls_ecp_point_write_binary() 931 buf[0] = 0x02 + mbedtls_mpi_get_bit( &P->Y, 0 ); in mbedtls_ecp_point_write_binary() 966 mbedtls_mpi_free( &pt->Y ); in mbedtls_ecp_point_read_binary() [all …]
|
D | havege.c | 52 #define SWAP(X,Y) { uint32_t *T = (X); (X) = (Y); (Y) = T; } argument
|
D | ecp_curves.c | 579 ecp_mpi_load( &grp->G.Y, gy, gylen ); in ecp_group_load() 682 mbedtls_mpi_free( &grp->G.Y ); in ecp_use_curve25519() 730 mbedtls_mpi_free( &grp->G.Y ); in ecp_use_curve448() 1278 #define DIV_ROUND_UP( X, Y ) ( ( ( X ) + ( Y ) - 1 ) / ( Y ) ) argument
|
D | pkparse.c | 356 mbedtls_mpi_lset( &grp->G.Y, p[0] - 2 ) != 0 || in pk_group_from_specified() 407 mbedtls_mpi_get_bit( &grp->G.Y, 0 ) == mbedtls_mpi_get_bit( &ref.G.Y, 0 ) ) in pk_group_id_from_group()
|
/openthread-3.4.0/third_party/mbedtls/repo/tests/suites/ |
D | test_suite_mpi.function | 348 mbedtls_mpi X, Y, Z; 351 mbedtls_mpi_init( &Y ); 538 mbedtls_mpi X, Y; 542 mbedtls_mpi_init( &X ); mbedtls_mpi_init( &Y ); 554 ret = mbedtls_mpi_read_file( &Y, output_radix, file_in ); 558 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &X, &Y ) == 0 ); 561 mbedtls_mpi_free( &X ); mbedtls_mpi_free( &Y ); 582 mbedtls_mpi X, Y; 583 mbedtls_mpi_init( &X ); mbedtls_mpi_init( &Y ); 586 TEST_ASSERT( mbedtls_test_read_mpi( &Y, radix_Y, output_Y ) == 0 ); [all …]
|
D | test_suite_ecp.function | 407 TEST_ASSERT( mbedtls_test_read_mpi( &P.Y, 16, y_hex ) == 0 ); 476 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &R.Y, &yA ) == 0 ); 491 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &R.Y, &yZ ) == 0 ); 547 TEST_ASSERT( mbedtls_test_read_mpi( &Q.Y, 16, yQ_str ) == 0 ); 561 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &R.Y, &yR ) == 0 ); 616 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &R.Y, &yA ) == 0 ); 620 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &R.Y, &yZ ) == 0 ); 625 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &R.Y, &yB ) == 0 ); 630 TEST_ASSERT( mbedtls_mpi_cmp_mpi( &R.Y, &yZ ) == 0 ); 714 TEST_ASSERT( mbedtls_mpi_read_binary( &P.Y, Py_hex->x, Py_hex->len ) == 0 ); [all …]
|
/openthread-3.4.0/third_party/mbedtls/repo/programs/pkey/ |
D | mpi_demo.c | 56 mbedtls_mpi E, P, Q, N, H, D, X, Y, Z; in main() local 59 mbedtls_mpi_init( &H ); mbedtls_mpi_init( &D ); mbedtls_mpi_init( &X ); mbedtls_mpi_init( &Y ); in main() 87 MBEDTLS_MPI_CHK( mbedtls_mpi_exp_mod( &Y, &X, &E, &N, NULL ) ); in main() 88 MBEDTLS_MPI_CHK( mbedtls_mpi_exp_mod( &Z, &Y, &D, &N, NULL ) ); in main() 92 MBEDTLS_MPI_CHK( mbedtls_mpi_write_file( " Y (ciphertext) = X^E mod N = ", &Y, 10, NULL ) ); in main() 100 mbedtls_mpi_free( &H ); mbedtls_mpi_free( &D ); mbedtls_mpi_free( &X ); mbedtls_mpi_free( &Y ); in main()
|
D | key_app.c | 226 MBEDTLS_MPI_CHK( mbedtls_mpi_write_file( "Q(Y): ", &ecp->Q.Y, 16, NULL ) ); in main() 277 MBEDTLS_MPI_CHK( mbedtls_mpi_write_file( "Q(Y): ", &ecp->Q.Y, 16, NULL ) ); in main()
|
D | key_app_writer.c | 342 mbedtls_mpi_write_file( "Q(Y): ", &ecp->Q.Y, 16, NULL ); in main() 395 mbedtls_mpi_write_file( "Q(Y): ", &ecp->Q.Y, 16, NULL ); in main()
|
D | gen_key.c | 400 mbedtls_mpi_write_file( "Y_Q: ", &ecp->Q.Y, 16, NULL ); in main()
|
/openthread-3.4.0/tools/harness-simulation/harness/ |
D | install.bat | 29 xcopy /E /Y Thread_Harness %THREADDIR%\Thread_Harness 30 copy /Y ..\..\harness-thci\OpenThread.py %THREADDIR%\Thread_Harness\THCI 31 copy /Y ..\..\harness-thci\OpenThread_BR.py %THREADDIR%\Thread_Harness\THCI 32 copy /Y ..\..\harness-thci\OpenThread.png %THREADDIR%\Web\images 33 copy /Y ..\..\harness-thci\OpenThread_BR.png %THREADDIR%\Web\images 34 copy /Y ..\posix\config.yml %THREADDIR%\Thread_Harness\simulation 35 xcopy /E /Y ..\posix\sniffer_sim\proto %THREADDIR%\Thread_Harness\simulation\Sniffer\proto
|
/openthread-3.4.0/third_party/mbedtls/repo/include/mbedtls/ |
D | bignum.h | 264 int mbedtls_mpi_copy( mbedtls_mpi *X, const mbedtls_mpi *Y ); 272 void mbedtls_mpi_swap( mbedtls_mpi *X, mbedtls_mpi *Y ); 298 int mbedtls_mpi_safe_cond_assign( mbedtls_mpi *X, const mbedtls_mpi *Y, unsigned char assign ); 323 int mbedtls_mpi_safe_cond_swap( mbedtls_mpi *X, mbedtls_mpi *Y, unsigned char assign ); 589 int mbedtls_mpi_cmp_abs( const mbedtls_mpi *X, const mbedtls_mpi *Y ); 601 int mbedtls_mpi_cmp_mpi( const mbedtls_mpi *X, const mbedtls_mpi *Y ); 618 int mbedtls_mpi_lt_mpi_ct( const mbedtls_mpi *X, const mbedtls_mpi *Y,
|
D | ecp.h | 180 mbedtls_mpi Y; /*!< The Y coordinate of the ECP point. */ member
|
/openthread-3.4.0/third_party/mbedtls/repo/tests/data_files/ |
D | test-ca-alt.key | 16 Y/pqAw9fluvlYpgAyGyG0k8d3xb0uUnV1u+rvMZiOiJQerNawMc/PoYkhhRPKXkM 22 VMkEU3S72vVvzJFe1jovL6dl85wAOAybsA6QAdHDY+v/j7HHa597RyNRU6lbMc/Y
|
D | rsa_pkcs1_4096_aes256.pem | 37 uxxHANzHRImndCsFiWfX5Wm5AuY9Rj5EbW3D5vsGiAT2wm9Ire+OkIgAzOpp+Y+b 48 Ka9q9E6K1Y+Y+4gdDkRnssG0ymLk+F164+6cuCAVALwGwW+VtDyc1e1cc+445siC
|
D | rsa_pkcs8_pbes2_pbkdf2_4096_des_sha512.pem | 9 oXxRsya6HqCD4kx+zbofbL4dEZliLDmISoHRl9ipQfr1+Y//JYhEf6gLzmdFqP3q 34 BHV95sRDCAvUywGTIPhx5xa+gICVeL97DOUCS+Y+WJYmeSlZ5r+dyg2V7+CX+qjr
|
D | crl_md2.pem | 6 ygyd5+RW/Y//vpck44V+CYx1d1r+QkauaXel9qUKBPsg2dUwQ+jwV/m+Sp2MHaX5
|
D | rsa_pkcs8_pbes2_pbkdf2_2048_3des_sha256.pem | 10 TuYGtepHEKLajFZ9JvhjQm/t2lYa0GGBNH5j1wwmfdIqZZR82mYgsgVVhyp8NC+Y
|
D | server7_all_space.crt | 40 updQ66cvfCJB0QJt9upafY0lpdV1qUkCAwEAAaOBoDCBnTAdBgNVHQ4EFgQUOHf Y
|
/openthread-3.4.0/src/cli/ |
D | README_HISTORY.md | 86 … 00:00:04.991 | Removed | 2001:dead:beef:cafe:c4cb:caba:8d55:e30b/64 | slaac | 14 | Y | Y | N | 87 … 00:00:44.647 | Added | 2001:dead:beef:cafe:c4cb:caba:8d55:e30b/64 | slaac | 14 | Y | Y | N | 88 … 00:01:07.199 | Added | fd00:0:0:0:0:0:0:1/64 | manual | 14 | Y | Y | N | 89 … 00:02:17.885 | Added | fdde:ad00:beef:0:0:ff:fe00:fc00/64 | thread | 3 | N | Y | N | 90 … 00:02:17.885 | Added | fdde:ad00:beef:0:0:ff:fe00:5400/64 | thread | 3 | N | Y | Y | 91 … 00:02:20.107 | Removed | fdde:ad00:beef:0:0:ff:fe00:5400/64 | thread | 3 | N | Y | Y | 92 … 00:02:21.575 | Added | fdde:ad00:beef:0:0:ff:fe00:5400/64 | thread | 3 | N | Y | Y | 93 … 00:02:21.575 | Added | fdde:ad00:beef:0:ecea:c4fc:ad96:4655/64 | thread | 3 | N | Y | N | 94 … 00:02:23.904 | Added | fe80:0:0:0:3c12:a4d2:fbe0:31ad/64 | thread | 2 | Y | Y | N |
|
/openthread-3.4.0/third_party/mbedtls/repo/tests/data_files/dir4/ |
D | cert12.crt | 5 BQADggEPADCCAQoCggEBANJrP7/Y+KjupvlgaOmQYArfGuoh3CzcdPe/mlhq+fxD
|