summaryrefslogtreecommitdiff
path: root/hc256.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2018-07-06 00:11:10 -0400
committerJeffrey Walton <noloader@gmail.com>2018-07-06 00:11:10 -0400
commit97a1e8cae2e94f93c9da16b637a45612af224590 (patch)
treee0890897adb0f5486c0d894f5e29977e34da9118 /hc256.h
parent320c68ecbf7f986b401e250fab124fd2effa5dc0 (diff)
downloadcryptopp-git-97a1e8cae2e94f93c9da16b637a45612af224590.tar.gz
Use SecBlock for keys and IVs
Diffstat (limited to 'hc256.h')
-rw-r--r--hc256.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hc256.h b/hc256.h
index 360999e7..e6271b1a 100644
--- a/hc256.h
+++ b/hc256.h
@@ -42,10 +42,10 @@ protected:
word32 Generate();
private:
+ FixedSizeSecBlock<word32, 8> m_key;
+ FixedSizeSecBlock<word32, 8> m_iv;
word32 m_P[1024];
word32 m_Q[1024];
- word32 m_key[8];
- word32 m_iv[8];
word32 m_ctr;
};