New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 663631 link

Starred by 1 user

Issue metadata

Status: Archived
Owner:
Closed: Nov 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

EC: Add support for exponent 3 RSA keys

Project Member Reported by drinkcat@chromium.org, Nov 9 2016

Issue description

EC codebase normally uses exponent F4/65537 for its RSA keys, which is much slower than exponent 3 (4-5 times slower according to simple experiments).

Let's add support for exponent 3, for cases where boot-time verification time is critical.
 
Project Member

Comment 2 by bugdroid1@chromium.org, Nov 11 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/platform/ec/+/ef0f355e476b02dc74d99c25881d77488798e9bc

commit ef0f355e476b02dc74d99c25881d77488798e9bc
Author: Nicolas Boichat <drinkcat@google.com>
Date: Mon Nov 07 07:17:53 2016

common/rsa: Add support for exponent 3 RSA keys

These keys are much quicker to verify (259ms to 51ms on a -M0 at
48 Mhz), so they can be used when timing is critical and
verification needs to be performed on the board.

BRANCH=none
BUG= chromium:663631 
TEST=make buildall -j && make run-rsa
TEST=make run-rsa3 (next commit)

Change-Id: I0da4b3e21543bb6f7b18e8b6ddc5e153046a61b8
Reviewed-on: https://chromium-review.googlesource.com/408006
Commit-Ready: Nicolas Boichat <drinkcat@chromium.org>
Tested-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>

[modify] https://crrev.com/ef0f355e476b02dc74d99c25881d77488798e9bc/common/rsa.c
[modify] https://crrev.com/ef0f355e476b02dc74d99c25881d77488798e9bc/include/config.h

Project Member

Comment 3 by bugdroid1@chromium.org, Nov 11 2016

Status: Fixed (was: Started)

Comment 5 by dchan@google.com, Jan 21 2017

Labels: VerifyIn-57

Comment 6 by dchan@google.com, Mar 4 2017

Labels: VerifyIn-58

Comment 7 by dchan@google.com, Apr 17 2017

Labels: VerifyIn-59

Comment 8 by dchan@google.com, May 30 2017

Labels: VerifyIn-60

Comment 9 by dchan@chromium.org, Aug 1 2017

Labels: VerifyIn-61

Comment 10 by dchan@chromium.org, Oct 14 2017

Status: Archived (was: Fixed)

Sign in to add a comment