public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Agrawal, Sachin" <sachin.agrawal@intel.com>
To: devel@edk2.groups.io
Cc: Jiewen Yao <jiewen.yao@intel.com>,
	Jian J Wang <jian.j.wang@intel.com>,
	Xiaoyu Lu <xiaoyux.lu@intel.com>,
	Guomin Jiang <guomin.jiang@intel.com>
Subject: [PATCH v1 0/1] CryptoPkg: Update Salt length requirement for RSA-PSS scheme.
Date: Mon, 14 Jun 2021 08:30:42 -0700	[thread overview]
Message-ID: <20210614153043.2500-1-sachin.agrawal@intel.com> (raw)

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3455

This patch enforces salt length to be equal to digest length for RSA PSS encoding scheme.

https://github.com/sagraw2/edk2/tree/pss_salt_len

Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Xiaoyu Lu <xiaoyux.lu@intel.com>
Cc: Guomin Jiang <guomin.jiang@intel.com>

Sachin Agrawal (1):
  CryptoPkg: BaseCryptLib: Update Salt length requirement for RSA-PSS
    scheme.

 CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaPss.c             |  4 ++--
 CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaPssNull.c         |  2 +-
 CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaPssSign.c         |  4 ++--
 CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaPssSignNull.c     |  2 +-
 CryptoPkg/Library/BaseCryptLibNull/Pk/CryptRsaPssNull.c     |  2 +-
 CryptoPkg/Library/BaseCryptLibNull/Pk/CryptRsaPssSignNull.c |  2 +-
 CryptoPkg/Library/BaseCryptLibOnProtocolPpi/CryptLib.c      | 10 +++++++++-
 CryptoPkg/Include/Library/BaseCryptLib.h                    |  4 ++--
 CryptoPkg/Private/Protocol/Crypto.h                         |  4 ++--
 9 files changed, 21 insertions(+), 13 deletions(-)

-- 
2.14.3.windows.1


             reply	other threads:[~2021-06-14 15:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-14 15:30 Agrawal, Sachin [this message]
2021-06-14 15:30 ` [PATCH v1 1/1] CryptoPkg: BaseCryptLib: Update Salt length requirement for RSA-PSS scheme Agrawal, Sachin
2021-06-15  0:35   ` Yao, Jiewen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210614153043.2500-1-sachin.agrawal@intel.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox