Go to the source code of this file.
Definition at line 56 of file pgp-mpi-openssl.c.
References PGP_MPI::bytes, PGP_MPI::data, pgp_mpi_alloc(), pgp_mpi_free(), and px_debug().
Referenced by pgp_elgamal_decrypt(), pgp_elgamal_encrypt(), pgp_rsa_decrypt(), and pgp_rsa_encrypt().
Definition at line 92 of file pgp-mpi-openssl.c.
Referenced by pgp_elgamal_encrypt().
Definition at line 39 of file pgp-mpi-openssl.c.
References PGP_MPI::bits, PGP_MPI::bytes, PGP_MPI::data, and px_debug().
Referenced by pgp_elgamal_decrypt(), pgp_elgamal_encrypt(), pgp_rsa_decrypt(), and pgp_rsa_encrypt().
Definition at line 164 of file pgp-mpi-openssl.c.
References bn_to_mpi(), PGP_PubKey::elg, err(), mpi_to_bn(), PGP_PubKey::p, PGP_PubKey::pub, PXE_PGP_MATH_FAILED, PGP_PubKey::sec, x, and PGP_PubKey::x.
Referenced by decrypt_elgamal().
Definition at line 101 of file pgp-mpi-openssl.c.
References bn_to_mpi(), decide_k_bits(), PGP_PubKey::elg, err(), PGP_PubKey::g, mpi_to_bn(), PGP_PubKey::p, PGP_PubKey::pub, PXE_PGP_MATH_FAILED, y, and PGP_PubKey::y.
Referenced by encrypt_and_write_elgamal().
Definition at line 251 of file pgp-mpi-openssl.c.
References bn_to_mpi(), PGP_PubKey::d, err(), mpi_to_bn(), PGP_PubKey::n, PGP_PubKey::pub, PXE_PGP_MATH_FAILED, PGP_PubKey::rsa, and PGP_PubKey::sec.
Referenced by decrypt_rsa().
Definition at line 215 of file pgp-mpi-openssl.c.
References bn_to_mpi(), PGP_PubKey::e, err(), mpi_to_bn(), PGP_PubKey::n, PGP_PubKey::pub, PXE_PGP_MATH_FAILED, and PGP_PubKey::rsa.
Referenced by encrypt_and_write_rsa().