summaryrefslogtreecommitdiff
path: root/gfpcrypt.h
diff options
context:
space:
mode:
authorMouse <mouse07410@users.noreply.github.com>2019-07-02 23:24:45 -0400
committerGitHub <noreply@github.com>2019-07-02 23:24:45 -0400
commit5d0ceb3b04323a484059809d238d56e16ebcbe3e (patch)
tree2ebe456fa568319985b33a5e80b1ad1f5e68f53e /gfpcrypt.h
parenteeb7dadc76572b7061922ca6ac5f247bdfd985ad (diff)
downloadcryptopp-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.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gfpcrypt.h b/gfpcrypt.h
index f15c397e..bcc064e6 100644
--- a/gfpcrypt.h
+++ b/gfpcrypt.h
@@ -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
{