[openssl-users] Query regarding AESNI-SHA "stitched" implementations.

2017-04-05 Thread Kane Huang
hello I have an query regarding AESNI-SHA1 "stitched" implementations. In the stitched implement such as aesni_128_cbc_hmac_sha1_cipher, i saw the code compute MAC on cleartext then encrypt, I thought this mode is used for SSL and SSH. Is there any stitched implement support for Encrypt then

[openssl-users] how to get digest for stitched AES-HMAC-SHA

2017-03-29 Thread Kane Huang
Hi guys, I try to use build-in cipher suite EVP_aes_128_cbc_hmac_sha1 to get the benefit of function stitch. There some some questions : 1) Case this cipher stitch AESNI and HAMC-SHA1 in one go, how to get the hamc digest? 2) In some case, like ESP package ,the Encryption and Auth

Re: [openssl-users] openssl-users Digest, Vol 28, Issue 21

2017-03-22 Thread Kane Huang
Hi guys, I want to use "multiblock" introduced from 1.0.2 to improve performance of ipsec packet process, which use aes_cbc_hmac_sha as main algorithm. I have try openssl speed test with ‘-mb’ and I observe that the test code use big buffer size from 8192 to 131072, that show dramatic

RE: How can I enable aes-ni in openssl on Linux

2013-12-05 Thread Kane Huang
As I know ,aesni is support after openssl 1.0.1? it is not an engine, and no kernel module need. It will be enable automatically when you use evp api. BR Kane -Original Message- From: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] On Behalf Of John Sent:

Does openssl include intel AES-NI-GCM?

2013-02-28 Thread Kane Huang
Hi all I'm reading a paper from intel that mention an AES-NI-GCM implementation within the Linux kernel cryptographic framework using the new instructions(PCLMULQDQ and AES-NI). As I know ,aes-ni is already include in 1.0.1, So How does the AES-NI-GCM? The paper is here