VirtualBox

source: vbox/trunk/src/libs/openssl-1.1.1l/crypto/sha/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: 4.2 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_sha
17crypto_sha_TEMPLATE = SUBLIBCRYPTO
18crypto_sha_DEFS = OPENSSL_NO_DEPRECATED
19crypto_sha_SOURCES = \
20 sha1_one.c \
21 sha1dgst.c \
22 sha256.c \
23 sha512.c
24ifdef VBOX_WITH_CRYPTO_ASM
25 crypto_sha_SOURCES.x86 += \
26 keccak1600.c \
27 $(VBOX_PATH_CRYPTO_GENASM)/sha1-586.S \
28 $(VBOX_PATH_CRYPTO_GENASM)/sha256-586.S \
29 $(VBOX_PATH_CRYPTO_GENASM)/sha512-586.S
30 crypto_sha_SOURCES.amd64 += \
31 $(VBOX_PATH_CRYPTO_GENASM)/keccak1600-x86_64.S \
32 $(VBOX_PATH_CRYPTO_GENASM)/sha1-x86_64.S \
33 $(VBOX_PATH_CRYPTO_GENASM)/sha1-mb-x86_64.S \
34 $(VBOX_PATH_CRYPTO_GENASM)/sha256-x86_64.S \
35 $(VBOX_PATH_CRYPTO_GENASM)/sha256-mb-x86_64.S \
36 $(VBOX_PATH_CRYPTO_GENASM)/sha512-x86_64.S
37else
38 crypto_sha_SOURCES += \
39 keccak1600.c
40endif
41$(evalcall VBOX_OPENSSL_X86,crypto_sha)
42
43
44recreate-sha-asm: $(VBOX_PATH_CRYPTO)/perlasm/x86asm.pl \
45 $(VBOX_PATH_CRYPTO_SHA)/asm/sha1-586.pl \
46 $(VBOX_PATH_CRYPTO_SHA)/asm/sha256-586.pl \
47 $(VBOX_PATH_CRYPTO_SHA)/asm/sha512-586.pl \
48 $(VBOX_PATH_CRYPTO_SHA)/asm/keccak1600-x86_64.pl \
49 $(VBOX_PATH_CRYPTO_SHA)/asm/sha1-x86_64.pl \
50 $(VBOX_PATH_CRYPTO_SHA)/asm/sha1-mb-x86_64.pl \
51 $(VBOX_PATH_CRYPTO_SHA)/asm/sha512-x86_64.pl \
52 $(VBOX_PATH_CRYPTO_SHA)/asm/sha256-mb-x86_64.pl
53 perl $(VBOX_PATH_CRYPTO_SHA)/asm/sha1-586.pl elf -fPIC $(VBOX_PATH_CRYPTO)/genasm-elf/sha1-586.S
54 perl $(VBOX_PATH_CRYPTO_SHA)/asm/sha256-586.pl elf -fPIC $(VBOX_PATH_CRYPTO)/genasm-elf/sha256-586.S
55 perl $(VBOX_PATH_CRYPTO_SHA)/asm/sha512-586.pl elf -fPIC $(VBOX_PATH_CRYPTO)/genasm-elf/sha512-586.S
56 perl $(VBOX_PATH_CRYPTO_SHA)/asm/keccak1600-x86_64.pl elf $(VBOX_PATH_CRYPTO)/genasm-elf/keccak1600-x86_64.S
57 perl $(VBOX_PATH_CRYPTO_SHA)/asm/sha1-x86_64.pl elf $(VBOX_PATH_CRYPTO)/genasm-elf/sha1-x86_64.S
58 perl $(VBOX_PATH_CRYPTO_SHA)/asm/sha1-mb-x86_64.pl elf $(VBOX_PATH_CRYPTO)//genasm-elf/sha1-mb-x86_64.S
59 perl $(VBOX_PATH_CRYPTO_SHA)/asm/sha512-x86_64.pl elf $(VBOX_PATH_CRYPTO)/genasm-elf/sha256-x86_64.S
60 perl $(VBOX_PATH_CRYPTO_SHA)/asm/sha256-mb-x86_64.pl elf $(VBOX_PATH_CRYPTO)/genasm-elf/sha256-mb-x86_64.S
61 perl $(VBOX_PATH_CRYPTO_SHA)/asm/sha512-x86_64.pl elf $(VBOX_PATH_CRYPTO)/genasm-elf/sha512-x86_64.S
62 perl $(VBOX_PATH_CRYPTO_SHA)/asm/sha1-586.pl macosx $(VBOX_PATH_CRYPTO)/genasm-macosx/sha1-586.S
63 perl $(VBOX_PATH_CRYPTO_SHA)/asm/sha256-586.pl macosx $(VBOX_PATH_CRYPTO)/genasm-macosx/sha256-586.S
64 perl $(VBOX_PATH_CRYPTO_SHA)/asm/sha512-586.pl macosx $(VBOX_PATH_CRYPTO)/genasm-macosx/sha512-586.S
65 perl $(VBOX_PATH_CRYPTO_SHA)/asm/keccak1600-x86_64.pl macosx $(VBOX_PATH_CRYPTO)/genasm-macosx/keccak1600-x86_64.S
66 perl $(VBOX_PATH_CRYPTO_SHA)/asm/sha1-x86_64.pl macosx $(VBOX_PATH_CRYPTO)/genasm-macosx/sha1-x86_64.S
67 perl $(VBOX_PATH_CRYPTO_SHA)/asm/sha1-mb-x86_64.pl macosx $(VBOX_PATH_CRYPTO)/genasm-macosx/sha1-mb-x86_64.S
68 perl $(VBOX_PATH_CRYPTO_SHA)/asm/sha512-x86_64.pl macosx $(VBOX_PATH_CRYPTO)/genasm-macosx/sha256-x86_64.S
69 perl $(VBOX_PATH_CRYPTO_SHA)/asm/sha256-mb-x86_64.pl macosx $(VBOX_PATH_CRYPTO)/genasm-macosx/sha256-mb-x86_64.S
70 perl $(VBOX_PATH_CRYPTO_SHA)/asm/sha512-x86_64.pl macosx $(VBOX_PATH_CRYPTO)/genasm-macosx/sha512-x86_64.S
71 perl $(VBOX_PATH_CRYPTO_SHA)/asm/sha1-586.pl win32n $(VBOX_PATH_CRYPTO)/genasm-nasm/sha1-586.S
72 perl $(VBOX_PATH_CRYPTO_SHA)/asm/sha256-586.pl win32n $(VBOX_PATH_CRYPTO)/genasm-nasm/sha256-586.S
73 perl $(VBOX_PATH_CRYPTO_SHA)/asm/sha512-586.pl win32n $(VBOX_PATH_CRYPTO)/genasm-nasm/sha512-586.S
74 perl $(VBOX_PATH_CRYPTO_SHA)/asm/keccak1600-x86_64.pl nasm $(VBOX_PATH_CRYPTO)/genasm-nasm/keccak1600-x86_64.S
75 perl $(VBOX_PATH_CRYPTO_SHA)/asm/sha1-x86_64.pl nasm $(VBOX_PATH_CRYPTO)/genasm-nasm/sha1-x86_64.S
76 perl $(VBOX_PATH_CRYPTO_SHA)/asm/sha1-mb-x86_64.pl nasm $(VBOX_PATH_CRYPTO)/genasm-nasm/sha1-mb-x86_64.S
77 perl $(VBOX_PATH_CRYPTO_SHA)/asm/sha512-x86_64.pl nasm $(VBOX_PATH_CRYPTO)/genasm-nasm/sha256-x86_64.S
78 perl $(VBOX_PATH_CRYPTO_SHA)/asm/sha256-mb-x86_64.pl nasm $(VBOX_PATH_CRYPTO)/genasm-nasm/sha256-mb-x86_64.S
79 perl $(VBOX_PATH_CRYPTO_SHA)/asm/sha512-x86_64.pl nasm $(VBOX_PATH_CRYPTO)/genasm-nasm/sha512-x86_64.S
80
81include $(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