diff options
author | Mouse <mouse07410@users.noreply.github.com> | 2019-07-02 23:24:45 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-02 23:24:45 -0400 |
commit | 5d0ceb3b04323a484059809d238d56e16ebcbe3e (patch) | |
tree | 2ebe456fa568319985b33a5e80b1ad1f5e68f53e /gfpcrypt.h | |
parent | eeb7dadc76572b7061922ca6ac5f247bdfd985ad (diff) | |
download | cryptopp-git-5d0ceb3b04323a484059809d238d56e16ebcbe3e.tar.gz |
Revert #857 for now
Travis CI fails "deep tests" of DLIES with #857 applied. Let's revert it for now and get back to
```c++
cipherKey = key + MAC::DEDAULT_KEYLENGTH;
```
and see if it improves the situation.
Diffstat (limited to 'gfpcrypt.h')
-rw-r--r-- | gfpcrypt.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -716,7 +716,8 @@ public: if (DHAES_MODE)
{
macKey = key;
- cipherKey = key + MAC::DIGESTSIZE;
+ //cipherKey = key + MAC::DIGESTSIZE;
+ cipherKey = key + MAC::DEDAULT_KEYLENGTH;
}
else
{
@@ -748,7 +749,8 @@ public: if (DHAES_MODE)
{
macKey = key;
- cipherKey = key + MAC::DIGESTSIZE;
+ //cipherKey = key + MAC::DIGESTSIZE;
+ cipherKey = key + MAC::DEDAULT_KEYLENGTH;
}
else
{
|