Security functions are enabled and accelerated by the following hardware: . ARM TrustZone including the TZ architecture (separation of interrupts, memory mapping, etc.) . SJC- System JTAG Controller. Protecting JTAG from debug port attacks by regulating or blocking the access to the system debug features . CAAM - Cryptographic Acceleration and Assurance Module, incorporating 16KB secure RAM . SNVS - Secure Non-Volatile Storage, including Secure Real Time Clock . CSU - Central Security Unit. Configured during boot and by e-fuses, and will determine the security level operation mode as well as the TZ policy . A-HAB-Advanced High Assurance Boot - HABv4 with the next embedded enhancements: SHA-256, 2048 bit RSA key, version control mechanism, warm boot, CSU and TZ initialization The memory system consists of the following levels: . Level 1 Cache - 32KB Instruction, 32KB Data cache per each core. . Level 2 Cache - Unified instruction and data (1MByte) . On-Chip Memory . Boot ROM, including HAB (96 KB) . Internal multimedia / shared, fast access RAM (256KByte) . Secure/non-secure RAM (16 KB) Security is supported by: . High Assurance Boot (HAB4) System . ARM TrustZone (TZ) Trusted Execution environment . DDR Memory secure region protection by TrustZone Address Space Controller . On-chip RAM (OCRAM) single region TrustZone protection . Peripheral access policy control, using Central Security Unit (CSU) . One-Time Programmable (OTP) electrical fuse array (Total of 3840-bit e-fuses) via the On-chip electrical fuse controller (OCOTP_CTRL) . CAAM and SNVS security architecture, providing: . 16KB Secure RAM . Secure Real Time Counters . Security State Controller . Encryption and Hashing functions, Random Number Generator (RNG) . Security Violation/Tamper Detection & Reporting . System JTAG controller (SJC) . Secure Real Time Clock (SRTC) . TrustZone Watchdog (TZ WDOG) ●HAB この章は BROM が次に起動させるファームウェアを検証する部分を示している という理解で合ってますよね。 ・SHA-256 の RSA 1024〜3072 bit 署名をサポート。  AES-128 bit 暗号化に対応、と書いてある。 ・SHA は問題ないと思います。 ・RSA は 4096 bits をサポートしていないということになる?  →もしそうなら DRM 用にソフトで 4096 bits 版を組み込む必要がある。   その分、TrustZone 用のメモリが必要になりそう。   (CTR の RSA ハードウェアも 4096 には対応していませんでした) ・AES-128 のみ書いてあるということは AES-256 には未対応?  →AES-128 でも概ね支障はなさそう。 ・AES-128 の暗号鍵はどこに持つのか? eFuse なのか BROM なのか。 ・AES の動作モードは何か?  →CBC モードである必要がある。 ・ファームウェアをアップデートする際、IV を変えたいが  IV を変えられる仕組みになっているか?  →IV を変えられる仕組みになっている必要がある。 ・証明書の形式は RSASSA-PKCS1-v1.5 ?  →であれば特に支障はなさそう。   あえて言えば RSASSA-PSS に対応すると尚良い。 ●Boot eFuse ・任天堂で自由に設定可能なフィールドはないのでしょうか?  →DRM 用に 32bit デバイス ID (本体固有乱数)が必要。 ●TrustZone ・TrustZone 用の secure な内部メモリは CAAM の 16KB のこと?  →これでは小さい可能性があります。 ●CAAM ・HASH, AES, RSA の詳細が書いていない。 ・Random Number Generator (RNG)の詳細が書いていない。  →真性乱数? ●CSU ・HSAH, AES, RSA, RNG に対して、TrustZone の有無や Privilage モードの有無に  連動して リードとライトのアクセス制限が個別に行えることを確認したい。 ●SNVS ・eFuse や BootROM が入っているメモリという理解で良い? ・eFuse をバスから切り離せるかどうか知りたい。 ・一度書き込んだ eFuse を一方向に書き込めるかどうか知りたい。  例)1→0 への書き込みが可能であれば、0xFF → 0xFE に後から変更出来る。