摘要: 流程: 0275 09-26 15:45:29.341 3393 3393 D FingerprintBoundKeysTest: 1. startTest --> createKey 0279 09-26 15:45:29.344 3393 3393 D FingerprintBoundKeysT 阅读全文
posted @ 2023-09-26 16:34 xiululu 阅读(30) 评论(0) 推荐(0) 编辑
摘要: keymaster_tag_t定义: typedef enum { KM_TAG_INVALID = KM_INVALID | 0, /* * Tags that must be semantically enforced by hardware and software implementatio 阅读全文
posted @ 2023-09-15 11:02 xiululu 阅读(41) 评论(0) 推荐(0) 编辑
摘要: 异常日志: 26634 09-12 19:45:34.213 299 299 I OpteeKeymaster_ipc: TEEC_InvokeCommand cmd 4 failed with code 0xffffffe6 (User is not authenticated) origin 0 阅读全文
posted @ 2023-09-14 13:37 xiululu 阅读(34) 评论(0) 推荐(0) 编辑
摘要: AttestationPerformanceTest 测试方式:adb shell am instrument -r -e class android.keystore.cts.AttestationPerformanceTest -w android.keystore.cts/androidx.t 阅读全文
posted @ 2023-09-11 14:27 xiululu 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 问题: export USE_A32=true之后编译32位安卓版本时,出现无法开机问题。 现象表现在手机卡在开机LOGO界面,从log看是optee keymaster 3.0 start失败导致的。 库上的optee方案集成思路: conf.mk的默认配置为:ta-targets := ta_a 阅读全文
posted @ 2023-09-08 09:43 xiululu 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 问题: 写rpmb key和google key时一直报失败。 通过setenforce 0配置为permissive模式后,写key成功。 遂着手解决selinux权限问题。 可是添加了allow tee root_block_device:blk_file { read open ioctl } 阅读全文
posted @ 2023-08-31 15:55 xiululu 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 问题背景: 基于Android R版本来使能go版本。 产品要求将原先TEE reserved memory规划的80M尽可能缩减。 80M是第三方TEE方案要求的,集成了多个指纹以及支付相关的较多TA,我们自研方案是OPTEE,集成的TA不多,所以这里还是有一些裁剪空间的。 修改点: 之前有过一次 阅读全文
posted @ 2023-08-23 17:08 xiululu 阅读(139) 评论(0) 推荐(0) 编辑
摘要: ARM® CoreLink™ TZC-400 TrustZone® Address Space Controller 该篇文档的翻译及一些总结说明:https://www.cnblogs.com/lvzh/p/16582717.html TZC400学习总结 这是个大佬的总结:https://blo 阅读全文
posted @ 2023-08-16 14:28 xiululu 阅读(168) 评论(0) 推荐(0) 编辑
摘要: AS版本: Android Studio Bumblebee | 2021.1.1 Patch 1Build #AI-211.7628.21.2111.8139111, built on February 2, 2022Runtime version: 11.0.11+9-b60-7590822 a 阅读全文
posted @ 2023-05-17 11:04 xiululu 阅读(524) 评论(0) 推荐(0) 编辑
摘要: 异常日志: File "/home/xll/prj/.repo/repo/main.py", line 79 file=sys.stderr) ^ SyntaxError: invalid syntax main.py第79行输出指出异常为: repo: error: Python 2 is no 阅读全文
posted @ 2023-05-09 09:03 xiululu 阅读(126) 评论(0) 推荐(0) 编辑