| 1 | #ifndef OPERATIONS_H |
| 2 | #define OPERATIONS_H |
| 3 | |
| 4 | #define operation_keypair CRYPTO_NAMESPACE(operation_keypair) |
| 5 | #define operation_enc CRYPTO_NAMESPACE(operation_enc) |
| 6 | #define operation_dec CRYPTO_NAMESPACE(operation_dec) |
| 7 | |
| 8 | int operation_enc( |
| 9 | unsigned char *c, |
| 10 | unsigned char *key, |
| 11 | const unsigned char *pk |
| 12 | ); |
| 13 | |
| 14 | int operation_dec( |
| 15 | unsigned char *key, |
| 16 | const unsigned char *c, |
| 17 | const unsigned char *sk |
| 18 | ); |
| 19 | |
| 20 | void operation_keypair |
| 21 | ( |
| 22 | unsigned char *pk, |
| 23 | unsigned char *sk |
| 24 | ); |
| 25 | |
| 26 | #endif |
| 27 |