diff options
| author | Sam Hartman <hartmans@mit.edu> | 2001-11-06 15:25:49 +0000 |
|---|---|---|
| committer | Sam Hartman <hartmans@mit.edu> | 2001-11-06 15:25:49 +0000 |
| commit | 207af9b0e6f257d475f64f74fcba3ff911aeeee0 (patch) | |
| tree | 34d216251347e8a5fbbfb912e10319842eb07fb7 /src/lib/crypto/arcfour | |
| parent | 4c73c7fce2a8ec612a1994dcb90c5e2feba2a02a (diff) | |
* Add krb5_c_init_state and krb5_c_free_state functions
* Add init_state and free_state to enc_providers as operations that need to be filled in
* Implement generic free_state and des-specific init_state
* Implement arcfour-specific init_state
* Add functions to find enctype state functions and call them
* Add tests for above
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13948 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/crypto/arcfour')
| -rw-r--r-- | src/lib/crypto/arcfour/ChangeLog | 4 | ||||
| -rw-r--r-- | src/lib/crypto/arcfour/arcfour-int.h | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/crypto/arcfour/ChangeLog b/src/lib/crypto/arcfour/ChangeLog index f3b4a5040..d511f8f00 100644 --- a/src/lib/crypto/arcfour/ChangeLog +++ b/src/lib/crypto/arcfour/ChangeLog @@ -1,3 +1,7 @@ +2001-11-06 Sam Hartman <hartmans@mit.edu> + + * arcfour-int.h: Structure for arcfour cipher state + 2001-10-26 Ezra Peisach <epeisach@mit.edu> * string_to_key.c (krb5_arcfour_string_to_key): Cleanup variables diff --git a/src/lib/crypto/arcfour/arcfour-int.h b/src/lib/crypto/arcfour/arcfour-int.h index b54fce1e2..398fe57a1 100644 --- a/src/lib/crypto/arcfour/arcfour-int.h +++ b/src/lib/crypto/arcfour/arcfour-int.h @@ -20,6 +20,11 @@ typedef struct unsigned char state[256]; } ArcfourContext; +typedef struct { + int initialized; + ArcfourContext ctx; +} ArcFourCipherState; + krb5_keyusage krb5int_arcfour_translate_usage(krb5_keyusage usage); |
