{"id":282166,"date":"2023-09-21T09:00:19","date_gmt":"2023-09-21T01:00:19","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=282166"},"modified":"2023-09-19T10:48:33","modified_gmt":"2023-09-19T02:48:33","slug":"the-linux-kernel","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/the-linux-kernel.html","title":{"rendered":"Linux \u5185\u6838\u51b3\u5b9a\u7981\u7528\u6240\u6709 AMD fTPM \u7684\u968f\u673a\u6570\u751f\u6210 (RNG)"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u4e0a\u4e2a\u6708\uff0cLinux \u5185\u6838\u51b3\u5b9a\u7981\u7528\u6240\u6709 AMD fTPM \u7684\u968f\u673a\u6570\u751f\u6210 (RNG)\uff0c\u7ed3\u679c\u5728\u82f1\u7279\u5c14\u7cfb\u7edf\u4e0a\u4ea7\u751f\u4e86\u4e00\u4e9b\u610f\u60f3\u4e0d\u5230\u7684\u540e\u679c\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\u5728\u6240\u6709 AMD fTPM \u4e0a\u7981\u7528 RNG \u7684\u4fee\u8865\u7a0b\u5e8f\u6700\u7ec8\u5bfc\u81f4\u4e00\u4e9b\u57fa\u4e8e\u82f1\u7279\u5c14\u5e73\u53f0\u7684\u7cfb\u7edf\u8868\u73b0\u9000\u6b65\uff0c\u5c24\u5176\u662f\u5728\u89e6\u53d1 S3 \u6302\u8d77\u5230\u5185\u5b58\u65f6\u51fa\u73b0\u95ee\u9898\u3002\u9488\u5bf9\u8be5\u95ee\u9898\u7684\u4fee\u590d\u7a0b\u5e8f\u5df2\u63d0\u4ea4\u7ed9\u6b63\u5728\u8fdb\u884c\u7684 Linux 6.6 \u5408\u5e76\u7a97\u53e3\uff0c\u5e76\u5c06\u5728\u672a\u6765\u51e0\u5929\u5185\u5411\u7a33\u5b9a\u5185\u6838\u7cfb\u5217\u56de\u4f20\u3002<\/p>\n

\"\"<\/p>\n

\u56fe\u4e3a\u91c7\u7528 fTPM RNG \u7684 AMDRyzen CPU<\/p>\n

\u65e9\u5728 8 \u6708\u4efd\uff0c\u82f1\u7279\u5c14Linux \u5de5\u7a0b\u5e08 Todd Brandt \u5728\u4e00\u4efd\u9519\u8bef\u62a5\u544a\u4e2d\u6307\u51fa\uff0c\u5728\u4ed6\u4eec\u7684\u5b9e\u9a8c\u5ba4\u4e2d\uff0c\u6709 5 \u4e2a\u7cfb\u7edf\u5728\u542f\u52a8 S3 \u6302\u8d77\u65f6\u51fa\u73b0\u5d29\u6e83\u548c\u91cd\u542f\uff0c\u5bfc\u81f4 S3 \u5d29\u6e83\u3002\u8fd9\u4e00\u5185\u6838\u56de\u5f52\u53ef\u8ffd\u6eaf\u5230 AMD \u5728\u6240\u6709 AMD fTPM \u4e0a\u7981\u7528 RNG \u7684\u53d8\u66f4\u3002<\/p>\n

\u8be5\u8865\u4e01\u7684\u51fa\u73b0\u662f\u4e3a\u4e86\u7ea0\u6b63 AMD fTPM \u68c0\u67e5\u884c\u4e3a\uff0c\u4ee5\u4fee\u590d\u82f1\u7279\u5c14\u786c\u4ef6\u4e0a\u7684\u56de\u5f52\uff1a<\/p>\n

\u201c\u63d0\u4ea4 554b841d4703 \u5f15\u5165\u7684\u4f9b\u5e94\u5546\u68c0\u67e5\uff08\u201dtpm: Disable RNG for all AMD fTPMs\u201d\uff09\u5728\u4e00\u4e9b\u82f1\u7279\u5c14 fTPM \u4e0a\u65e0\u6cd5\u6b63\u5e38\u5de5\u4f5c\u3002\u5728\u62a5\u544a\u7684\u7cfb\u7edf\u4e0a\uff0cTPM \u5728\u542f\u52a8\u65f6\u4e0d\u56de\u590d\uff0c\u5e76\u8fd4\u56de\u547d\u4ee4\u4ee3\u7801\u3002\u8fd9\u5bfc\u81f4 TPM \u63a2\u6d4b\u5931\u8d25\u3002<\/p>\n

\u7531\u4e8e\u53ea\u6709 Microsoft Pluton \u662f\u552f\u4e00\u5df2\u77e5\u7684 AMD CPU \u4e0e\u5176\u4ed6\u4f9b\u5e94\u5546\u7684 fTPM \u7684\u7ec4\u5408\uff0c\u56e0\u6b64\u8bf7\u7981\u7528 hwrng\u3002\u4e3a\u4e86\u8ba9\u7cfb\u7edf\u7ba1\u7406\u5458\u610f\u8bc6\u5230\u8fd9\u4e00\u70b9\uff0c\u8fd8\u53ef\u5728\u65e5\u5fd7\u4e2d\u6253\u5370\u4fe1\u606f\u201d\u3002<\/p>\n

\u8be5\u8865\u4e01\u5df2\u4e8e\u4eca\u5929\u63d0\u4ea4\uff0c\u4f5c\u4e3a Linux 6.6 \u5408\u5e76\u7a97\u53e3 TPMDD \u53d8\u66f4\u7684\u4e00\u90e8\u5206\u3002\u4e00\u65e6\u5185\u6838\u7a33\u5b9a\u7248\u672c\u5728\u672a\u6765\u4e00\u4e24\u5929\u5185\u88ab\u4e3b\u7ebf\u91c7\u7eb3\uff0c\u8be5\u8865\u4e01\u5c31\u4f1a\u88ab\u6807\u8bb0\u4e3a\u5411\u540e\u79fb\u690d\u3002\u6539\u8fdb\u540e\u7684\u65b9\u6cd5\u5c06\u4fee\u590d\u53d7\u5f71\u54cd\u7684\u82f1\u7279\u5c14\u7cfb\u7edf\u4e0a\u7684\u6302\u8d77\u884c\u4e3a\uff0c\u540c\u65f6\u4ecd\u5728\u6240\u6709 AMD fTPM \u7cfb\u7edf\u4e0a\u7981\u7528 RNG\u3002<\/p>\n

\u4e86\u89e3\u66f4\u591a\uff1a<\/p>\n

https:\/\/lore.kernel.org\/lkml\/ct256e7tloa3th4muxmhgvysvod35c4vp2aczuybud3q6747ts@hglky2egrg7y\/T\/<\/p>\n

https:\/\/lore.kernel.org\/lkml\/20230904202512.29825-1-jarkko@kernel.org\/<\/p>\n","protected":false},"excerpt":{"rendered":"

\u5728\u6240\u6709 AMD fTPM \u4e0a\u7981\u7528 RNG \u7684\u4fee\u8865\u7a0b\u5e8f\u6700\u7ec8\u5bfc\u81f4\u4e00\u4e9b\u57fa\u4e8e\u82f1\u7279\u5c14\u5e73\u53f0\u7684\u7cfb\u7edf\u8868\u73b0\u9000\u6b65\uff0c\u5c24\u5176\u662f\u5728\u89e6\u53d1 S […]<\/p>\n","protected":false},"author":1481,"featured_media":282172,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[21],"tags":[],"class_list":["post-282166","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/282166","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1481"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=282166"}],"version-history":[{"count":3,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/282166\/revisions"}],"predecessor-version":[{"id":282959,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/282166\/revisions\/282959"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/282172"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=282166"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=282166"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=282166"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}