Searched refs:rngctx (Results 1 – 1 of 1) sorted by relevance
227 mbedtls_ctr_drbg_context rngctx; in sw_crypto_acipher_gen_rsa_key() local231 mbedtls_ctr_drbg_init(&rngctx); in sw_crypto_acipher_gen_rsa_key()232 if (mbedtls_ctr_drbg_seed(&rngctx, mbd_rand, NULL, NULL, 0)) in sw_crypto_acipher_gen_rsa_key()243 lmd_res = mbedtls_rsa_gen_key(&rsa, mbedtls_ctr_drbg_random, &rngctx, in sw_crypto_acipher_gen_rsa_key()245 mbedtls_ctr_drbg_free(&rngctx); in sw_crypto_acipher_gen_rsa_key()
Completed in 3 milliseconds