mirror of
https://github.com/cryb-to/cryb-to.git
synced 2024-12-21 03:51:08 +00:00
20 lines
686 B
C
20 lines
686 B
C
|
/* RSA.H - header file for RSA.C
|
||
|
*/
|
||
|
|
||
|
/* Copyright (C) RSA Laboratories, a division of RSA Data Security,
|
||
|
Inc., created 1991. All rights reserved.
|
||
|
*/
|
||
|
|
||
|
int RSAPublicEncrypt PROTO_LIST
|
||
|
((unsigned char *, unsigned int *, unsigned char *, unsigned int,
|
||
|
R_RSA_PUBLIC_KEY *, R_RANDOM_STRUCT *));
|
||
|
int RSAPrivateEncrypt PROTO_LIST
|
||
|
((unsigned char *, unsigned int *, unsigned char *, unsigned int,
|
||
|
R_RSA_PRIVATE_KEY *));
|
||
|
int RSAPublicDecrypt PROTO_LIST
|
||
|
((unsigned char *, unsigned int *, unsigned char *, unsigned int,
|
||
|
R_RSA_PUBLIC_KEY *));
|
||
|
int RSAPrivateDecrypt PROTO_LIST
|
||
|
((unsigned char *, unsigned int *, unsigned char *, unsigned int,
|
||
|
R_RSA_PRIVATE_KEY *));
|