Home
last modified time | relevance | path

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

/external/libmtp/src/
Dmtpz.c277 gcry_mpi_t mpi_modulus, mpi_privkey, mpi_pubexp; in mtpz_rsa_init() local
281 gcry_mpi_scan(&mpi_pubexp, GCRYMPI_FMT_HEX, str_pubexp, 0, NULL); in mtpz_rsa_init()
283 …->privkey, NULL, "(private-key (rsa (n %m) (e %m) (d %m)))", mpi_modulus, mpi_pubexp, mpi_privkey); in mtpz_rsa_init()
284 gcry_sexp_build(&rsa->pubkey, NULL, "(public-key (rsa (n %m) (e %m)))", mpi_modulus, mpi_pubexp); in mtpz_rsa_init()
288 gcry_mpi_release(mpi_pubexp); in mtpz_rsa_init()