Speed up the per-block loops of AES, DES3, and DES IOV encryption by
authorGreg Hudson <ghudson@mit.edu>
Wed, 2 Dec 2009 22:37:16 +0000 (22:37 +0000)
committerGreg Hudson <ghudson@mit.edu>
Wed, 2 Dec 2009 22:37:16 +0000 (22:37 +0000)
commit3b521cff4279f759143c6de3de36324ff082ea37
tree17d2141102340a2abd078ba84b0fa3b879471f08
parent9da13e3574f3709cd73aaf6eaf13a50e4e2ea1b8
Speed up the per-block loops of AES, DES3, and DES IOV encryption by
avoiding function calls and copies in the case where the next block
is wholly contained within the current buffer.  To do this, introduce
two new inline functions in aead.h called iov_next_block and
iov_store_block.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23430 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/crypto/builtin/des/d3_aead.c
src/lib/crypto/builtin/des/f_aead.c
src/lib/crypto/builtin/enc_provider/aes.c
src/lib/crypto/krb/aead.c
src/lib/crypto/krb/aead.h