diff options
author | lloyd <[email protected]> | 2008-10-13 18:45:00 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-10-13 18:45:00 +0000 |
commit | 756299fa8784e6bf4d2218603b2e2bcb18827f37 (patch) | |
tree | e0361fc0b2580701f386a9fbc5e058b9c6cde121 /src/pubkey/keypair/keypair.h | |
parent | 0a8fe82af7a21ea7f7b4aea2edd333c275c8ac90 (diff) |
Add Doxygen comments for missing params
Diffstat (limited to 'src/pubkey/keypair/keypair.h')
-rw-r--r-- | src/pubkey/keypair/keypair.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/pubkey/keypair/keypair.h b/src/pubkey/keypair/keypair.h index ead6ae68c..8c42876e8 100644 --- a/src/pubkey/keypair/keypair.h +++ b/src/pubkey/keypair/keypair.h @@ -16,21 +16,27 @@ namespace KeyPair { * Tests whether the specified encryptor and decryptor are related to each other, * i.e. whether encrypting with the encryptor and consecutive decryption leads to * the original plaintext. +* @param rng the rng to use * @param enc the encryptor to test * @param dec the decryptor to test * @throw Self_Test_Failure if the arguments are not related to each other */ -BOTAN_DLL void check_key(RandomNumberGenerator&, PK_Encryptor*, PK_Decryptor*); +BOTAN_DLL void check_key(RandomNumberGenerator& rng, + PK_Encryptor* enc, + PK_Decryptor* dec); /** * Tests whether the specified signer and verifier are related to each other, * i.e. whether a signature created with the signer and can be * successfully verified with the verifier. +* @param rng the rng to use * @param sig the signer to test * @param ver the verifier to test * @throw Self_Test_Failure if the arguments are not related to each other */ -BOTAN_DLL void check_key(RandomNumberGenerator&, PK_Signer*, PK_Verifier*); +BOTAN_DLL void check_key(RandomNumberGenerator& rng, + PK_Signer* sig, + PK_Verifier* ver); } |