Don't combine encrypt and decrypt code paths.
authorKen Raeburn <raeburn@mit.edu>
Tue, 22 Jul 2003 17:53:10 +0000 (17:53 +0000)
committerKen Raeburn <raeburn@mit.edu>
Tue, 22 Jul 2003 17:53:10 +0000 (17:53 +0000)
commit0bd27e0db808dd5017e0495fc0076a2aea73f9cb
treeca0676eea0fb8fbc47cecc225b18cf9b345a76ae
parent989bde83edb867ff3a6471c25516055e2651d2c5
Don't combine encrypt and decrypt code paths.
Zap key schedule when done.

* des3.c (validate_and_schedule): Split out from old k5_des3_docrypt.
(k5_des3_encrypt, k5_des3_decrypt): Call it, and krb5int_des3_cbc_encrypt or
_decrypt, instead of k5_des3_docrypt.  Zap key schedules before returning.

ticket: 1404
status: open

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15710 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/crypto/enc_provider/ChangeLog
src/lib/crypto/enc_provider/des3.c