Lines Matching refs:hmac_drbg
242 havege, ctr_drbg, hmac_drbg, member
303 todo.hmac_drbg = 1; in main()
590 if( todo.hmac_drbg ) in main()
592 mbedtls_hmac_drbg_context hmac_drbg; in main() local
595 mbedtls_hmac_drbg_init( &hmac_drbg ); in main()
601 if( mbedtls_hmac_drbg_seed( &hmac_drbg, md_info, myrand, NULL, NULL, 0 ) != 0 ) in main()
604 if( mbedtls_hmac_drbg_random( &hmac_drbg, buf, BUFSIZE ) != 0 ) in main()
606 mbedtls_hmac_drbg_free( &hmac_drbg ); in main()
608 if( mbedtls_hmac_drbg_seed( &hmac_drbg, md_info, myrand, NULL, NULL, 0 ) != 0 ) in main()
610 mbedtls_hmac_drbg_set_prediction_resistance( &hmac_drbg, in main()
613 if( mbedtls_hmac_drbg_random( &hmac_drbg, buf, BUFSIZE ) != 0 ) in main()
615 mbedtls_hmac_drbg_free( &hmac_drbg ); in main()
622 if( mbedtls_hmac_drbg_seed( &hmac_drbg, md_info, myrand, NULL, NULL, 0 ) != 0 ) in main()
625 if( mbedtls_hmac_drbg_random( &hmac_drbg, buf, BUFSIZE ) != 0 ) in main()
627 mbedtls_hmac_drbg_free( &hmac_drbg ); in main()
629 if( mbedtls_hmac_drbg_seed( &hmac_drbg, md_info, myrand, NULL, NULL, 0 ) != 0 ) in main()
631 mbedtls_hmac_drbg_set_prediction_resistance( &hmac_drbg, in main()
634 if( mbedtls_hmac_drbg_random( &hmac_drbg, buf, BUFSIZE ) != 0 ) in main()
636 mbedtls_hmac_drbg_free( &hmac_drbg ); in main()