From 5d0ceb3b04323a484059809d238d56e16ebcbe3e Mon Sep 17 00:00:00 2001 From: Mouse Date: Tue, 2 Jul 2019 23:24:45 -0400 Subject: 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. --- gfpcrypt.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'gfpcrypt.h') 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 { -- cgit v1.2.1