From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga17.intel.com (mga17.intel.com []) by mx.groups.io with SMTP id smtpd.web09.31774.1623684646895862775 for ; Mon, 14 Jun 2021 08:30:47 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=fail (domain: intel.com, ip: , mailfrom: sachin.agrawal@intel.com) IronPort-SDR: vQLU90i0jyW0CmjQH0dg1LCttpF9DCY/ZbB2orlkztc39sJiE/v3fjYVHDDgsMs/bP+nnFbdWj kd1v0O8mfaPA== X-IronPort-AV: E=McAfee;i="6200,9189,10015"; a="186202916" X-IronPort-AV: E=Sophos;i="5.83,273,1616482800"; d="scan'208";a="186202916" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Jun 2021 08:30:45 -0700 IronPort-SDR: QAOSSt3rn1Q4HeprzE4W/gPyss1CBQnPC0n65TZCfEx7Zr5haF3qZCn0ig1KWOAdmIP8dXK+rs nfYRNuLR5LaA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.83,273,1616482800"; d="scan'208";a="487433826" Received: from sagraw2-desk1.amr.corp.intel.com ([10.72.4.190]) by fmsmga002.fm.intel.com with ESMTP; 14 Jun 2021 08:30:44 -0700 From: "Agrawal, Sachin" To: devel@edk2.groups.io Cc: Jiewen Yao , Jian J Wang , Xiaoyu Lu , Guomin Jiang Subject: [PATCH v1 0/1] CryptoPkg: Update Salt length requirement for RSA-PSS scheme. Date: Mon, 14 Jun 2021 08:30:42 -0700 Message-Id: <20210614153043.2500-1-sachin.agrawal@intel.com> X-Mailer: git-send-email 2.14.3.windows.1 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 Cc: Jian J Wang Cc: Xiaoyu Lu Cc: Guomin Jiang 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