FreeBSD Bugzilla – Attachment 243357 Details for
Bug 272454
openssl 3 fips module doesn't load on arm64
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Build AES functions into the FIPS module
file_272454.txt (text/plain), 1.49 KB, created by
Pierre Pronchery
on 2023-07-12 16:48:49 UTC
(
hide
)
Description:
Build AES functions into the FIPS module
Filename:
MIME Type:
Creator:
Pierre Pronchery
Created:
2023-07-12 16:48:49 UTC
Size:
1.49 KB
patch
obsolete
>diff --git a/secure/lib/libcrypto/modules/fips/Makefile b/secure/lib/libcrypto/modules/fips/Makefile >index c8b79e3badfd..c7a4b23940b0 100644 >--- a/secure/lib/libcrypto/modules/fips/Makefile >+++ b/secure/lib/libcrypto/modules/fips/Makefile >@@ -32,6 +32,28 @@ SRCS+= ppccpuid.S ppccap.c > SRCS+= mem_clr.c > .endif > >+# crypto/aes >+SRCS+= aes_cbc.c aes_cfb.c aes_ecb.c aes_ige.c aes_misc.c aes_ofb.c aes_wrap.c >+.if defined(ASM_aarch64) >+SRCS+= aes_core.c aesv8-armx.S vpaes-armv8.S >+ACFLAGS.aesv8-armx.S= -march=armv8-a+crypto >+.elif defined(ASM_amd64) >+SRCS+= aes_core.c aesni-mb-x86_64.S aesni-sha1-x86_64.S aesni-sha256-x86_64.S >+SRCS+= aesni-x86_64.S vpaes-x86_64.S >+.elif defined(ASM_arm) >+SRCS+= aes-armv4.S aesv8-armx.S bsaes-armv7.S >+.elif defined(ASM_i386) >+SRCS+= aes_core.c aesni-x86.S vpaes-x86.S >+.elif defined(ASM_powerpc) >+SRCS+= aes_core.c aes-ppc.S vpaes-ppc.S aesp8-ppc.S >+.elif defined(ASM_powerpc64) >+SRCS+= aes_core.c aes-ppc.S vpaes-ppc.S aesp8-ppc.S >+.elif defined(ASM_powerpc64le) >+SRCS+= aes_core.c aes-ppc.S vpaes-ppc.S aesp8-ppc.S >+.else >+SRCS+= aes_core.c >+.endif >+ > # crypto/bn > SRCS+= bn_add.c bn_div.c bn_exp.c bn_lib.c bn_ctx.c bn_mul.c \ > bn_mod.c bn_conv.c bn_rand.c bn_shift.c bn_word.c bn_blind.c \ >@@ -243,6 +265,7 @@ SRCS+= record/tls_pad.c s3_cbc.c > .endif > > .PATH: ${LCRYPTO_SRC}/crypto \ >+ ${LCRYPTO_SRC}/crypto/aes \ > ${LCRYPTO_SRC}/crypto/bio \ > ${LCRYPTO_SRC}/crypto/bn \ > ${LCRYPTO_SRC}/crypto/dh \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 272454
: 243357