Searched refs:mbd_rand (Results 1 – 8 of 8) sorted by relevance
/optee_os-3.20.0/lib/libmbedtls/core/ |
A D | mbed_helpers.c | 23 mres = mbedtls_mpi_fill_random(n, sz, mbd_rand, NULL); in mbed_gen_random_upto()
|
A D | mbed_helpers.h | 16 static inline int mbd_rand(void *rng_state __unused, unsigned char *output, in mbd_rand() function
|
A D | dh.c | 78 dhm.len, mbd_rand, NULL); in crypto_acipher_gen_dh_key() 124 &olen, mbd_rand, NULL); in crypto_acipher_dh_shared_secret()
|
A D | sm2-pke.c | 161 mbd_rand, NULL); in sm2_mbedtls_pke_decrypt() 340 mres = mbedtls_ecp_mul(&grp, &C1, &k, &grp.G, mbd_rand, NULL); in sm2_mbedtls_pke_encrypt() 357 mres = mbedtls_ecp_mul(&grp, &x2y2p, &k, &PB, mbd_rand, NULL); in sm2_mbedtls_pke_encrypt()
|
A D | ecc.c | 169 lmd_res = mbedtls_ecdsa_genkey(&ecdsa, gid, mbd_rand, NULL); in ecc_generate_keypair() 258 msg_len, mbd_rand, NULL); in ecc_sign() 379 *secret_len, mbd_rand, NULL); in ecc_shared_secret()
|
A D | rsa.c | 232 if (mbedtls_ctr_drbg_seed(&rngctx, mbd_rand, NULL, NULL, 0)) in sw_crypto_acipher_gen_rsa_key() 466 blen, mbd_rand, NULL); in sw_crypto_acipher_rsaes_decrypt() 553 *dst_len, mbd_rand, NULL); in sw_crypto_acipher_rsaes_encrypt() 649 sig_len, mbd_rand, NULL); in sw_crypto_acipher_rsassa_sign()
|
A D | sm2-dsa.c | 75 mres = mbedtls_ecp_mul(&grp, &x1y1p, &k, &grp.G, mbd_rand, in sm2_mbedtls_dsa_sign()
|
A D | sm2-kep.c | 404 mres = mbedtls_ecp_mul(&grp, &U, &tA, &U, mbd_rand, NULL); in crypto_acipher_sm2_kep_derive()
|
Completed in 11 milliseconds