128-bit block cipher modes consolidation. As consolidated functions
authorAndy Polyakov <appro@openssl.org>
Tue, 16 Dec 2008 08:39:21 +0000 (08:39 +0000)
committerAndy Polyakov <appro@openssl.org>
Tue, 16 Dec 2008 08:39:21 +0000 (08:39 +0000)
128-bit block cipher modes consolidation. As consolidated functions
rely on indirect call to block functions, they are not as fast as
non-consolidated routines. However, performance loss(*) is within
measurement error and consolidation advantages are considered to
outweigh it.

(*) actually one can observe performance *improvement* on e.g.
    CBC benchmarks thanks to optimization, which also becomes
    shared among ciphers.
crypto/modes/Makefile [new file with mode: 0644]
crypto/modes/cbc128.c [new file with mode: 0644]
crypto/modes/cfb128.c [new file with mode: 0644]
crypto/modes/ctr128.c [new file with mode: 0644]
crypto/modes/modes.h [new file with mode: 0644]
crypto/modes/ofb128.c [new file with mode: 0644]