From 07c7baa772e93d3101e6c94fee391a2532edacb4 Mon Sep 17 00:00:00 2001 From: denzo Date: Wed, 4 Oct 2017 12:27:08 +0100 Subject: [PATCH] fixed --- content/OTAESGCM/utility/OTAESGCM_OTAESGCM.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/OTAESGCM/utility/OTAESGCM_OTAESGCM.cpp b/content/OTAESGCM/utility/OTAESGCM_OTAESGCM.cpp index 38de598..b1b5def 100644 --- a/content/OTAESGCM/utility/OTAESGCM_OTAESGCM.cpp +++ b/content/OTAESGCM/utility/OTAESGCM_OTAESGCM.cpp @@ -526,7 +526,7 @@ bool OTAES128GCMGenericBase::gcmEncryptPadded( const uint8_t CDATALength = PDATALength; - GGBWS::GCMEncryptPaddedWorkspace workspace = getGCMEncryptPaddedWorkspace(); + GGBWS::GCMEncryptPaddedWorkspace &workspace = getGCMEncryptPaddedWorkspace(); // Encrypt data. generateAuthKey(ap, key, workspace.authKey);