Searched refs:myrand (Results 1 – 2 of 2) sorted by relevance
/mbedtls-3.6.0/programs/test/ |
D | benchmark.c | 445 static int myrand(void *rng_state, unsigned char *output, size_t len) in myrand() function 893 if (mbedtls_ctr_drbg_seed(&ctr_drbg, myrand, NULL, NULL, 0) != 0) { in main() 901 if (mbedtls_ctr_drbg_seed(&ctr_drbg, myrand, NULL, NULL, 0) != 0) { in main() 924 if (mbedtls_hmac_drbg_seed(&hmac_drbg, md_info, myrand, NULL, NULL, 0) != 0) { in main() 930 if (mbedtls_hmac_drbg_seed(&hmac_drbg, md_info, myrand, NULL, NULL, 0) != 0) { in main() 944 if (mbedtls_hmac_drbg_seed(&hmac_drbg, md_info, myrand, NULL, NULL, 0) != 0) { in main() 950 if (mbedtls_hmac_drbg_seed(&hmac_drbg, md_info, myrand, NULL, NULL, 0) != 0) { in main() 970 mbedtls_rsa_gen_key(&rsa, myrand, NULL, keysize, 65537); in main() 978 ret = mbedtls_rsa_private(&rsa, myrand, NULL, buf, buf)); in main() 1019 mbedtls_dhm_make_public(&dhm, (int) n, buf, n, myrand, NULL); in main() [all …]
|
/mbedtls-3.6.0/library/ |
D | rsa.c | 2488 static int myrand(void *rng_state, unsigned char *output, size_t len) in myrand() function 2566 if (mbedtls_rsa_pkcs1_encrypt(&rsa, myrand, NULL, in mbedtls_rsa_self_test() 2581 if (mbedtls_rsa_pkcs1_decrypt(&rsa, myrand, NULL, in mbedtls_rsa_self_test() 2619 if (mbedtls_rsa_pkcs1_sign(&rsa, myrand, NULL, in mbedtls_rsa_self_test()
|