home *** CD-ROM | disk | FTP | other *** search
/ RISC DISC 2 / RISC_DISC_2.iso / pd_share / utilities / cli / pgp2 / src / h / rsaglue < prev    next >
Encoding:
Text File  |  1994-07-15  |  549 b   |  18 lines

  1. /* rsaglue.h - Glue routines for RSA encryption and decryption */
  2.  
  3. extern char signon_legalese[];
  4.  
  5. /* Declarations */
  6. int
  7. rsa_public_encrypt(unitptr outbuf, byteptr inbuf, short bytes,
  8.      unitptr E, unitptr N);
  9. int
  10. rsa_private_encrypt(unitptr outbuf, byteptr inbuf, short bytes,
  11.      unitptr E, unitptr D, unitptr P, unitptr Q, unitptr U, unitptr N);
  12. int
  13. rsa_public_decrypt(byteptr outbuf, unitptr inbuf,
  14.     unitptr E, unitptr N);
  15. int
  16. rsa_private_decrypt(byteptr outbuf, unitptr inbuf,
  17.      unitptr E, unitptr D, unitptr P, unitptr Q, unitptr U, unitptr N);
  18.