Johan Danielsson
c5b916ca6f
remove advertising clause
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7464 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-02 17:05:13 +00:00
Johan Danielsson
b75cfd368f
ARCFOUR_set_key -> RC4_set_key
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7461 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-02 15:03:06 +00:00
Assar Westerlund
3eeca33e57
(ARCFOUR_string_to_key): change order of bytes within unicode
...
characters. this should probably be done in some arbitrarly complex
way to do it properly and you would have to know what character
encoding was used for the password and salt string.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7426 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-23 09:01:15 +00:00
Johan Danielsson
48b2840818
rc4->arcfour
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7422 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-22 14:57:13 +00:00
Assar Westerlund
032a510b3e
some code for doing RC4/MD5/HMAC which might not be totally different
...
from some small company up in the north-west corner of the US
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7408 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-17 16:36:48 +00:00
Johan Danielsson
9372950a30
remove DES3_postproc
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7342 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-09 18:18:02 +00:00
Assar Westerlund
477dea8523
(krb5_keytype_to_enctypes_default): new function
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7301 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-04 01:56:50 +00:00
Assar Westerlund
1d35aa3ab8
(krb5_get_wrapped_length): more correct calculation
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7150 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-17 06:41:35 +00:00
Johan Danielsson
afb9f7f509
(krb5_enctype_to_keytype): remove warning
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7138 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-12 09:29:10 +00:00
Assar Westerlund
78e6a32f6e
(krb5_string_to_salttype): new function
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7127 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-10 04:53:44 +00:00
Assar Westerlund
4bd83e662f
(krb5_enctypes_compatible_keys): spell correctly
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7099 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-03 20:03:14 +00:00
Assar Westerlund
00498d48e2
(etypes): remove NEW_DES3_CODE, enable des3-cbc-sha1 and keep
...
old-des3-cbc-sha1 for backwards compatability
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6834 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-18 19:33:31 +00:00
Assar Westerlund
9230f6de40
(*): do some malloc return-value checks properly
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6397 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-03 02:32:51 +00:00
Assar Westerlund
f2cf913bd2
(HMAC_SHA1_DES3_checksum): don't include the length
...
(checksum_sha1, checksum_hmac_sha1_des3): blocksize should be 64
(encrypt_internal_derived): don't include the length and don't
decrease by the checksum size twice
(_get_derived_key): the constant should be 5 bytes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6295 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-03 23:06:10 +00:00
Assar Westerlund
03adfaa3b1
(DES3_postproc): new version that does the right thing
...
(*): don't put and recover length in 3DES encoding
other small fixes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6294 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-03 17:36:04 +00:00
Assar Westerlund
fa88e29d84
(verify_checksum): call (*ct->checksum) directly, avoiding redundant
...
lookups and memory leaks
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6271 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-05-21 12:46:38 +00:00
Assar Westerlund
52df3677bb
(F_PSEUDO): new flag for non-protocol encryption types
...
(do_checksum): new function
(verify_checksum): take the checksum to use from the checksum message
and not from the crypto struct
(etypes): add F_PSEUDO flags
(krb5_keytype_to_enctypes): new function
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6049 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-25 17:39:48 +00:00
Assar Westerlund
65f29bd32d
(encrypt_internal): free checksum if lengths fail to match.
...
(krb5_get_wrapped_length): new function
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5904 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-10 15:10:00 +00:00
Johan Danielsson
9ae1fb3e0d
(encrypt_internal): free checksum
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5829 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-01 17:02:55 +00:00
Johan Danielsson
586bae403b
k_{put,get}_int -> _krb5_{put,get}_int
...
crc_{init_table,update} -> _krb5_crc_{init_table,update}
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5802 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-03-29 19:24:58 +00:00
Johan Danielsson
0eeee9f3fc
n_fold -> _krb5_n_fold
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5776 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-03-27 16:48:42 +00:00
Assar Westerlund
f0c5eadce8
(krb5_crypto_destroy): free `crypto'
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5752 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-03-24 22:25:47 +00:00
Assar Westerlund
4ce9048b86
(krb5_verify_checksum): rename C -> cksum to be consistent
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5553 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-03-16 13:31:27 +00:00
Johan Danielsson
8f5094b857
(DES3_string_to_key): make this actually do what the draft said it
...
should
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5401 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-02-20 16:30:11 +00:00
Assar Westerlund
ad82c58082
(krb5_salttype_to_string): new function
...
(RSA_MD5_DES_verify, RSA_MD5_DES3_verify): initialize ret
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5365 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-02-15 21:03:38 +00:00
Johan Danielsson
aaae186ab9
merge new-crypto branch
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5332 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-02-11 21:03:59 +00:00