21 lines
283 B
C
21 lines
283 B
C
#ifndef KEY_UTILS_H
|
|
#define KEY_UTILS_H
|
|
|
|
#include "../lib/big.h"
|
|
|
|
typedef struct {
|
|
big_n n;
|
|
big_n e;
|
|
big_n d;
|
|
} private_key;
|
|
|
|
typedef struct {
|
|
big_n n;
|
|
big_n e;
|
|
} public_key;
|
|
|
|
private_key private_key_read(const char *file);
|
|
public_key public_key_read(const char *file);
|
|
|
|
#endif
|