Searched hist:b6ea0cb4adae620c68f381ac2f0a0e6d716e13f4 (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/lib/rsa/ |
| H A D | rsa-sign.c | b6ea0cb4adae620c68f381ac2f0a0e6d716e13f4 Wed Dec 02 02:17:40 UTC 2020 Joseph Chen <chenjh@rock-chips.com> lib: rsa-sign: add rockchip rsa key hash
SPL requires key hash to verify and flash it to OTP/EFUSE.
- hash@c: n, e, c - hash@np: n, e, np
/ { signature { key-dev { required = "conf"; algo = "sha256,rsa2048"; rsa,np = <...>; rsa,c = <...>; rsa,modulus = <...>; rsa,exponent-BN = <...>; ... key-name-hint = "dev"; hash@np { algo = "sha256"; value = <0x0934bc4d 0xfbc31ffe 0x9224d6c2 0x1a3aa280 0x881d881e 0xe2006246 0x01b9e724 0x35c03428>; }; hash@c { algo = "sha256"; value = <0x08962385 0x34585e06 0x0b73a496 0x374b148d 0xa2700a75 0x4aae08ad 0xb2a324a3 0x95ee6b52>; }; }; }; ... };
But after processed by scripts/fit.sh, only one of "hash@c" and "hash@np" would be left.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Id9454100f9fdb06b30f9a4b2a7bdd180f117cb68
|