summaryrefslogtreecommitdiffstats
path: root/ncr.h
diff options
context:
space:
mode:
Diffstat (limited to 'ncr.h')
-rw-r--r--ncr.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/ncr.h b/ncr.h
index a4d7835..2958b20 100644
--- a/ncr.h
+++ b/ncr.h
@@ -106,11 +106,11 @@ struct ncr_key_generate_params_st {
} secret;
struct {
unsigned int bits;
- void* e;
- size_t e_size;
+ unsigned long e;
} rsa;
struct {
- unsigned int bits;
+ unsigned int q_bits;
+ unsigned int p_bits;
} dsa;
struct {
unsigned int bits;
@@ -122,7 +122,7 @@ struct ncr_key_generate_params_st {
*/
struct ncr_key_generate_st {
ncr_key_t desc;
- ncr_key_t desc2; /* when called with GENERATE_PAIR */
+ ncr_key_t desc2; /* public key when called with GENERATE_PAIR */
struct ncr_key_generate_params_st params;
};