Update: I was define DSA_1024_BIT_MODULUS_ONLY=0 for all project in compiler options and publicKey validation passed, but validation does not work.
2009/11/20, Александр Мартынов <[email protected]>: > 20 ноября 2009 г. 2:25 пользователь Jeffrey Walton > <[email protected]>написал: > >> Hi Александр, >> >> > publicKey.Initialize(...) >> What is the result of publicKey.Validate(3)? >> >> Next code works: > DefaultAutoSeededRNG rng; > publicKey.ThrowIfInvalid(rng,3); > > and I catch an exception with message "CryptoMaterial: this object contains > invalid values". > What can be wrong? > Parameters lengths are: BigP - 64 bytes, BigQ - 20 bytes, BigG - 64 bytes > and public key - 64 bytes > -- 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.
