diff options
author | Miro Jurisic <meeroh@mit.edu> | 1998-10-27 21:52:56 +0000 |
---|---|---|
committer | Miro Jurisic <meeroh@mit.edu> | 1998-10-27 21:52:56 +0000 |
commit | 61ddbf948ba6ee70c1bc049268c3dfa73bc9983e (patch) | |
tree | 6badf21b2293fa51e84f7bbc64aaf519650a59be /src/mac/libraries/DES/include/des.h | |
parent | aa872d88d3959924bea1b718371a8817d3837774 (diff) | |
download | krb5-61ddbf948ba6ee70c1bc049268c3dfa73bc9983e.zip krb5-61ddbf948ba6ee70c1bc049268c3dfa73bc9983e.tar.gz krb5-61ddbf948ba6ee70c1bc049268c3dfa73bc9983e.tar.bz2 |
Merged lxs' changes (removed 3des code from export list)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10997 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/mac/libraries/DES/include/des.h')
-rw-r--r-- | src/mac/libraries/DES/include/des.h | 32 |
1 files changed, 13 insertions, 19 deletions
diff --git a/src/mac/libraries/DES/include/des.h b/src/mac/libraries/DES/include/des.h index c494d78..8fa12eb 100644 --- a/src/mac/libraries/DES/include/des.h +++ b/src/mac/libraries/DES/include/des.h @@ -77,15 +77,13 @@ int des_cbc_encrypt(des_cblock *in, des_cblock ivec, int encrypt); -void des_3cbc_encrypt(des_cblock *input, - des_cblock *output, +void des_3cbc_encrypt(des_cblock *in, + des_cblock *out, long length, - des_key_schedule schedule1, - des_cblock ivec1, - des_key_schedule schedule2, - des_cblock ivec2, - des_key_schedule schedule3, - des_cblock ivec3, + des_key_schedule ks1, + des_key_schedule ks2, + des_key_schedule ks3, + des_cblock ivec, int encrypt); unsigned long des_cbc_cksum(des_cblock *in, @@ -98,6 +96,13 @@ int des_ecb_encrypt(des_cblock *in, des_cblock *out, des_key_schedule schedule, int encrypt); + +void des_3ecb_encrypt(des_cblock *in, + des_cblock *out, + des_key_schedule ks1, + des_key_schedule ks2, + des_key_schedule ks3, + int encrypt); void des_fixup_key_parity(register des_cblock key); int des_check_key_parity(register des_cblock key); @@ -109,17 +114,6 @@ int des_pcbc_encrypt(des_cblock *in, des_cblock ivec, int encrypt); -void des_3pcbc_encrypt(des_cblock *input, - des_cblock *output, - long length, - des_key_schedule schedule1, - des_cblock ivec1, - des_key_schedule schedule2, - des_cblock ivec2, - des_key_schedule schedule3, - des_cblock ivec3, - int encrypt); - int make_key_sched(des_cblock *key, des_key_schedule schedule); int des_key_sched(des_cblock k, des_key_schedule schedule); |