DSA key size

2005-03-17 Thread Michael D'Errico
I want to find out how big a DSA key is (to enforce a lower limit) but DSA_size only reports the size of a signature. Is there some way to find out how many bits the key is? Thanks, Mike __ OpenSSL Project

Re: DSA key size

2005-03-17 Thread Nils Larsch
Michael D'Errico wrote: I want to find out how big a DSA key is (to enforce a lower limit) but DSA_size only reports the size of a signature. Is there some way to find out how many bits the key is? in case you mean with size of the key the size of the modulus p you could do something like