Define public exponent in header
This commit is contained in:
parent
e1ece2358f
commit
7d20e7f009
1 changed files with 3 additions and 0 deletions
3
rsa.h
3
rsa.h
|
@ -3,6 +3,9 @@
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
// Common public exponent, in Fermat prime form
|
||||||
|
#define PUBEXP ((1 << 16) | 0x1)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Calculates greatest common divider of two integers using the euclidean
|
* @brief Calculates greatest common divider of two integers using the euclidean
|
||||||
* algorithm
|
* algorithm
|
||||||
|
|
Loading…
Add table
Reference in a new issue