VirtualBox

source: vbox/trunk/src/libs/openssl-1.1.1l/crypto/modes/Makefile.kmk@ 91772

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

openssl-1.1.1l: Applied and adjusted our OpenSSL changes to 1.1.1l. bugref:10126

File size: 1.9 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_modes
17crypto_modes_TEMPLATE = SUBLIBCRYPTO
18crypto_modes_DEFS = OPENSSL_NO_DEPRECATED
19crypto_modes_SOURCES = \
20 cbc128.c \
21 ccm128.c \
22 cfb128.c \
23 ctr128.c \
24 cts128.c \
25 gcm128.c \
26 ocb128.c \
27 ofb128.c \
28 wrap128.c \
29 xts128.c
30ifdef VBOX_WITH_CRYPTO_ASM
31 crypto_modes_SOURCES.x86 += \
32 $(VBOX_PATH_CRYPTO_GENASM)/ghash-x86.S
33 crypto_modes_SOURCES.amd64 += \
34 $(VBOX_PATH_CRYPTO_GENASM)/ghash-x86_64.S \
35 $(VBOX_PATH_CRYPTO_GENASM)/aesni-gcm-x86_64.S
36endif
37$(evalcall VBOX_OPENSSL_X86,crypto_modes)
38
39
40recreate-modes-asm: $(VBOX_PATH_CRYPTO)/perlasm/x86asm.pl \
41 $(VBOX_PATH_CRYPTO_MODES)/asm/ghash-x86.pl \
42 $(VBOX_PATH_CRYPTO_MODES)/asm/ghash-x86_64.pl \
43 $(VBOX_PATH_CRYPTO_MODES)/asm/aesni-gcm-x86_64.pl
44 perl $(VBOX_PATH_CRYPTO_MODES)/asm/ghash-x86.pl elf -fPIC $(VBOX_PATH_CRYPTO)/genasm-elf/ghash-x86.S
45 perl $(VBOX_PATH_CRYPTO_MODES)/asm/ghash-x86_64.pl elf $(VBOX_PATH_CRYPTO)/genasm-elf/ghash-x86_64.S
46 perl $(VBOX_PATH_CRYPTO_MODES)/asm/aesni-gcm-x86_64.pl elf $(VBOX_PATH_CRYPTO)/genasm-elf/aesni-gcm-x86_64.S
47 perl $(VBOX_PATH_CRYPTO_MODES)/asm/ghash-x86.pl macosx $(VBOX_PATH_CRYPTO)/genasm-macosx/ghash-x86.S
48 perl $(VBOX_PATH_CRYPTO_MODES)/asm/ghash-x86_64.pl macosx $(VBOX_PATH_CRYPTO)/genasm-macosx/ghash-x86_64.S
49 perl $(VBOX_PATH_CRYPTO_MODES)/asm/aesni-gcm-x86_64.pl macosx $(VBOX_PATH_CRYPTO)/genasm-macosx/aesni-gcm-x86_64.S
50 perl $(VBOX_PATH_CRYPTO_MODES)/asm/ghash-x86.pl win32n $(VBOX_PATH_CRYPTO)/genasm-nasm/ghash-x86.S
51 perl $(VBOX_PATH_CRYPTO_MODES)/asm/ghash-x86_64.pl nasm $(VBOX_PATH_CRYPTO)/genasm-nasm/ghash-x86_64.S
52 perl $(VBOX_PATH_CRYPTO_MODES)/asm/aesni-gcm-x86_64.pl nasm $(VBOX_PATH_CRYPTO)/genasm-nasm/aesni-gcm-x86_64.S
53
54include $(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