Hi, Stitching aes-cbc with sha1 can result with x2 performance [1]. Is there support for stitched aes-128-hmac-sha1 encrypt-then-mac? This issue [2] says that only mac-then-encrypt is supported in OpenSSL.
Does this implement mac-then-encrypt and relevant [3]? Is it possible to use the same code with just changing the order to achieve encrypt-then-mac? How can I compile the Perl file to be used from a C program? [1] https://software.intel.com/en-us/articles/improving-openssl-performance [2] https://github.com/openssl/openssl/issues/8785 [3] https://github.com/openssl/openssl/blob/master/crypto/aes/asm/aesni-sha1-x86_64.pl Thanks