summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/evp/evp.h
diff options
context:
space:
mode:
authorthib <>2010-07-01 17:44:20 +0000
committerthib <>2010-07-01 17:44:20 +0000
commitaaf95101ecdb076e7121125b5b59b79338f68e63 (patch)
treee732da07cd98066d0bfc1903e3ee73114f5b295c /src/lib/libcrypto/evp/evp.h
parent1b4deace3d997af54c492a67c6f9468ec87b9b5d (diff)
downloadopenbsd-aaf95101ecdb076e7121125b5b59b79338f68e63.tar.gz
openbsd-aaf95101ecdb076e7121125b5b59b79338f68e63.tar.bz2
openbsd-aaf95101ecdb076e7121125b5b59b79338f68e63.zip
AES-NI engine support for OpenSSL.
This is code mostly picked up from upstream OpenSSL, or to be more exact a diff from David Woodhouse <dwmw2 at infradead dot org>. Remember to make includes before doing a build! no objections from djm@ OK deraadt@, reyk@ (AES is about 4.25x faster on his x201 now)
Diffstat (limited to 'src/lib/libcrypto/evp/evp.h')
-rw-r--r--src/lib/libcrypto/evp/evp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/libcrypto/evp/evp.h b/src/lib/libcrypto/evp/evp.h
index 51011f2b14..82b5862ce7 100644
--- a/src/lib/libcrypto/evp/evp.h
+++ b/src/lib/libcrypto/evp/evp.h
@@ -959,6 +959,7 @@ void ERR_load_EVP_strings(void);
959/* Error codes for the EVP functions. */ 959/* Error codes for the EVP functions. */
960 960
961/* Function codes. */ 961/* Function codes. */
962#define EVP_F_AESNI_INIT_KEY 165
962#define EVP_F_AES_INIT_KEY 133 963#define EVP_F_AES_INIT_KEY 133
963#define EVP_F_ALG_MODULE_INIT 138 964#define EVP_F_ALG_MODULE_INIT 138
964#define EVP_F_CAMELLIA_INIT_KEY 159 965#define EVP_F_CAMELLIA_INIT_KEY 159