Lines Matching refs:hmac_drbg
342 havege, ctr_drbg, hmac_drbg, member
399 todo.hmac_drbg = 1; in benchmark()
636 if( todo.hmac_drbg ) in benchmark()
638 mbedtls_hmac_drbg_context hmac_drbg; in benchmark() local
641 mbedtls_hmac_drbg_init( &hmac_drbg ); in benchmark()
647 if( mbedtls_hmac_drbg_seed( &hmac_drbg, md_info, myrand, NULL, NULL, 0 ) != 0 ) in benchmark()
650 if( mbedtls_hmac_drbg_random( &hmac_drbg, buf, BUFSIZE ) != 0 ) in benchmark()
652 mbedtls_hmac_drbg_free( &hmac_drbg ); in benchmark()
654 if( mbedtls_hmac_drbg_seed( &hmac_drbg, md_info, myrand, NULL, NULL, 0 ) != 0 ) in benchmark()
656 mbedtls_hmac_drbg_set_prediction_resistance( &hmac_drbg, in benchmark()
659 if( mbedtls_hmac_drbg_random( &hmac_drbg, buf, BUFSIZE ) != 0 ) in benchmark()
661 mbedtls_hmac_drbg_free( &hmac_drbg ); in benchmark()
668 if( mbedtls_hmac_drbg_seed( &hmac_drbg, md_info, myrand, NULL, NULL, 0 ) != 0 ) in benchmark()
671 if( mbedtls_hmac_drbg_random( &hmac_drbg, buf, BUFSIZE ) != 0 ) in benchmark()
673 mbedtls_hmac_drbg_free( &hmac_drbg ); in benchmark()
675 if( mbedtls_hmac_drbg_seed( &hmac_drbg, md_info, myrand, NULL, NULL, 0 ) != 0 ) in benchmark()
677 mbedtls_hmac_drbg_set_prediction_resistance( &hmac_drbg, in benchmark()
680 if( mbedtls_hmac_drbg_random( &hmac_drbg, buf, BUFSIZE ) != 0 ) in benchmark()
682 mbedtls_hmac_drbg_free( &hmac_drbg ); in benchmark()