Lines Matching refs:TIME_AND_TSC
213 #define TIME_AND_TSC( TITLE, CODE ) \ macro
426 TIME_AND_TSC( "MD4", mbedtls_md4( buf, BUFSIZE, tmp ) ); in benchmark()
431 TIME_AND_TSC( "MD5", mbedtls_md5( buf, BUFSIZE, tmp ) ); in benchmark()
436 TIME_AND_TSC( "RIPEMD160", mbedtls_ripemd160( buf, BUFSIZE, tmp ) ); in benchmark()
441 TIME_AND_TSC( "SHA-1", mbedtls_sha1( buf, BUFSIZE, tmp ) ); in benchmark()
446 TIME_AND_TSC( "SHA-256", mbedtls_sha256( buf, BUFSIZE, tmp, 0 ) ); in benchmark()
451 TIME_AND_TSC( "SHA-512", mbedtls_sha512( buf, BUFSIZE, tmp, 0 ) ); in benchmark()
460 TIME_AND_TSC( "ARC4", mbedtls_arc4_crypt( &arc4, BUFSIZE, buf, buf ) ); in benchmark()
471 TIME_AND_TSC( "3DES", in benchmark()
481 TIME_AND_TSC( "DES", in benchmark()
502 TIME_AND_TSC( title, in benchmark()
523 TIME_AND_TSC( title, in benchmark()
546 TIME_AND_TSC( title, in benchmark()
570 TIME_AND_TSC( title, in benchmark()
593 TIME_AND_TSC( title, in benchmark()
607 TIME_AND_TSC( "HAVEGE", mbedtls_havege_random( &hs, buf, BUFSIZE ) ); in benchmark()
621 TIME_AND_TSC( "CTR_DRBG (NOPR)", in benchmark()
628 TIME_AND_TSC( "CTR_DRBG (PR)", in benchmark()
649 TIME_AND_TSC( "HMAC_DRBG SHA-1 (NOPR)", in benchmark()
658 TIME_AND_TSC( "HMAC_DRBG SHA-1 (PR)", in benchmark()
670 TIME_AND_TSC( "HMAC_DRBG SHA-256 (NOPR)", in benchmark()
679 TIME_AND_TSC( "HMAC_DRBG SHA-256 (PR)", in benchmark()