sm7125-common: Shim Samsung keymaster HAL impl with libcrypto-v33.so

Current asn1t.h structs aren't binary compatible with our keymaster.

Change-Id: Id78b71c1f08216f861a033097cd015ba3c109925
fourteen-wip
LuK1337 1 year ago committed by Simon1511
parent 45dfa77487
commit 26c9c2eab6
  1. 3
      common.mk
  2. 3
      extract-files.sh
  3. 2
      proprietary-files.txt

@ -418,7 +418,8 @@ PRODUCT_PACKAGES += \
# VNDK
PRODUCT_COPY_FILES += \
prebuilts/vndk/v30/arm64/arch-arm64-armv8-a/shared/vndk-sp/libutils.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libutils-v30.so
prebuilts/vndk/v30/arm64/arch-arm64-armv8-a/shared/vndk-sp/libutils.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libutils-v30.so \
prebuilts/vndk/v33/arm64/arch-arm64-armv8-a/shared/vndk-core/libcrypto.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libcrypto-v33.so
# WiFi
PRODUCT_PACKAGES += \

@ -70,6 +70,9 @@ function blob_fixup() {
# Replace libutils with vndk30 libutils
"${PATCHELF}" --replace-needed libutils.so libutils-v30.so "${2}"
;;
vendor/lib64/libskeymaster4device.so)
"${PATCHELF}" --replace-needed "libcrypto.so" "libcrypto-v33.so" "${2}"
;;
esac
}

@ -753,7 +753,7 @@ vendor/firmware/ipa_fws.mdt
# Keymaster
vendor/lib64/libkeymaster_helper.so
-vendor/lib64/libskeymaster4device.so
-vendor/lib64/libskeymaster4device.so|2c921afc48d4d10a6ff50d7013af86fa09827f1a
# Machine learning
vendor/lib64/libreffeature.so

Loading…
Cancel
Save