(22 . 6)(22 . 16)
106 */
107 static const int KEY_LENGTH_OCTETS = 490;
108
109 /**
110 * This is the length of the public exponent e, given in octets.
111 * TMSR standard e has KEY_LENGTH_OCTETS / 2 octets.
112 * Eulora's communication protocol uses however e with 8 octets length.
113 * New keypairs generated will have e precisely this length.
114 * Change this to your preferred size of e for generating new keys with that size of e.
115 * NB: this impacts key generation ONLY! (i.e. NOT encrypt/decrypt).
116 */
117 static const int E_LENGTH_OCTETS = 8;
118
119 typedef struct {
120 MPI n; /* modulus */
121 MPI e; /* public exponent */