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)
commit85b2c0ce7fdf597d60d8c366e8f7de24f674fc5a
tree5b1c0c5457eb67faaa69696308c44bc5c8e8d31e
parentf826bf779854ab9375f89a74d77f0142bf6944ae
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]