implemented generation of safe primes

This commit is contained in:
Andreas Steffen
2012-11-18 19:22:31 +01:00
parent c1c98f5f4a
commit 168ee460c6
4 changed files with 60 additions and 20 deletions
+1
View File
@@ -64,6 +64,7 @@ ENUM(builder_part_names, BUILD_FROM_FILE, BUILD_END,
"BUILD_RSA_EXP1",
"BUILD_RSA_EXP2",
"BUILD_RSA_COEFF",
"BUILD_SAFE_PRIMES",
"BUILD_END",
);
+2
View File
@@ -139,6 +139,8 @@ enum builder_part_t {
BUILD_RSA_EXP2,
/** coefficient (coeff) of a RSA key, chunk_t */
BUILD_RSA_COEFF,
/** generate (p) and (q) as safe primes */
BUILD_SAFE_PRIMES,
/** end of variable argument builder list */
BUILD_END,
};