sm8550-common: Shim Samsung keymint service with libcrypto-v33.so
Current asn1t.h structs aren't binary compatible with our keymaster. Change-Id: Id78b71c1f08216f861a033097cd015ba3c109925
This commit is contained in:
@@ -426,6 +426,10 @@ PRODUCT_COPY_FILES += \
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.weaver@1.0.vendor
|
||||
|
||||
# VNDK
|
||||
PRODUCT_COPY_FILES += \
|
||||
prebuilts/vndk/v33/arm64/arch-arm64-armv8-a/shared/vndk-core/libcrypto.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libcrypto-v33.so
|
||||
|
||||
# Vibrator
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.vibrator-V2-ndk.vendor
|
||||
|
@@ -62,6 +62,7 @@ function blob_fixup() {
|
||||
case "${1}" in
|
||||
vendor/bin/hw/android.hardware.security.keymint-service)
|
||||
grep -q "android.hardware.security.rkp-V3-ndk.so" "${2}" || ${PATCHELF} --add-needed "android.hardware.security.rkp-V3-ndk.so" "${2}"
|
||||
${PATCHELF} --replace-needed libcrypto.so libcrypto-v33.so "${2}"
|
||||
;;
|
||||
vendor/etc/vintf/manifest/sec_c2_manifest_default0_1_0.xml)
|
||||
sed -i 's/default0/software/g' "${2}"
|
||||
|
Reference in New Issue
Block a user