diff options
author | Jeff Fan <jeff.fan@intel.com> | 2015-08-25 06:37:27 +0000 |
---|---|---|
committer | vanjeff <vanjeff@Edk2> | 2015-08-25 06:37:27 +0000 |
commit | 669f2b584dd5baf58bdef8b0ca54f182c5f5d430 (patch) | |
tree | e320afea08e3b299718826a2e81b0ede56fdf3e1 /CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaExt.c | |
parent | dcfa39fd63a76c504a69ee87a68d7faa3e5638f7 (diff) | |
download | edk2-UDK2010.SR1.tar.gz edk2-UDK2010.SR1.tar.bz2 edk2-UDK2010.SR1.zip |
Copy head(r18255) from main trunk excluding UNI files.UDK2010.SR1
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <jeff.fan@intel.com>
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/branches/UDK2010.SR1@18304 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaExt.c')
-rw-r--r-- | CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaExt.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaExt.c b/CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaExt.c index 5c21d121f5..b890704a2e 100644 --- a/CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaExt.c +++ b/CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaExt.c @@ -243,7 +243,9 @@ _Exit: }
/**
- Validates key components of RSA context.
+ Validates key components of RSA context.
+ NOTE: This function performs integrity checks on all the RSA key material, so
+ the RSA key structure must contain all the private key data.
This function validates key compoents of RSA context in following aspects:
- Whether p is a prime
|