/optee_os/lib/libmbedtls/mbedtls/library/ |
A D | timing.c | 26 #define mbedtls_printf printf macro 394 mbedtls_printf( "failed at line %d\n", __LINE__ ); \ 422 mbedtls_printf( " TIMING tests note: will take some time!\n" ); in mbedtls_timing_self_test() 425 mbedtls_printf( " TIMING test #1 (set_alarm / get_timer): " ); in mbedtls_timing_self_test() 445 mbedtls_printf( "passed\n" ); in mbedtls_timing_self_test() 448 mbedtls_printf( " TIMING test #2 (set/get_delay ): " ); in mbedtls_timing_self_test() 474 mbedtls_printf( "passed\n" ); in mbedtls_timing_self_test() 477 mbedtls_printf( " TIMING test #3 (hardclock / get_timer): " ); in mbedtls_timing_self_test() 489 mbedtls_printf( "failed (ignored)\n" ); in mbedtls_timing_self_test() 518 mbedtls_printf( "passed\n" ); in mbedtls_timing_self_test() [all …]
|
A D | cmac.c | 801 mbedtls_printf( "skipped\n" ); in cmac_test_subkeys() 815 mbedtls_printf( "failed\n" ); in cmac_test_subkeys() 824 mbedtls_printf( "failed\n" ); in cmac_test_subkeys() 830 mbedtls_printf( "passed\n" ); in cmac_test_subkeys() 886 mbedtls_printf( "skipped\n" ); in cmac_test_wth_cipher() 891 mbedtls_printf( "failed\n" ); in cmac_test_wth_cipher() 898 mbedtls_printf( "failed\n" ); in cmac_test_wth_cipher() 903 mbedtls_printf( "passed\n" ); in cmac_test_wth_cipher() 927 mbedtls_printf( "failed\n" ); in test_aes128_cmac_prf() 933 mbedtls_printf( "passed\n" ); in test_aes128_cmac_prf() [all …]
|
A D | nist_kw.c | 46 #define mbedtls_printf printf macro 643 mbedtls_printf( " KW: setup failed " ); in mbedtls_nist_kw_self_test() 654 mbedtls_printf( "failed. "); in mbedtls_nist_kw_self_test() 665 mbedtls_printf( " KW: setup failed "); in mbedtls_nist_kw_self_test() 677 mbedtls_printf( "failed\n" ); in mbedtls_nist_kw_self_test() 684 mbedtls_printf( " passed\n" ); in mbedtls_nist_kw_self_test() 709 mbedtls_printf( "failed. "); in mbedtls_nist_kw_self_test() 720 mbedtls_printf( " KWP: setup failed "); in mbedtls_nist_kw_self_test() 732 mbedtls_printf( "failed. "); in mbedtls_nist_kw_self_test() 739 mbedtls_printf( " passed\n" ); in mbedtls_nist_kw_self_test() [all …]
|
A D | arc4.c | 39 #define mbedtls_printf printf macro 164 mbedtls_printf( " ARC4 test #%d: ", i + 1 ); in mbedtls_arc4_self_test() 174 mbedtls_printf( "failed\n" ); in mbedtls_arc4_self_test() 181 mbedtls_printf( "passed\n" ); in mbedtls_arc4_self_test() 185 mbedtls_printf( "\n" ); in mbedtls_arc4_self_test()
|
A D | camellia.c | 40 #define mbedtls_printf printf macro 978 mbedtls_printf( "failed\n" ); in mbedtls_camellia_self_test() 984 mbedtls_printf( "passed\n" ); in mbedtls_camellia_self_test() 988 mbedtls_printf( "\n" ); in mbedtls_camellia_self_test() 1030 mbedtls_printf( "failed\n" ); in mbedtls_camellia_self_test() 1036 mbedtls_printf( "passed\n" ); in mbedtls_camellia_self_test() 1041 mbedtls_printf( "\n" ); in mbedtls_camellia_self_test() 1073 mbedtls_printf( "failed\n" ); in mbedtls_camellia_self_test() 1088 mbedtls_printf( "failed\n" ); in mbedtls_camellia_self_test() 1094 mbedtls_printf( "passed\n" ); in mbedtls_camellia_self_test() [all …]
|
A D | xtea.c | 34 #define mbedtls_printf printf macro 240 mbedtls_printf( " XTEA test #%d: ", i + 1 ); in mbedtls_xtea_self_test() 250 mbedtls_printf( "failed\n" ); in mbedtls_xtea_self_test() 257 mbedtls_printf( "passed\n" ); in mbedtls_xtea_self_test() 261 mbedtls_printf( "\n" ); in mbedtls_xtea_self_test()
|
A D | base64.c | 34 #define mbedtls_printf printf macro 361 mbedtls_printf( " Base64 encoding test: " ); in mbedtls_base64_self_test() 369 mbedtls_printf( "failed\n" ); in mbedtls_base64_self_test() 375 mbedtls_printf( "passed\n Base64 decoding test: " ); in mbedtls_base64_self_test() 383 mbedtls_printf( "failed\n" ); in mbedtls_base64_self_test() 389 mbedtls_printf( "passed\n\n" ); in mbedtls_base64_self_test()
|
A D | gcm.c | 49 #define mbedtls_printf printf macro 793 mbedtls_printf( " AES-GCM-%3d #%d (%s): ", in mbedtls_gcm_self_test() 806 mbedtls_printf( "skipped\n" ); in mbedtls_gcm_self_test() 827 mbedtls_printf( "skipped\n" ); in mbedtls_gcm_self_test() 845 mbedtls_printf( "passed\n" ); in mbedtls_gcm_self_test() 850 mbedtls_printf( " AES-GCM-%3d #%d (%s): ", in mbedtls_gcm_self_test() 881 mbedtls_printf( "passed\n" ); in mbedtls_gcm_self_test() 942 mbedtls_printf( "passed\n" ); in mbedtls_gcm_self_test() 1002 mbedtls_printf( "passed\n" ); in mbedtls_gcm_self_test() 1007 mbedtls_printf( "\n" ); in mbedtls_gcm_self_test() [all …]
|
A D | md2.c | 41 #define mbedtls_printf printf macro 330 mbedtls_printf( " MD2 test #%d: ", i + 1 ); in mbedtls_md2_self_test() 343 mbedtls_printf( "passed\n" ); in mbedtls_md2_self_test() 347 mbedtls_printf( "\n" ); in mbedtls_md2_self_test() 353 mbedtls_printf( "failed\n" ); in mbedtls_md2_self_test()
|
A D | aria.c | 39 #define mbedtls_printf printf macro 923 mbedtls_printf( "failed\n" ); \ 927 mbedtls_printf( "passed\n" ); \ 959 mbedtls_printf( " ARIA-ECB-%d (enc): ", 128 + 64 * i ); in mbedtls_aria_self_test() 967 mbedtls_printf( " ARIA-ECB-%d (dec): ", 128 + 64 * i ); in mbedtls_aria_self_test() 974 mbedtls_printf( "\n" ); in mbedtls_aria_self_test() 984 mbedtls_printf( " ARIA-CBC-%d (enc): ", 128 + 64 * i ); in mbedtls_aria_self_test() 995 mbedtls_printf( " ARIA-CBC-%d (dec): ", 128 + 64 * i ); in mbedtls_aria_self_test() 1005 mbedtls_printf( "\n" ); in mbedtls_aria_self_test() 1037 mbedtls_printf( "\n" ); in mbedtls_aria_self_test() [all …]
|
A D | pkcs5.c | 49 #define mbedtls_printf printf macro 306 mbedtls_printf( " PBKDF2 (SHA1): skipped\n\n" ); in mbedtls_pkcs5_self_test() 388 mbedtls_printf( " PBKDF2 (SHA1) #%d: ", i ); in mbedtls_pkcs5_self_test() 398 mbedtls_printf( "failed\n" ); in mbedtls_pkcs5_self_test() 405 mbedtls_printf( "passed\n" ); in mbedtls_pkcs5_self_test() 409 mbedtls_printf( "\n" ); in mbedtls_pkcs5_self_test()
|
A D | entropy.c | 50 #define mbedtls_printf printf macro 619 mbedtls_printf( " ENTROPY_BIAS test: " ); in mbedtls_entropy_source_self_test() 643 mbedtls_printf( "failed\n" ); in mbedtls_entropy_source_self_test() 645 mbedtls_printf( "passed\n" ); in mbedtls_entropy_source_self_test() 647 mbedtls_printf( "\n" ); in mbedtls_entropy_source_self_test() 671 mbedtls_printf( " ENTROPY test: " ); in mbedtls_entropy_self_test() 726 mbedtls_printf( "failed\n" ); in mbedtls_entropy_self_test() 728 mbedtls_printf( "passed\n" ); in mbedtls_entropy_self_test() 730 mbedtls_printf( "\n" ); in mbedtls_entropy_self_test()
|
A D | ccm.c | 44 #define mbedtls_printf printf macro 485 mbedtls_printf( " CCM: setup failed" ); in mbedtls_ccm_self_test() 493 mbedtls_printf( " CCM-AES #%u: ", (unsigned int) i + 1 ); in mbedtls_ccm_self_test() 511 mbedtls_printf( "failed\n" ); in mbedtls_ccm_self_test() 528 mbedtls_printf( "failed\n" ); in mbedtls_ccm_self_test() 534 mbedtls_printf( "passed\n" ); in mbedtls_ccm_self_test() 540 mbedtls_printf( "\n" ); in mbedtls_ccm_self_test()
|
A D | hmac_drbg.c | 45 #define mbedtls_printf printf macro 562 mbedtls_printf( "failed\n" ); \ 581 mbedtls_printf( " HMAC_DRBG (PR = True) : " ); in mbedtls_hmac_drbg_self_test() 596 mbedtls_printf( "passed\n" ); in mbedtls_hmac_drbg_self_test() 602 mbedtls_printf( " HMAC_DRBG (PR = False) : " ); in mbedtls_hmac_drbg_self_test() 619 mbedtls_printf( "passed\n" ); in mbedtls_hmac_drbg_self_test() 622 mbedtls_printf( "\n" ); in mbedtls_hmac_drbg_self_test()
|
A D | des.c | 40 #define mbedtls_printf printf macro 889 mbedtls_printf( " DES%c-ECB-%3d (%s): ", in mbedtls_des_self_test() 939 mbedtls_printf( "failed\n" ); in mbedtls_des_self_test() 946 mbedtls_printf( "passed\n" ); in mbedtls_des_self_test() 950 mbedtls_printf( "\n" ); in mbedtls_des_self_test() 962 mbedtls_printf( " DES%c-CBC-%3d (%s): ", in mbedtls_des_self_test() 1035 mbedtls_printf( "failed\n" ); in mbedtls_des_self_test() 1042 mbedtls_printf( "passed\n" ); in mbedtls_des_self_test() 1047 mbedtls_printf( "\n" ); in mbedtls_des_self_test()
|
A D | ctr_drbg.c | 44 #define mbedtls_printf printf macro 830 mbedtls_printf( "failed\n" ); \ 850 mbedtls_printf( " CTR_DRBG (PR = TRUE) : " ); in mbedtls_ctr_drbg_self_test() 867 mbedtls_printf( "passed\n" ); in mbedtls_ctr_drbg_self_test() 873 mbedtls_printf( " CTR_DRBG (PR = FALSE): " ); in mbedtls_ctr_drbg_self_test() 892 mbedtls_printf( "passed\n" ); in mbedtls_ctr_drbg_self_test() 895 mbedtls_printf( "\n" ); in mbedtls_ctr_drbg_self_test()
|
A D | chacha20.c | 40 #define mbedtls_printf printf macro 526 mbedtls_printf args; \ 542 mbedtls_printf( " ChaCha20 test %u ", i ); in mbedtls_chacha20_self_test() 557 mbedtls_printf( "passed\n" ); in mbedtls_chacha20_self_test() 561 mbedtls_printf( "\n" ); in mbedtls_chacha20_self_test()
|
A D | chachapoly.c | 36 #define mbedtls_printf printf macro 482 mbedtls_printf args; \ 500 mbedtls_printf( " ChaCha20-Poly1305 test %u ", i ); in mbedtls_chachapoly_self_test() 527 mbedtls_printf( "passed\n" ); in mbedtls_chachapoly_self_test() 531 mbedtls_printf( "\n" ); in mbedtls_chachapoly_self_test()
|
A D | memory_buffer_alloc.c | 641 mbedtls_printf( "failed\n" ); \ 654 mbedtls_printf( " MBA test #1 (basic alloc-free cycle): " ); in mbedtls_memory_buffer_alloc_self_test() 678 mbedtls_printf( "passed\n" ); in mbedtls_memory_buffer_alloc_self_test() 681 mbedtls_printf( " MBA test #2 (buf not aligned): " ); in mbedtls_memory_buffer_alloc_self_test() 704 mbedtls_printf( "passed\n" ); in mbedtls_memory_buffer_alloc_self_test() 707 mbedtls_printf( " MBA test #3 (full): " ); in mbedtls_memory_buffer_alloc_self_test() 735 mbedtls_printf( "passed\n" ); in mbedtls_memory_buffer_alloc_self_test()
|
A D | aes.c | 48 #define mbedtls_printf printf macro 1874 mbedtls_printf( "passed\n" ); in mbedtls_aes_self_test() 1878 mbedtls_printf( "\n" ); in mbedtls_aes_self_test() 1948 mbedtls_printf( "passed\n" ); in mbedtls_aes_self_test() 1952 mbedtls_printf( "\n" ); in mbedtls_aes_self_test() 2011 mbedtls_printf( "passed\n" ); in mbedtls_aes_self_test() 2015 mbedtls_printf( "\n" ); in mbedtls_aes_self_test() 2078 mbedtls_printf( "\n" ); in mbedtls_aes_self_test() 2130 mbedtls_printf( "\n" ); in mbedtls_aes_self_test() 2194 mbedtls_printf( "\n" ); in mbedtls_aes_self_test() [all …]
|
/optee_os/out/arm/export-ta_arm32/include/mbedtls/ |
A D | platform.h | 192 extern int (*mbedtls_printf)( const char *format, ... ); 206 #define mbedtls_printf MBEDTLS_PLATFORM_PRINTF_MACRO macro 208 #define mbedtls_printf printf macro
|
/optee_os/lib/libmbedtls/mbedtls/include/mbedtls/ |
A D | platform.h | 192 extern int (*mbedtls_printf)( const char *format, ... ); 206 #define mbedtls_printf MBEDTLS_PLATFORM_PRINTF_MACRO macro 208 #define mbedtls_printf printf macro
|
/optee_os/out/arm/export-ta_arm64/include/mbedtls/ |
A D | platform.h | 192 extern int (*mbedtls_printf)( const char *format, ... ); 206 #define mbedtls_printf MBEDTLS_PLATFORM_PRINTF_MACRO macro 208 #define mbedtls_printf printf macro
|
/optee_os/out/arm/export-ta_arm32/host_include/mbedtls/ |
A D | platform.h | 192 extern int (*mbedtls_printf)( const char *format, ... ); 206 #define mbedtls_printf MBEDTLS_PLATFORM_PRINTF_MACRO macro 208 #define mbedtls_printf printf macro
|
/optee_os/out/arm/export-ta_arm64/host_include/mbedtls/ |
A D | platform.h | 192 extern int (*mbedtls_printf)( const char *format, ... ); 206 #define mbedtls_printf MBEDTLS_PLATFORM_PRINTF_MACRO macro 208 #define mbedtls_printf printf macro
|