From d0cd32f405244b28c4a78fc11fe5eb87a7397af1 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Thu, 27 Jul 2017 20:28:23 -0400 Subject: Make SecBlock data members protected Also see http://github.com/weidai11/cryptopp/issues/448 --- sosemanuk.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sosemanuk.cpp') diff --git a/sosemanuk.cpp b/sosemanuk.cpp index b96192b8..7aa1bff1 100644 --- a/sosemanuk.cpp +++ b/sosemanuk.cpp @@ -601,9 +601,9 @@ void SosemanukPolicy::OperateKeystream(KeystreamOperation operation, byte *outpu AS_POP_IF86( bx) ATT_PREFIX : - : "a" (m_state.m_ptr), "c" (iterationCount), "S" (s_sosemanukMulTables), "D" (output), "d" (input) + : "a" (m_state.data()), "c" (iterationCount), "S" (s_sosemanukMulTables), "D" (output), "d" (input) #if CRYPTOPP_BOOL_X64 - , "r" (workspace.m_ptr) + , "r" (workspace.data()) : "memory", "cc", "%r9", "%r10", "%xmm0", "%xmm1", "%xmm2", "%xmm3", "%xmm4", "%xmm5", "%xmm6", "%xmm7" #else : "memory", "cc" -- cgit v1.2.1