]> granicus.if.org Git - openssl/commit
evp/e_aes_cbc_hmac_sha*.c: limit multi-block fragmentation to 1KB.
authorAndy Polyakov <appro@openssl.org>
Sat, 12 Oct 2013 20:10:28 +0000 (22:10 +0200)
committerAndy Polyakov <appro@openssl.org>
Sat, 12 Oct 2013 20:10:28 +0000 (22:10 +0200)
commitb4f0abd246340b90bb3fa2646814729f0e9d049e
tree8cfaef856b0e1371748a91da86ed72147da186e7
parent7e1e3334f6d419a09da5f9f99bf448f18ff74867
evp/e_aes_cbc_hmac_sha*.c: limit multi-block fragmentation to 1KB.

Excessive fragmentation put additional burden (of addtional MAC
calculations) on the other size and limiting fragments it to 1KB
limits the overhead to ~6%.
crypto/evp/e_aes_cbc_hmac_sha1.c
crypto/evp/e_aes_cbc_hmac_sha256.c