implemented generation of safe primes
This commit is contained in:
@@ -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",
|
||||
);
|
||||
|
||||
|
||||
@@ -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,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user