keygen is configure option

This commit is contained in:
NIIBE Yutaka
2012-06-13 09:07:26 +09:00
parent ec0297050a
commit 956e89d10a
10 changed files with 56 additions and 6 deletions

View File

@@ -214,6 +214,7 @@ rsa_verify (const uint8_t *pubkey, const uint8_t *hash, const uint8_t *sig)
#define RSA_EXPONENT 0x10001
#ifdef KEYGEN_SUPPORT
const uint8_t *
rsa_genkey (void)
{
@@ -243,3 +244,4 @@ rsa_genkey (void)
rsa_free (&rsa_ctx);
return p_q_modulus;
}
#endif