- 73247011FCC9996859CAB02ADE955CD8D5FA04B85593E182645EBE0F497686ABFC771ECDF1E43B0E39506C85B25F365D80A81031FB82F13919E2FF5824EDA5EF
+ 3010BFBD5A317C39BBF1362A8A82CFCCB497A0B1F07CBABE8E0CEAE972A70A44ED4E1B0E4A1C47043A881D1EA5A9D5F28A55C6603A6EB8BEE4D1C5C2D867D054
smg_comms/rsa/include/smg_rsa.h
(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 */