| 693 | } |
| 694 | |
| 695 | void CCrypto::GenerateSigningKeyPair( CECSigningPublicKey *pPublicKey, CECSigningPrivateKey *pPrivateKey ) |
| 696 | { |
| 697 | uint8 rgubSecretData[32]; |
| 698 | GenerateRandomBlock( rgubSecretData, 32 ); |
| 699 | VerifyFatal( pPrivateKey->SetRawDataAndWipeInput( rgubSecretData, 32 ) ); |
| 700 | if ( pPublicKey ) |
| 701 | { |
| 702 | VerifyFatal( pPrivateKey->GetPublicKey( pPublicKey ) ); |
| 703 | } |
| 704 | } |
nothing calls this directly
no test coverage detected