Home
last modified time | relevance | path

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

/optee_os/core/lib/libtomcrypt/src/pk/rsa/
A Drsa_make_key.c101 void *tmp_e; in rsa_make_key() local
108 if ((err = mp_init(&tmp_e)) != CRYPT_OK) { in rsa_make_key()
112 if ((err = mp_set_int(tmp_e, e)) == CRYPT_OK) in rsa_make_key()
113 err = s_rsa_make_key(prng, wprng, size, tmp_e, key); in rsa_make_key()
115 mp_clear(tmp_e); in rsa_make_key()
134 void *tmp_e; in rsa_make_key_ubin_e() local
136 if ((err = mp_init(&tmp_e)) != CRYPT_OK) { in rsa_make_key_ubin_e()
140 if ((err = mp_read_unsigned_bin(tmp_e, (unsigned char *)e, elen)) == CRYPT_OK) in rsa_make_key_ubin_e()
141 err = rsa_make_key_bn_e(prng, wprng, size, tmp_e, key); in rsa_make_key_ubin_e()
143 mp_clear(tmp_e); in rsa_make_key_ubin_e()

Completed in 3 milliseconds