Update comments
parent
d7a751b39a
commit
8c871b40ae
|
|
@ -1,8 +1,5 @@
|
||||||
# These test vectors were generated using the eSTREAM reference
|
# These test vectors were generated using the eSTREAM reference
|
||||||
# implementation for HC-128 using the file hc-128.c. We could not
|
# implementation for HC-128 using the file hc-128.c.
|
||||||
# use the published test vectors because they arrived at the
|
|
||||||
# incorrect result when plugged back into the reference
|
|
||||||
# implementation. Sigh...
|
|
||||||
|
|
||||||
AlgorithmType: SymmetricCipher
|
AlgorithmType: SymmetricCipher
|
||||||
Name: HC-128
|
Name: HC-128
|
||||||
|
|
|
||||||
2
rabbit.h
2
rabbit.h
|
|
@ -48,6 +48,7 @@ protected:
|
||||||
bool CanOperateKeystream() const { return true; }
|
bool CanOperateKeystream() const { return true; }
|
||||||
bool CipherIsRandomAccess() const { return false; }
|
bool CipherIsRandomAccess() const { return false; }
|
||||||
|
|
||||||
|
private:
|
||||||
// Master and working states
|
// Master and working states
|
||||||
FixedSizeSecBlock<word32, 8> m_mx, m_mc, m_wx, m_wc;
|
FixedSizeSecBlock<word32, 8> m_mx, m_mc, m_wx, m_wc;
|
||||||
// Workspace
|
// Workspace
|
||||||
|
|
@ -66,6 +67,7 @@ protected:
|
||||||
bool CanOperateKeystream() const { return true; }
|
bool CanOperateKeystream() const { return true; }
|
||||||
bool CipherIsRandomAccess() const { return false; }
|
bool CipherIsRandomAccess() const { return false; }
|
||||||
|
|
||||||
|
private:
|
||||||
// Master and working states
|
// Master and working states
|
||||||
FixedSizeSecBlock<word32, 8> m_mx, m_mc, m_wx, m_wc;
|
FixedSizeSecBlock<word32, 8> m_mx, m_mc, m_wx, m_wc;
|
||||||
// Workspace
|
// Workspace
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue