12 lines
284 B
C
12 lines
284 B
C
|
#ifndef CRYPT_UTILS_H
|
||
|
#define CRYPT_UTILS_H
|
||
|
|
||
|
#include "../lib/big.h"
|
||
|
#include "key_utils.h"
|
||
|
|
||
|
void big_pow_mod(big_n a, big_n b, big_n n, big_n result);
|
||
|
void encrypt(public_key pub_key, big_n input, big_n output);
|
||
|
void decrypt(private_key priv_key, big_n input, big_n output);
|
||
|
|
||
|
#endif
|