linux-tegra.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [tegrarcm PATCH V2 0/4] Add support for flashing PKC secured board
@ 2016-03-12  1:02 Jimmy Zhang
       [not found] ` <1457744552-30966-1-git-send-email-jimmzhang-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 14+ messages in thread
From: Jimmy Zhang @ 2016-03-12  1:02 UTC (permalink / raw)
  To: amartin-DDmLM1+adcrQT0dZR+AlfA, swarren-DDmLM1+adcrQT0dZR+AlfA,
	alban.bedel-RM9K5IK7kjKj5M59NBduVrNAH6kLmebB
  Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA, Jimmy Zhang

V2:
1. Redefined sign and download command line parameters as below:
    generate signed messages: --gen-signed-msgs --signed-msgs-file <msgs.bin>
    download signed messages: --download-signed-msgs --signed-msgs-file <msgs.bin>
2. Added option --soc=<soc#> to specify tegra soc model number so that generating
   signed messages can be proceeded without accessing hardware.
3. Re-enabled cmac_hash when generating signed messages so that signed messages
   can also run on an unsecured board.
4. Download bootloader's pkc signature only when the board is in secured pkc mode.
5. Added error check on key length.
6. Added option --usb-timeout to allow user to specify usb transfer timeout value.

V1:
1. Use option "--pkc" to sign and download bootloader. This option is
   designed for developer. Patch 0001-Add-option-pkc.patch was originally
   submitted by Alban Bedel.
2. Use option "--ml_rcm" and "--pkc" to sign rcm messages and bootloader.
   This signing only feature is intended for production where signging
   is done at secured server and flashing can be done at different stage and
   site without requiring keyfile being present. 
3. Use option "--signed" to specify and download signed rcm messages.
   This option is used for flashing on fused board. ie, a system with
   security mode enabled.

Alban Bedel (1):
  Add support for production devices secured with PKC

Jimmy Zhang (3):
  Add option --gen-signed-msgs and --signed-msgs-file to generate signed
    blobs
  Add option --download-signed-msgs to download signed blobs
  Add option --usb-timeout=<value>

 src/Makefile.am |   2 +
 src/main.c      | 535 +++++++++++++++++++++++++++++++++++++++++++++++++-------
 src/rcm.c       |  16 +-
 src/rcm.h       |  13 +-
 src/rsa-pss.cpp | 163 +++++++++++++++++
 src/rsa-pss.h   |  46 +++++
 src/usb.c       |   5 +-
 7 files changed, 713 insertions(+), 67 deletions(-)
 create mode 100644 src/rsa-pss.cpp
 create mode 100644 src/rsa-pss.h

-- 
1.9.1

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2016-03-15 16:20 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-12  1:02 [tegrarcm PATCH V2 0/4] Add support for flashing PKC secured board Jimmy Zhang
     [not found] ` <1457744552-30966-1-git-send-email-jimmzhang-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2016-03-12  1:02   ` [tegrarcm PATCH V2 1/4] Add support for production devices secured with PKC Jimmy Zhang
     [not found]     ` <1457744552-30966-2-git-send-email-jimmzhang-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2016-03-14 18:39       ` Stephen Warren
     [not found]         ` <56E70576.3050000-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2016-03-15  0:51           ` Jimmy Zhang
     [not found]             ` <f0f79d636da2412f8dad980e4114a4c8-wO81nVYWzR7YuxH7O460wFaTQe2KTcn/@public.gmane.org>
2016-03-15 16:20               ` Stephen Warren
2016-03-12  1:02   ` [tegrarcm PATCH V2 2/4] Add option --gen-signed-msgs and --signed-msgs-file to generate signed blobs Jimmy Zhang
     [not found]     ` <1457744552-30966-3-git-send-email-jimmzhang-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2016-03-14 18:58       ` Stephen Warren
2016-03-12  1:02   ` [tegrarcm PATCH V2 3/4] Add option --download-signed-msgs to download " Jimmy Zhang
     [not found]     ` <1457744552-30966-4-git-send-email-jimmzhang-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2016-03-14 19:17       ` Stephen Warren
     [not found]         ` <56E70E4F.80307-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2016-03-14 20:01           ` Jimmy Zhang
     [not found]             ` <41214cca62234ce1b7f238fa8fcb71aa-wO81nVYWzR7YuxH7O460wFaTQe2KTcn/@public.gmane.org>
2016-03-14 20:16               ` Stephen Warren
     [not found]                 ` <56E71C30.7030503-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2016-03-14 20:24                   ` Jimmy Zhang
2016-03-12  1:02   ` [tegrarcm PATCH V2 4/4] Add option --usb-timeout=<value> Jimmy Zhang
     [not found]     ` <1457744552-30966-5-git-send-email-jimmzhang-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2016-03-14 18:31       ` Stephen Warren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).