diff options
author | Andrew Bartlett <abartlet@samba.org> | 2005-04-25 08:26:53 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:11:39 -0500 |
commit | 0501a440bedde5e867e461d266aafe666be53e54 (patch) | |
tree | 45652fd169b546fe4691f696d3d22a1c2777df46 /source4/lib | |
parent | 874cd2db86e7feb82eedd2b436c5c301d3cbe5fa (diff) | |
download | samba-0501a440bedde5e867e461d266aafe666be53e54.tar.gz samba-0501a440bedde5e867e461d266aafe666be53e54.tar.bz2 samba-0501a440bedde5e867e461d266aafe666be53e54.zip |
r6462: Move the arcfour sbox state into it's own structure, and allocate it
with talloc() for the NTLMSSP system.
Andrew Bartlett
(This used to be commit 7a93ac49c28d433ccf0f077294f473fe728b9995)
Diffstat (limited to 'source4/lib')
-rw-r--r-- | source4/lib/crypto/crypto.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/lib/crypto/crypto.h b/source4/lib/crypto/crypto.h index e7a0c290a5..8cf4b21aae 100644 --- a/source4/lib/crypto/crypto.h +++ b/source4/lib/crypto/crypto.h @@ -22,3 +22,9 @@ #include "lib/crypto/md4.h" #include "lib/crypto/hmacmd5.h" #include "lib/crypto/crc32.h" + +struct arcfour_state { + uint8_t sbox[256]; + uint8_t index_i; + uint8_t index_j; +}; |