diff options
author | tsepez <tsepez@chromium.org> | 2016-11-21 12:08:22 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-11-21 12:08:22 -0800 |
commit | f5cabbfc3085a7a7a3451452c1a7ebe1f19c1223 (patch) | |
tree | 8c8c9ce87d6bed6cb209bc136845830148b69809 /core/fdrm/crypto/fx_crypt.h | |
parent | 43170f498b8c619620c4141b2d67ef6ab9a518ca (diff) | |
download | pdfium-f5cabbfc3085a7a7a3451452c1a7ebe1f19c1223.tar.xz |
Add unit test for fdrm's MD5
Review-Url: https://codereview.chromium.org/2517153003
Diffstat (limited to 'core/fdrm/crypto/fx_crypt.h')
-rw-r--r-- | core/fdrm/crypto/fx_crypt.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/fdrm/crypto/fx_crypt.h b/core/fdrm/crypto/fx_crypt.h index 24650bec9a..3ee2e4bdbe 100644 --- a/core/fdrm/crypto/fx_crypt.h +++ b/core/fdrm/crypto/fx_crypt.h @@ -13,6 +13,12 @@ extern "C" { #endif +struct CRYPT_md5_context { + uint32_t total[2]; + uint32_t state[4]; + uint8_t buffer[64]; +}; + void CRYPT_ArcFourCryptBlock(uint8_t* data, uint32_t size, const uint8_t* key, |