summaryrefslogtreecommitdiff
path: root/sosemanuk.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2017-07-27 20:28:23 -0400
committerJeffrey Walton <noloader@gmail.com>2017-07-27 20:28:23 -0400
commitd0cd32f405244b28c4a78fc11fe5eb87a7397af1 (patch)
tree939fcd668105f566c103a0445f8ea1981f324a4a /sosemanuk.cpp
parent2c9a3039e85061ff094e460e7afae1aed934350b (diff)
downloadcryptopp-git-d0cd32f405244b28c4a78fc11fe5eb87a7397af1.tar.gz
Make SecBlock<T,A> data members protected
Also see http://github.com/weidai11/cryptopp/issues/448
Diffstat (limited to 'sosemanuk.cpp')
-rw-r--r--sosemanuk.cpp4
1 files changed, 2 insertions, 2 deletions
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"