Lines Matching refs:tmp
103 mbedtls_strerror( ret, ( char * )tmp, sizeof( tmp ) ); \
104 mbedtls_printf( "FAILED: %s\n", tmp );
136 mbedtls_strerror( ret, ( char * )tmp, sizeof( tmp ) ); \
137 mbedtls_printf( "FAILED: %s\n", tmp );
249 unsigned char tmp[200]; in main() local
326 memset( tmp, 0xBB, sizeof( tmp ) ); in main()
330 TIME_AND_TSC( "MD4", mbedtls_md4( buf, BUFSIZE, tmp ) ); in main()
335 TIME_AND_TSC( "MD5", mbedtls_md5( buf, BUFSIZE, tmp ) ); in main()
340 TIME_AND_TSC( "RIPEMD160", mbedtls_ripemd160( buf, BUFSIZE, tmp ) ); in main()
345 TIME_AND_TSC( "SHA-1", mbedtls_sha1( buf, BUFSIZE, tmp ) ); in main()
350 TIME_AND_TSC( "SHA-256", mbedtls_sha256( buf, BUFSIZE, tmp, 0 ) ); in main()
355 TIME_AND_TSC( "SHA-512", mbedtls_sha512( buf, BUFSIZE, tmp, 0 ) ); in main()
363 mbedtls_arc4_setup( &arc4, tmp, 32 ); in main()
375 mbedtls_des3_set3key_enc( &des3, tmp ); in main()
377 mbedtls_des3_crypt_cbc( &des3, MBEDTLS_DES_ENCRYPT, BUFSIZE, tmp, buf, buf ) ); in main()
385 mbedtls_des_setkey_enc( &des, tmp ); in main()
387 mbedtls_des_crypt_cbc( &des, MBEDTLS_DES_ENCRYPT, BUFSIZE, tmp, buf, buf ) ); in main()
399 memset( tmp, 0, sizeof( tmp ) ); in main()
404 mbedtls_cipher_cmac( cipher_info, tmp, 192, buf, in main()
422 memset( tmp, 0, sizeof( tmp ) ); in main()
423 mbedtls_aes_setkey_enc( &aes, tmp, keysize ); in main()
426 mbedtls_aes_crypt_cbc( &aes, MBEDTLS_AES_ENCRYPT, BUFSIZE, tmp, buf, buf ) ); in main()
443 memset( tmp, 0, sizeof( tmp ) ); in main()
444 mbedtls_gcm_setkey( &gcm, MBEDTLS_CIPHER_ID_AES, tmp, keysize ); in main()
447 mbedtls_gcm_crypt_and_tag( &gcm, MBEDTLS_GCM_ENCRYPT, BUFSIZE, tmp, in main()
448 12, NULL, 0, buf, buf, 16, tmp ) ); in main()
466 memset( tmp, 0, sizeof( tmp ) ); in main()
467 mbedtls_ccm_setkey( &ccm, MBEDTLS_CIPHER_ID_AES, tmp, keysize ); in main()
470 mbedtls_ccm_encrypt_and_tag( &ccm, BUFSIZE, tmp, in main()
471 12, NULL, 0, buf, buf, tmp, 16 ) ); in main()
492 memset( tmp, 0, sizeof( tmp ) ); in main()
497 mbedtls_cipher_cmac( cipher_info, tmp, keysize, in main()
502 memset( tmp, 0, sizeof( tmp ) ); in main()
504 mbedtls_aes_cmac_prf_128( tmp, 16, buf, BUFSIZE, in main()
521 memset( tmp, 0, sizeof( tmp ) ); in main()
522 mbedtls_camellia_setkey_enc( &camellia, tmp, keysize ); in main()
526 BUFSIZE, tmp, buf, buf ) ); in main()
544 memset( tmp, 0, sizeof( tmp ) ); in main()
545 mbedtls_blowfish_setkey( &blowfish, tmp, keysize ); in main()
549 tmp, buf, buf ) ); in main()
734 tmp, &sig_len, myrand, NULL ) ); in main()
747 tmp, &sig_len, myrand, NULL ) != 0 ) in main()
757 tmp, sig_len ) ); in main()