From 03bd803796bb13a540486248cf3e1b9734220569 Mon Sep 17 00:00:00 2001 From: Chris Frantz Date: Fri, 26 Apr 2024 09:19:27 -0700 Subject: [PATCH] [ownership] Add a `dummy` owner The `dummy` owner is a secondary owner used for testing ownership transfer flows. Signed-off-by: Chris Frantz (cherry picked from commit e5c2899e04b4dcc0f1b166aa3bcfdbcee32e16eb) (cherry picked from commit ba2766fb64dec44cc77a5f0ab939a3271b4830b2) --- .../lib/ownership/keys/dummy/BUILD | 30 ++++++++++++++++++ .../keys/dummy/activate_ecdsa_p256.der | Bin 0 -> 138 bytes .../keys/dummy/activate_ecdsa_p256.pub.der | Bin 0 -> 91 bytes .../keys/dummy/app_prod_rsa_3072_exp_f4.der | Bin 0 -> 1793 bytes .../dummy/app_prod_rsa_3072_exp_f4.pub.der | Bin 0 -> 398 bytes .../ownership/keys/dummy/owner_ecdsa_p256.der | Bin 0 -> 138 bytes .../keys/dummy/owner_ecdsa_p256.pub.der | Bin 0 -> 91 bytes .../keys/dummy/unlock_ecdsa_p256.der | Bin 0 -> 138 bytes .../keys/dummy/unlock_ecdsa_p256.pub.der | Bin 0 -> 91 bytes 9 files changed, 30 insertions(+) create mode 100644 sw/device/silicon_creator/lib/ownership/keys/dummy/BUILD create mode 100644 sw/device/silicon_creator/lib/ownership/keys/dummy/activate_ecdsa_p256.der create mode 100644 sw/device/silicon_creator/lib/ownership/keys/dummy/activate_ecdsa_p256.pub.der create mode 100644 sw/device/silicon_creator/lib/ownership/keys/dummy/app_prod_rsa_3072_exp_f4.der create mode 100644 sw/device/silicon_creator/lib/ownership/keys/dummy/app_prod_rsa_3072_exp_f4.pub.der create mode 100644 sw/device/silicon_creator/lib/ownership/keys/dummy/owner_ecdsa_p256.der create mode 100644 sw/device/silicon_creator/lib/ownership/keys/dummy/owner_ecdsa_p256.pub.der create mode 100644 sw/device/silicon_creator/lib/ownership/keys/dummy/unlock_ecdsa_p256.der create mode 100644 sw/device/silicon_creator/lib/ownership/keys/dummy/unlock_ecdsa_p256.pub.der diff --git a/sw/device/silicon_creator/lib/ownership/keys/dummy/BUILD b/sw/device/silicon_creator/lib/ownership/keys/dummy/BUILD new file mode 100644 index 0000000000000..c143892271503 --- /dev/null +++ b/sw/device/silicon_creator/lib/ownership/keys/dummy/BUILD @@ -0,0 +1,30 @@ +# Copyright lowRISC contributors (OpenTitan project). +# Licensed under the Apache License, Version 2.0, see LICENSE for details. +# SPDX-License-Identifier: Apache-2.0 + +package(default_visibility = ["//visibility:public"]) + +filegroup( + name = "owner_key", + srcs = ["owner_ecdsa_p256.der"], +) + +filegroup( + name = "activate_key", + srcs = ["activate_ecdsa_p256.der"], +) + +filegroup( + name = "unlock_key", + srcs = ["unlock_ecdsa_p256.der"], +) + +filegroup( + name = "app_prod", + srcs = ["app_prod_rsa_3072_exp_f4.der"], +) + +filegroup( + name = "app_prod_pub", + srcs = ["app_prod_rsa_3072_exp_f4.pub.der"], +) diff --git a/sw/device/silicon_creator/lib/ownership/keys/dummy/activate_ecdsa_p256.der b/sw/device/silicon_creator/lib/ownership/keys/dummy/activate_ecdsa_p256.der new file mode 100644 index 0000000000000000000000000000000000000000..c0b4b4bd7472f97057ed9c41c0690e1ffbfbd9d9 GIT binary patch literal 138 zcmXqLY-eI*Fc4;A*J|@PXUoLM#sOw9GqSVf8e}suGO{QHf3Ml_vCqJAiI!K_%FsW1 zCpg_rc6ZZq5BR)VonxO<=t37}CkB?{ce?QymtxK3nhO9#ZhWRzsj*$gwQr4XQ{}NMXC6JsvhRKq|4@1Mu0jB)yEl*k literal 0 HcmV?d00001 diff --git a/sw/device/silicon_creator/lib/ownership/keys/dummy/activate_ecdsa_p256.pub.der b/sw/device/silicon_creator/lib/ownership/keys/dummy/activate_ecdsa_p256.pub.der new file mode 100644 index 0000000000000000000000000000000000000000..02b30b3a5fa1e7027946453e9ffc8981a6aac2f3 GIT binary patch literal 91 zcmXqrG!SNE*J|@PXUoLM#sOw9GqN)~F|ZWB(=~PSjb?nA>ad{o*?J%MxFX@^U+K>0 u^jR7wX`g)M)cN>#<1@8NjqNh7eQR`^Dvw<`^XNgAefOLAhsv{e6#@WwE+vcr literal 0 HcmV?d00001 diff --git a/sw/device/silicon_creator/lib/ownership/keys/dummy/app_prod_rsa_3072_exp_f4.der b/sw/device/silicon_creator/lib/ownership/keys/dummy/app_prod_rsa_3072_exp_f4.der new file mode 100644 index 0000000000000000000000000000000000000000..a41d54d309f0ffb238dbdd2ec47578cf94f419c2 GIT binary patch literal 1793 zcmV+c2mbglf(HEp0RS)!1_>&LNQUt=P-f>;{pKy0)hd70MSXoTiD$E zrB?!jrV7$K;JC*BDwCu3u9rrXGWh4y%Yn-3K>@z2ZfR0G&r40l`^&E2sq(ngQvki8 zyEdJ37?_3E#iHhA^6h!Kul@8pvXClv0HxOYLlq7xZ z#HC3MUhH+IxgUb8LpEXRhxFCn*(R4MJiVwDBtJQIcVcv?yIx9Y{*j!j@)gJYClj`nj2aAYcBi$9QEQuD0Ls zSC(~|?x9-lC5JPvMYQ6#9ejvcjzsZ^ibqDSRD}dKkF?VtFxj+InqS<(#_0~F9<5-F zR!Jk1Zt43^mC=CBQvw44009Dm0e}M%bQUKL$6lTCS%6%0O^~$ZrsX#omkVVH5--(T zfzDv>Ta@gxq0EyTGwF>FZ8lK-7Aq)r@)qsU+Q;U*RPQZ)`F7hkN|Vq`lOHrW8;?11 zh8*ZpNr;AgReB`Wr!*S!UQA+Q$LQ|>Gv$%CbOFwSpET7R8}Jh0$FY@nXJtKmH5ua} zK`?$UF^^Uq2;0RUJhqdb?&n}L5Vuj8=)G0*%Rle6EYA_;fHwniWtr~yZ2INvCB$yP z!LJtdk)NcgN%*Iss8#6YFEToDLeAXD3YC5&hVf4P(k+e|RN!qRG510fmEAUH;bqq= z15O&I!g+xR;OnZX9?>&)oqJ+1b5}ive7xA_)=7V8E)jP2JcN)^)y~C{rHI9Pa!;bx z@bwV{kJfobR1y%H#)3pLph@>;=;ot-f6oP?Z#SZR@8ZI`{_mn1uLC?Na}%%b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ator/lib/ownership/keys/dummy/owner_ecdsa_p256.der new file mode 100644 index 0000000000000000000000000000000000000000..8134d7740a9273af219f2ecdb1430bb0c9ef3017 GIT binary patch literal 138 zcmXqLY-eI*Fc4;A*J|@PXUoLM#sOw9GqSVf8e}suGO{R0bhX^((s`Nq?{RO>!s#iR z8ZQGJ+@`AeD?a?mxG_X$-$EB=Ck7VHMWNa9j_NDB3La>$O74tga{iX#yWit7+c68q qwD_-&U(B6z+*U~OpkLH$i8s+JyjV*Gl#-aTk6mzg2-@NjR004=oHFbH literal 0 HcmV?d00001 diff --git a/sw/device/silicon_creator/lib/ownership/keys/dummy/owner_ecdsa_p256.pub.der b/sw/device/silicon_creator/lib/ownership/keys/dummy/owner_ecdsa_p256.pub.der new file mode 100644 index 0000000000000000000000000000000000000000..a199a167415e858b9d6183a4514fca3579b924a0 GIT binary patch literal 91 zcmXqrG!SNE*J|@PXUoLM#sOw9GqN)~F|cSZ3eA>xRA1Ru@IZT2a%Uuy^S2D&{T`Ru tj#)6K#eaSLV(y&dwnB;r{i0q=yop}n#ab$$l*E*M?1H;P&=!}V5&$pcAq4;c literal 0 HcmV?d00001 diff --git a/sw/device/silicon_creator/lib/ownership/keys/dummy/unlock_ecdsa_p256.der b/sw/device/silicon_creator/lib/ownership/keys/dummy/unlock_ecdsa_p256.der new file mode 100644 index 0000000000000000000000000000000000000000..a52254cb97137d9d51294d4a222b0be31684ec9a GIT binary patch literal 138 zcmV;50CoQ`frkPC05B5<2P%e0&OHJF1_&yKNX|V20S5$aFlzz<0R$k4Wyn6UJK(k{ z$#L6r5IjU6U(+<0Zm#R}ovbC67*uL={Grzwr1&SgQa5MRU7~SR3*Lu literal 0 HcmV?d00001