Implement new APIs to allow improved crypto performance
authorGreg Hudson <ghudson@mit.edu>
Mon, 19 Oct 2009 20:04:21 +0000 (20:04 +0000)
committerGreg Hudson <ghudson@mit.edu>
Mon, 19 Oct 2009 20:04:21 +0000 (20:04 +0000)
commite6b93b7dd43bb765900b2db71641479b597844da
tree2b6da09e37da6ca699a8cb43c87e8a4218132254
parent04a5d19e61bedbb1da4db52334c00f7a54a9d5a8
Implement new APIs to allow improved crypto performance

Merge branches/enc-perf to trunk.  Adds the krb5_key opaque type, the
krb5_k_* APIs to use them, and caching of derived keys when krb5_k_*
functions are used.  Updates the krb5 auth context and GSS id-rec to
use krb5_keys.

ticket: 6576

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22944 dc483132-0cff-0310-8789-dd5450dbe970
105 files changed:
src/include/k5-int.h
src/include/krb5/krb5.hin
src/lib/crypto/builtin/aes/aes_s2k.c
src/lib/crypto/builtin/arcfour/arcfour.c
src/lib/crypto/builtin/arcfour/arcfour.h
src/lib/crypto/builtin/arcfour/arcfour_aead.c
src/lib/crypto/builtin/enc_provider/aes.c
src/lib/crypto/builtin/enc_provider/des.c
src/lib/crypto/builtin/enc_provider/des3.c
src/lib/crypto/builtin/enc_provider/rc4.c
src/lib/crypto/builtin/hmac.c
src/lib/crypto/builtin/pbkdf2.c
src/lib/crypto/crypto_tests/Makefile.in
src/lib/crypto/crypto_tests/aes-test.c
src/lib/crypto/crypto_tests/t_cksum.c
src/lib/crypto/crypto_tests/t_cts.c
src/lib/crypto/crypto_tests/t_encrypt.c
src/lib/crypto/crypto_tests/t_hmac.c
src/lib/crypto/crypto_tests/t_kperf.c [new file with mode: 0644]
src/lib/crypto/krb/Makefile.in
src/lib/crypto/krb/aead.c
src/lib/crypto/krb/aead.h
src/lib/crypto/krb/combine_keys.c
src/lib/crypto/krb/decrypt.c
src/lib/crypto/krb/decrypt_iov.c
src/lib/crypto/krb/dk/checksum.c
src/lib/crypto/krb/dk/derive.c
src/lib/crypto/krb/dk/dk.h
src/lib/crypto/krb/dk/dk_aead.c
src/lib/crypto/krb/dk/dk_decrypt.c
src/lib/crypto/krb/dk/dk_encrypt.c
src/lib/crypto/krb/dk/stringtokey.c
src/lib/crypto/krb/encrypt.c
src/lib/crypto/krb/encrypt_iov.c
src/lib/crypto/krb/etypes.h
src/lib/crypto/krb/key.c [new file with mode: 0644]
src/lib/crypto/krb/keyblocks.c
src/lib/crypto/krb/keyhash_provider/descbc.c
src/lib/crypto/krb/keyhash_provider/hmac_md5.c
src/lib/crypto/krb/keyhash_provider/k5_md4des.c
src/lib/crypto/krb/keyhash_provider/k5_md5des.c
src/lib/crypto/krb/keyhash_provider/md5_hmac.c
src/lib/crypto/krb/make_checksum.c
src/lib/crypto/krb/make_checksum_iov.c
src/lib/crypto/krb/old/old.h
src/lib/crypto/krb/old/old_decrypt.c
src/lib/crypto/krb/old/old_encrypt.c
src/lib/crypto/krb/prf.c
src/lib/crypto/krb/prf/des_prf.c
src/lib/crypto/krb/prf/dk_prf.c
src/lib/crypto/krb/prf/prf_int.h
src/lib/crypto/krb/prf/rc4_prf.c
src/lib/crypto/krb/raw/raw.h
src/lib/crypto/krb/raw/raw_aead.c
src/lib/crypto/krb/raw/raw_decrypt.c
src/lib/crypto/krb/raw/raw_encrypt.c
src/lib/crypto/krb/verify_checksum.c
src/lib/crypto/krb/verify_checksum_iov.c
src/lib/crypto/krb/yarrow/ycipher.c
src/lib/crypto/krb/yarrow/ycipher.h
src/lib/crypto/libk5crypto.exports
src/lib/crypto/openssl/aes/aes_s2k.c
src/lib/crypto/openssl/arcfour/arcfour.c
src/lib/crypto/openssl/arcfour/arcfour.h
src/lib/crypto/openssl/arcfour/arcfour_aead.c
src/lib/crypto/openssl/enc_provider/aes.c
src/lib/crypto/openssl/enc_provider/des.c
src/lib/crypto/openssl/enc_provider/des3.c
src/lib/crypto/openssl/enc_provider/rc4.c
src/lib/crypto/openssl/hmac.c
src/lib/gssapi/krb5/accept_sec_context.c
src/lib/gssapi/krb5/delete_sec_context.c
src/lib/gssapi/krb5/gssapiP_krb5.h
src/lib/gssapi/krb5/init_sec_context.c
src/lib/gssapi/krb5/inq_context.c
src/lib/gssapi/krb5/k5seal.c
src/lib/gssapi/krb5/k5sealiov.c
src/lib/gssapi/krb5/k5sealv3.c
src/lib/gssapi/krb5/k5sealv3iov.c
src/lib/gssapi/krb5/k5unseal.c
src/lib/gssapi/krb5/k5unsealiov.c
src/lib/gssapi/krb5/lucid_context.c
src/lib/gssapi/krb5/ser_sctx.c
src/lib/gssapi/krb5/util_cksum.c
src/lib/gssapi/krb5/util_crypt.c
src/lib/gssapi/krb5/util_seed.c
src/lib/gssapi/krb5/util_seqnum.c
src/lib/gssapi/krb5/wrap_size_limit.c
src/lib/krb5/krb/auth_con.c
src/lib/krb5/krb/auth_con.h
src/lib/krb5/krb/copy_key.c
src/lib/krb5/krb/cp_key_cnt.c
src/lib/krb5/krb/enc_helper.c
src/lib/krb5/krb/mk_cred.c
src/lib/krb5/krb/mk_priv.c
src/lib/krb5/krb/mk_rep.c
src/lib/krb5/krb/mk_req_ext.c
src/lib/krb5/krb/mk_safe.c
src/lib/krb5/krb/rd_cred.c
src/lib/krb5/krb/rd_priv.c
src/lib/krb5/krb/rd_rep.c
src/lib/krb5/krb/rd_req_dec.c
src/lib/krb5/krb/rd_safe.c
src/lib/krb5/krb/ser_actx.c
src/lib/krb5/os/accessor.c