Annotation of pgp/src/rsaglue.h, revision 1.1

1.1     ! root        1: /* rsaglue.h - RSA encryption and decryption */
        !             2: 
        !             3: /*
        !             4:  * If this is defined, and the appropriate changes are made in the makefile,
        !             5:  * a version of PGP that uses RSAREF will be generated.  Note, however, that
        !             6:  * RSAREF is distributed under a licence which does not permit access to the
        !             7:  * functions that PGP uses, so this is not legal in any country.  Stick with
        !             8:  * the non-RSAREF version, which is faster and only illegal in the U.S.
        !             9:  * (Negotiations to get permission to use the extra RSAREF functions are in
        !            10:  * progress, but an agreement has not been reached as of the time of release.)
        !            11:  */
        !            12: #undef RSAREF
        !            13: 
        !            14: /* Declarations */
        !            15: int
        !            16: rsa_public_encrypt(unitptr outbuf, byteptr inbuf, short bytes,
        !            17:         unitptr E, unitptr N);
        !            18: int
        !            19: rsa_private_encrypt(unitptr outbuf, byteptr inbuf, short bytes,
        !            20:         unitptr E, unitptr D, unitptr P, unitptr Q, unitptr U, unitptr N);
        !            21: int
        !            22: rsa_public_decrypt(byteptr outbuf, unitptr inbuf,
        !            23:        unitptr E, unitptr N);
        !            24: int
        !            25: rsa_private_decrypt(byteptr outbuf, unitptr inbuf,
        !            26:         unitptr E, unitptr D, unitptr P, unitptr Q, unitptr U, unitptr N);

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.