Lines Matching refs:tmp

125         mbedtls_strerror( ret, ( char * )tmp, sizeof( tmp ) );          \
126 mbedtls_printf( "FAILED: %s\n", tmp );
527 unsigned char tmp[200]; in main() local
621 memset( tmp, 0xBB, sizeof( tmp ) ); in main()
629 TIME_AND_TSC( "MD5", mbedtls_md5( buf, BUFSIZE, tmp ) ); in main()
634 TIME_AND_TSC( "RIPEMD160", mbedtls_ripemd160( buf, BUFSIZE, tmp ) ); in main()
639 TIME_AND_TSC( "SHA-1", mbedtls_sha1( buf, BUFSIZE, tmp ) ); in main()
644 TIME_AND_TSC( "SHA-256", mbedtls_sha256( buf, BUFSIZE, tmp, 0 ) ); in main()
649 TIME_AND_TSC( "SHA-512", mbedtls_sha512( buf, BUFSIZE, tmp, 0 ) ); in main()
658 if( mbedtls_des3_set3key_enc( &des3, tmp ) != 0 ) in main()
661 mbedtls_des3_crypt_cbc( &des3, MBEDTLS_DES_ENCRYPT, BUFSIZE, tmp, buf, buf ) ); in main()
669 if( mbedtls_des_setkey_enc( &des, tmp ) != 0 ) in main()
672 mbedtls_des_crypt_cbc( &des, MBEDTLS_DES_ENCRYPT, BUFSIZE, tmp, buf, buf ) ); in main()
684 memset( tmp, 0, sizeof( tmp ) ); in main()
689 mbedtls_cipher_cmac( cipher_info, tmp, 192, buf, in main()
707 memset( tmp, 0, sizeof( tmp ) ); in main()
708 CHECK_AND_CONTINUE( mbedtls_aes_setkey_enc( &aes, tmp, keysize ) ); in main()
711 mbedtls_aes_crypt_cbc( &aes, MBEDTLS_AES_ENCRYPT, BUFSIZE, tmp, buf, buf ) ); in main()
728 memset( tmp, 0, sizeof( tmp ) ); in main()
729 CHECK_AND_CONTINUE( mbedtls_aes_xts_setkey_enc( &ctx, tmp, keysize * 2 ) ); in main()
733 tmp, buf, buf ) ); in main()
751 memset( tmp, 0, sizeof( tmp ) ); in main()
752 mbedtls_gcm_setkey( &gcm, MBEDTLS_CIPHER_ID_AES, tmp, keysize ); in main()
755 mbedtls_gcm_crypt_and_tag( &gcm, MBEDTLS_GCM_ENCRYPT, BUFSIZE, tmp, in main()
756 12, NULL, 0, buf, buf, 16, tmp ) ); in main()
774 memset( tmp, 0, sizeof( tmp ) ); in main()
775 mbedtls_ccm_setkey( &ccm, MBEDTLS_CIPHER_ID_AES, tmp, keysize ); in main()
778 mbedtls_ccm_encrypt_and_tag( &ccm, BUFSIZE, tmp, in main()
779 12, NULL, 0, buf, buf, tmp, 16 ) ); in main()
792 memset( tmp, 0, sizeof( tmp ) ); in main()
796 mbedtls_chachapoly_setkey( &chachapoly, tmp ); in main()
800 BUFSIZE, tmp, NULL, 0, buf, buf, tmp ) ); in main()
820 memset( tmp, 0, sizeof( tmp ) ); in main()
825 mbedtls_cipher_cmac( cipher_info, tmp, keysize, in main()
830 memset( tmp, 0, sizeof( tmp ) ); in main()
832 mbedtls_aes_cmac_prf_128( tmp, 16, buf, BUFSIZE, in main()
849 memset( tmp, 0, sizeof( tmp ) ); in main()
850 mbedtls_aria_setkey_enc( &aria, tmp, keysize ); in main()
854 BUFSIZE, tmp, buf, buf ) ); in main()
871 memset( tmp, 0, sizeof( tmp ) ); in main()
872 mbedtls_camellia_setkey_enc( &camellia, tmp, keysize ); in main()
876 BUFSIZE, tmp, buf, buf ) ); in main()
1070 tmp, sizeof( tmp ), &sig_len, myrand, NULL ) ); in main()
1086 tmp, sizeof( tmp ), &sig_len, myrand, NULL ) != 0 ) in main()
1095 tmp, sig_len ) ); in main()