VirtualBox

source: vbox/trunk/src/libs/openssl-1.1.1k/crypto/aes/Makefile.kmk@ 90293

Last change on this file since 90293 was 90293, checked in by vboxsync, 3 years ago

openssl-1.1.1k: Applied and adjusted our OpenSSL changes to 1.1.1k. bugref:10072

File size: 4.6 KB
Line 
1# $Id$
2## @file
3# OpenSSL Sub-Makefile.
4#
5
6#
7# Copyright (C) 2006-2019 Oracle Corporation
8#
9# Oracle Corporation confidential
10# All rights reserved
11#
12
13SUB_DEPTH = ../../../../..
14include $(KBUILD_PATH)/subheader.kmk
15
16LIBRARIES += crypto_aes
17crypto_aes_TEMPLATE = SUBLIBCRYPTO
18crypto_aes_DEFS = OPENSSL_NO_DEPRECATED
19crypto_aes_SOURCES = \
20 aes_cfb.c \
21 aes_ecb.c \
22 aes_ige.c \
23 aes_misc.c \
24 aes_ofb.c \
25 aes_wrap.c
26ifdef VBOX_WITH_CRYPTO_ASM
27 crypto_aes_SOURCES.x86 += \
28 $(VBOX_PATH_CRYPTO_GENASM)/aes-586.S \
29 $(VBOX_PATH_CRYPTO_GENASM)/vpaes-x86.S \
30 $(VBOX_PATH_CRYPTO_GENASM)/aesni-x86.S
31 crypto_aes_SOURCES.amd64 += \
32 $(VBOX_PATH_CRYPTO_GENASM)/aes-x86_64.S \
33 $(VBOX_PATH_CRYPTO_GENASM)/vpaes-x86_64.S \
34 $(VBOX_PATH_CRYPTO_GENASM)/bsaes-x86_64.S \
35 $(VBOX_PATH_CRYPTO_GENASM)/aesni-x86_64.S \
36 $(VBOX_PATH_CRYPTO_GENASM)/aesni-mb-x86_64.S \
37 $(VBOX_PATH_CRYPTO_GENASM)/aesni-sha1-x86_64.S \
38 $(VBOX_PATH_CRYPTO_GENASM)/aesni-sha256-x86_64.S
39else
40 crypto_aes_SOURCES += \
41 aes_core.c \
42 aes_cbc.c
43endif
44
45$(evalcall VBOX_OPENSSL_X86,crypto_aes)
46
47
48recreate-aes-asm: $(VBOX_PATH_CRYPTO)/perlasm/x86asm.pl \
49 $(VBOX_PATH_CRYPTO_AES)/asm/aes-586.pl \
50 $(VBOX_PATH_CRYPTO_AES)/asm/vpaes-x86.pl \
51 $(VBOX_PATH_CRYPTO_AES)/asm/aesni-x86.pl \
52 $(VBOX_PATH_CRYPTO_AES)/asm/aes-x86_64.pl \
53 $(VBOX_PATH_CRYPTO_AES)/asm/vpaes-x86_64.pl \
54 $(VBOX_PATH_CRYPTO_AES)/asm/bsaes-x86_64.pl \
55 $(VBOX_PATH_CRYPTO_AES)/asm/aesni-x86_64.pl \
56 $(VBOX_PATH_CRYPTO_AES)/asm/aesni-mb-x86_64.pl \
57 $(VBOX_PATH_CRYPTO_AES)/asm/aesni-sha1-x86_64.pl \
58 $(VBOX_PATH_CRYPTO_AES)/asm/aesni-sha256-x86_64.pl
59 perl $(VBOX_PATH_CRYPTO_AES)/asm/aes-586.pl elf -fPIC $(VBOX_PATH_CRYPTO)/genasm-elf/aes-586.S
60 perl $(VBOX_PATH_CRYPTO_AES)/asm/vpaes-x86.pl elf -fPIC $(VBOX_PATH_CRYPTO)/genasm-elf/vpaes-x86.S
61 perl $(VBOX_PATH_CRYPTO_AES)/asm/aesni-x86.pl elf -fPIC $(VBOX_PATH_CRYPTO)/genasm-elf/aesni-x86.S
62 perl $(VBOX_PATH_CRYPTO_AES)/asm/aes-x86_64.pl elf $(VBOX_PATH_CRYPTO)/genasm-elf/aes-x86_64.S
63 perl $(VBOX_PATH_CRYPTO_AES)/asm/vpaes-x86_64.pl elf $(VBOX_PATH_CRYPTO)/genasm-elf/vpaes-x86_64.S
64 perl $(VBOX_PATH_CRYPTO_AES)/asm/bsaes-x86_64.pl elf $(VBOX_PATH_CRYPTO)/genasm-elf/bsaes-x86_64.S
65 perl $(VBOX_PATH_CRYPTO_AES)/asm/aesni-x86_64.pl elf $(VBOX_PATH_CRYPTO)/genasm-elf/aesni-x86_64.S
66 perl $(VBOX_PATH_CRYPTO_AES)/asm/aesni-mb-x86_64.pl elf $(VBOX_PATH_CRYPTO)/genasm-elf/aesni-mb-x86_64.S
67 perl $(VBOX_PATH_CRYPTO_AES)/asm/aesni-sha1-x86_64.pl elf $(VBOX_PATH_CRYPTO)/genasm-elf/aesni-sha1-x86_64.S
68 perl $(VBOX_PATH_CRYPTO_AES)/asm/aesni-sha256-x86_64.pl elf $(VBOX_PATH_CRYPTO)/genasm-elf/aesni-sha256-x86_64.S
69 perl $(VBOX_PATH_CRYPTO_AES)/asm/aes-586.pl macosx $(VBOX_PATH_CRYPTO)/genasm-macosx/aes-586.S
70 perl $(VBOX_PATH_CRYPTO_AES)/asm/vpaes-x86.pl macosx $(VBOX_PATH_CRYPTO)/genasm-macosx/vpaes-x86.S
71 perl $(VBOX_PATH_CRYPTO_AES)/asm/aesni-x86.pl macosx $(VBOX_PATH_CRYPTO)/genasm-macosx/aesni-x86.S
72 perl $(VBOX_PATH_CRYPTO_AES)/asm/aes-x86_64.pl macosx $(VBOX_PATH_CRYPTO)/genasm-macosx/aes-x86_64.S
73 perl $(VBOX_PATH_CRYPTO_AES)/asm/vpaes-x86_64.pl macosx $(VBOX_PATH_CRYPTO)/genasm-macosx/vpaes-x86_64.S
74 perl $(VBOX_PATH_CRYPTO_AES)/asm/bsaes-x86_64.pl macosx $(VBOX_PATH_CRYPTO)/genasm-macosx/bsaes-x86_64.S
75 perl $(VBOX_PATH_CRYPTO_AES)/asm/aesni-x86_64.pl macosx $(VBOX_PATH_CRYPTO)/genasm-macosx/aesni-x86_64.S
76 perl $(VBOX_PATH_CRYPTO_AES)/asm/aesni-mb-x86_64.pl macosx $(VBOX_PATH_CRYPTO)/genasm-macosx/aesni-mb-x86_64.S
77 perl $(VBOX_PATH_CRYPTO_AES)/asm/aesni-sha1-x86_64.pl macosx $(VBOX_PATH_CRYPTO)/genasm-macosx/aesni-sha1-x86_64.S
78 perl $(VBOX_PATH_CRYPTO_AES)/asm/aesni-sha256-x86_64.pl macosx $(VBOX_PATH_CRYPTO)/genasm-macosx/aesni-sha256-x86_64.S
79 perl $(VBOX_PATH_CRYPTO_AES)/asm/aes-586.pl win32n $(VBOX_PATH_CRYPTO)/genasm-nasm/aes-586.S
80 perl $(VBOX_PATH_CRYPTO_AES)/asm/vpaes-x86.pl win32n $(VBOX_PATH_CRYPTO)/genasm-nasm/vpaes-x86.S
81 perl $(VBOX_PATH_CRYPTO_AES)/asm/aesni-x86.pl win32n $(VBOX_PATH_CRYPTO)/genasm-nasm/aesni-x86.S
82 perl $(VBOX_PATH_CRYPTO_AES)/asm/aes-x86_64.pl nasm $(VBOX_PATH_CRYPTO)/genasm-nasm/aes-x86_64.S
83 perl $(VBOX_PATH_CRYPTO_AES)/asm/vpaes-x86_64.pl nasm $(VBOX_PATH_CRYPTO)/genasm-nasm/vpaes-x86_64.S
84 perl $(VBOX_PATH_CRYPTO_AES)/asm/bsaes-x86_64.pl nasm $(VBOX_PATH_CRYPTO)/genasm-nasm/bsaes-x86_64.S
85 perl $(VBOX_PATH_CRYPTO_AES)/asm/aesni-x86_64.pl nasm $(VBOX_PATH_CRYPTO)/genasm-nasm/aesni-x86_64.S
86 perl $(VBOX_PATH_CRYPTO_AES)/asm/aesni-mb-x86_64.pl nasm $(VBOX_PATH_CRYPTO)/genasm-nasm/aesni-mb-x86_64.S
87 perl $(VBOX_PATH_CRYPTO_AES)/asm/aesni-sha1-x86_64.pl nasm $(VBOX_PATH_CRYPTO)/genasm-nasm/aesni-sha1-x86_64.S
88 perl $(VBOX_PATH_CRYPTO_AES)/asm/aesni-sha256-x86_64.pl nasm $(VBOX_PATH_CRYPTO)/genasm-nasm/aesni-sha256-x86_64.S
89
90include $(FILE_KBUILD_SUB_FOOTER)
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette