摘要: 发现一篇好文章,特此记录,便于学习。感谢! 原文在此:Android Verified Boot 2.0 Android Verified Boot(AVB)的作用是校验各个镜像,确保各个镜像没有被篡改过的。如果镜像被篡改过,设备将会报启动异常。 概览: 设备上电最早启动pbl(primary bo 阅读全文
posted @ 2023-10-20 14:43 xiululu 阅读(1799) 评论(0) 推荐(0)
摘要: 原文: https://developer.aliyun.com/article/719851 如果用git revert 一个一个revert 挺费劲,可以用git revert OLDER_COMMIT^..NEWER_COMMIT 这种格式 这样会在log 上多留下多条revert相关的记录, 阅读全文
posted @ 2023-10-13 09:31 xiululu 阅读(1500) 评论(0) 推荐(0)
摘要: CA侧打印cmd id字串: const char* get_cmd(uint32_t cmd) { switch(cmd) { case KM_GENERATE_KEY: return "KM_GENERATE_KEY"; case KM_BEGIN_OPERATION: return "KM_B 阅读全文
posted @ 2023-10-09 16:06 xiululu 阅读(152) 评论(0) 推荐(0)
摘要: 因为需要在kernel tee driver中做个获取时间的测试,才有了这次搜索。 这篇比较符合需求:https://www.dingmos.com/index.php/archives/38/,感谢这位博主! 问题分析中看到的一些点: auth_token_table.h中获取时间: explic 阅读全文
posted @ 2023-10-09 14:58 xiululu 阅读(214) 评论(0) 推荐(0)
摘要: 原文:https://www.php.cn/faq/479820.html 感谢博主! www@SS-SHAP02:~$ hwclock --show hwclock: Sorry, only the superuser can use the Hardware Clock. www@SS-SHAP 阅读全文
posted @ 2023-10-07 15:34 xiululu 阅读(104) 评论(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 阅读(146) 评论(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 阅读(78) 评论(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 阅读(491) 评论(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 阅读(322) 评论(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 阅读(378) 评论(0) 推荐(0)