Home
last modified time | relevance | path

Searched refs:mbd_rand (Results 1 – 8 of 8) sorted by relevance

/optee_os-3.20.0/lib/libmbedtls/core/
A Dmbed_helpers.c23 mres = mbedtls_mpi_fill_random(n, sz, mbd_rand, NULL); in mbed_gen_random_upto()
A Dmbed_helpers.h16 static inline int mbd_rand(void *rng_state __unused, unsigned char *output, in mbd_rand() function
A Ddh.c78 dhm.len, mbd_rand, NULL); in crypto_acipher_gen_dh_key()
124 &olen, mbd_rand, NULL); in crypto_acipher_dh_shared_secret()
A Dsm2-pke.c161 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 Decc.c169 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 Drsa.c232 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 Dsm2-dsa.c75 mres = mbedtls_ecp_mul(&grp, &x1y1p, &k, &grp.G, mbd_rand, in sm2_mbedtls_dsa_sign()
A Dsm2-kep.c404 mres = mbedtls_ecp_mul(&grp, &U, &tA, &U, mbd_rand, NULL); in crypto_acipher_sm2_kep_derive()

Completed in 11 milliseconds