#include <ODc_Crypto.h>
Static Public Member Functions | |
| static UT_Error | decrypt (GsfInput *pStream, const ODc_CryptoInfo &cryptInfo, const std::string &password, GsfInput **pDecryptedInput) |
Static Private Member Functions | |
| static UT_Error | performDecrypt (GsfInput *pStream, unsigned char *salt, UT_uint32 salt_length, UT_uint32 iter_count, unsigned char *ivec, gsize ivec_length, const std::string &password, UT_uint32 decrypted_size, GsfInput **pDecryptedInput) |
| UT_Error ODc_Crypto::decrypt | ( | GsfInput * | pStream, | |
| const ODc_CryptoInfo & | cryptInfo, | |||
| const std::string & | password, | |||
| GsfInput ** | pDecryptedInput | |||
| ) | [static] |
| UT_Error ODc_Crypto::performDecrypt | ( | GsfInput * | pStream, | |
| unsigned char * | salt, | |||
| UT_uint32 | salt_length, | |||
| UT_uint32 | iter_count, | |||
| unsigned char * | ivec, | |||
| gsize | ivec_length, | |||
| const std::string & | password, | |||
| UT_uint32 | decrypted_size, | |||
| GsfInput ** | pDecryptedInput | |||
| ) | [static, private] |
References FREEP, HANDLEGERR, PASSWORD_HASH_LEN, PBKDF2_KEYLEN, pbkdf2_sha1(), sha1_buffer(), and UT_DEBUGMSG.
Referenced by decrypt().
1.7.1