diff options
author | lloyd <[email protected]> | 2012-07-06 17:43:16 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-07-06 17:43:16 +0000 |
commit | b8870b9659e8f1c5d8b88ff6ee7efc44024c1c41 (patch) | |
tree | fbe78d6615e5a81117a4a37caa50de92dcba793a /src/pbe | |
parent | 53639d4d23ffd547e0d52b1a0b8f59ed24cc4712 (diff) |
More Doxygen comments
Diffstat (limited to 'src/pbe')
-rw-r--r-- | src/pbe/pbes2/pbes2.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/pbe/pbes2/pbes2.h b/src/pbe/pbes2/pbes2.h index 4c9eb9b8a..5f692cc8a 100644 --- a/src/pbe/pbes2/pbes2.h +++ b/src/pbe/pbes2/pbes2.h @@ -27,20 +27,24 @@ class BOTAN_DLL PBE_PKCS5v20 : public PBE std::string name() const; - void write(const byte[], size_t); + void write(const byte buf[], size_t buf_len); void start_msg(); void end_msg(); /** * Load a PKCS #5 v2.0 encrypted stream - * @param input is the input source + * @param params the PBES2 parameters + * @param passphrase the passphrase to use for decryption */ PBE_PKCS5v20(const std::vector<byte>& params, const std::string& passphrase); /** * @param cipher the block cipher to use - * @param hash the hash function to use + * @param mac the MAC to use + * @param passphrase the passphrase to use for encryption + * @param msec how many milliseconds to run the PBKDF + * @param rng a random number generator */ PBE_PKCS5v20(BlockCipher* cipher, MessageAuthenticationCode* mac, |