diff options
| author | thib <> | 2010-07-01 17:44:20 +0000 |
|---|---|---|
| committer | thib <> | 2010-07-01 17:44:20 +0000 |
| commit | aaf95101ecdb076e7121125b5b59b79338f68e63 (patch) | |
| tree | e732da07cd98066d0bfc1903e3ee73114f5b295c /src/lib/libcrypto/engine/Makefile | |
| parent | 1b4deace3d997af54c492a67c6f9468ec87b9b5d (diff) | |
| download | openbsd-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/engine/Makefile')
| -rw-r--r-- | src/lib/libcrypto/engine/Makefile | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/src/lib/libcrypto/engine/Makefile b/src/lib/libcrypto/engine/Makefile index 0cc3722089..0736153075 100644 --- a/src/lib/libcrypto/engine/Makefile +++ b/src/lib/libcrypto/engine/Makefile | |||
| @@ -21,12 +21,14 @@ LIBSRC= eng_err.c eng_lib.c eng_list.c eng_init.c eng_ctrl.c \ | |||
| 21 | eng_table.c eng_pkey.c eng_fat.c eng_all.c \ | 21 | eng_table.c eng_pkey.c eng_fat.c eng_all.c \ |
| 22 | tb_rsa.c tb_dsa.c tb_ecdsa.c tb_dh.c tb_ecdh.c tb_rand.c tb_store.c \ | 22 | tb_rsa.c tb_dsa.c tb_ecdsa.c tb_dh.c tb_ecdh.c tb_rand.c tb_store.c \ |
| 23 | tb_cipher.c tb_digest.c \ | 23 | tb_cipher.c tb_digest.c \ |
| 24 | eng_openssl.c eng_cnf.c eng_dyn.c eng_cryptodev.c eng_padlock.c | 24 | eng_openssl.c eng_cnf.c eng_dyn.c eng_cryptodev.c eng_padlock.c \ |
| 25 | eng_aesni.c | ||
| 25 | LIBOBJ= eng_err.o eng_lib.o eng_list.o eng_init.o eng_ctrl.o \ | 26 | LIBOBJ= eng_err.o eng_lib.o eng_list.o eng_init.o eng_ctrl.o \ |
| 26 | eng_table.o eng_pkey.o eng_fat.o eng_all.o \ | 27 | eng_table.o eng_pkey.o eng_fat.o eng_all.o \ |
| 27 | tb_rsa.o tb_dsa.o tb_ecdsa.o tb_dh.o tb_ecdh.o tb_rand.o tb_store.o \ | 28 | tb_rsa.o tb_dsa.o tb_ecdsa.o tb_dh.o tb_ecdh.o tb_rand.o tb_store.o \ |
| 28 | tb_cipher.o tb_digest.o \ | 29 | tb_cipher.o tb_digest.o \ |
| 29 | eng_openssl.o eng_cnf.o eng_dyn.o eng_cryptodev.o eng_padlock.o | 30 | eng_openssl.o eng_cnf.o eng_dyn.o eng_cryptodev.o eng_padlock.o \ |
| 31 | eng_aesni.o | ||
| 30 | 32 | ||
| 31 | SRC= $(LIBSRC) | 33 | SRC= $(LIBSRC) |
| 32 | 34 | ||
| @@ -82,6 +84,21 @@ clean: | |||
| 82 | 84 | ||
| 83 | # DO NOT DELETE THIS LINE -- make depend depends on it. | 85 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
| 84 | 86 | ||
| 87 | eng_aesni.o: ../../e_os.h ../../include/openssl/aes.h | ||
| 88 | eng_aesni.o: ../../include/openssl/asn1.h ../../include/openssl/bio.h | ||
| 89 | eng_aesni.o: ../../include/openssl/buffer.h ../../include/openssl/crypto.h | ||
| 90 | eng_aesni.o: ../../include/openssl/dso.h ../../include/openssl/e_os2.h | ||
| 91 | eng_aesni.o: ../../include/openssl/ec.h ../../include/openssl/ecdh.h | ||
| 92 | eng_aesni.o: ../../include/openssl/ecdsa.h ../../include/openssl/engine.h | ||
| 93 | eng_aesni.o: ../../include/openssl/err.h ../../include/openssl/evp.h | ||
| 94 | eng_aesni.o: ../../include/openssl/lhash.h ../../include/openssl/modes.h | ||
| 95 | eng_aesni.o: ../../include/openssl/obj_mac.h ../../include/openssl/objects.h | ||
| 96 | eng_aesni.o: ../../include/openssl/opensslconf.h | ||
| 97 | eng_aesni.o: ../../include/openssl/opensslv.h ../../include/openssl/ossl_typ.h | ||
| 98 | eng_aesni.o: ../../include/openssl/pkcs7.h ../../include/openssl/safestack.h | ||
| 99 | eng_aesni.o: ../../include/openssl/sha.h ../../include/openssl/stack.h | ||
| 100 | eng_aesni.o: ../../include/openssl/symhacks.h ../../include/openssl/x509.h | ||
| 101 | eng_aesni.o: ../../include/openssl/x509_vfy.h ../cryptlib.h eng_aesni.c | ||
| 85 | eng_all.o: ../../e_os.h ../../include/openssl/asn1.h | 102 | eng_all.o: ../../e_os.h ../../include/openssl/asn1.h |
| 86 | eng_all.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h | 103 | eng_all.o: ../../include/openssl/bio.h ../../include/openssl/buffer.h |
| 87 | eng_all.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h | 104 | eng_all.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h |
