I'm seeing a few examples where after create keys it are validated. What is 
the reason to do it? What kind of problem without validate the keys?

bool GeneratePublicKey( const ECDSA<ECP, SHA1>::PrivateKey& privateKey, 
ECDSA<ECP, SHA1>::PublicKey& publicKey )
{
    AutoSeededRandomPool prng;

    // Sanity check
    assert( *privateKey.Validate( prng, 3 )* );

    privateKey.MakePublicKey(publicKey);
    assert( *publicKey.Validate( prng, 3 )* );

    return* publicKey.Validate( prng, 3 );*
}

What's means the level? 

I'm looking this wiki page 
https://www.cryptopp.com/wiki/Elliptic_Curve_Digital_Signature_Algorithm 
but the explanation about validation is not included with the examples.

Regards

-- 
-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [email protected].
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to