diff options
author | Wenxing Hou <wenxing.hou@intel.com> | 2024-06-20 10:44:10 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-06-26 07:48:42 +0000 |
commit | dc002d4f2d76bdd826359a3dd608d9bc621fcb47 (patch) | |
tree | 869108ecf3050ec55c033fc412f8cefd68b1a23e /CryptoPkg/Include/Library/BaseCryptLib.h | |
parent | 78bccfec9ce5082499db035270e7998d5330d75c (diff) | |
download | edk2-dc002d4f2d76bdd826359a3dd608d9bc621fcb47.zip edk2-dc002d4f2d76bdd826359a3dd608d9bc621fcb47.tar.gz edk2-dc002d4f2d76bdd826359a3dd608d9bc621fcb47.tar.bz2 |
CryptoPkg: Fix wrong comment for CryptoPkg
Fix the wrong comment.
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Yi Li <yi1.li@intel.com>
Signed-off-by: Wenxing Hou <wenxing.hou@intel.com>
Diffstat (limited to 'CryptoPkg/Include/Library/BaseCryptLib.h')
-rw-r--r-- | CryptoPkg/Include/Library/BaseCryptLib.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/CryptoPkg/Include/Library/BaseCryptLib.h b/CryptoPkg/Include/Library/BaseCryptLib.h index ac5841f..95e4142 100644 --- a/CryptoPkg/Include/Library/BaseCryptLib.h +++ b/CryptoPkg/Include/Library/BaseCryptLib.h @@ -2843,7 +2843,7 @@ X509GetKeyUsage ( @param[in] Cert Pointer to the DER-encoded X509 certificate.
@param[in] CertSize Size of the X509 certificate in bytes.
@param[out] Usage Key Usage bytes.
- @param[in, out] UsageSize Key Usage buffer sizs in bytes.
+ @param[in, out] UsageSize Key Usage buffer size in bytes.
@retval TRUE The Usage bytes retrieve successfully.
@retval FALSE If Cert is NULL.
@@ -2870,12 +2870,12 @@ X509GetExtendedKeyUsage ( @param[in] RootCertLength Trusted Root Certificate buffer length
@param[in] CertChain One or more ASN.1 DER-encoded X.509 certificates
where the first certificate is signed by the Root
- Certificate or is the Root Cerificate itself. and
- subsequent cerificate is signed by the preceding
- cerificate.
+ Certificate or is the Root Certificate itself. and
+ subsequent certificate is signed by the preceding
+ certificate.
@param[in] CertChainLength Total length of the certificate chain, in bytes.
- @retval TRUE All cerificates was issued by the first certificate in X509Certchain.
+ @retval TRUE All certificates was issued by the first certificate in X509Certchain.
@retval FALSE Invalid certificate or the certificate was not issued by the given
trusted CA.
**/
@@ -2893,9 +2893,9 @@ X509VerifyCertChain ( @param[in] CertChain One or more ASN.1 DER-encoded X.509 certificates
where the first certificate is signed by the Root
- Certificate or is the Root Cerificate itself. and
- subsequent cerificate is signed by the preceding
- cerificate.
+ Certificate or is the Root Certificate itself. and
+ subsequent certificate is signed by the preceding
+ certificate.
@param[in] CertChainLength Total length of the certificate chain, in bytes.
@param[in] CertIndex Index of certificate. If index is -1 indecate the
@@ -2943,7 +2943,7 @@ Asn1GetTag ( @param[in] Cert Pointer to the DER-encoded X509 certificate.
@param[in] CertSize size of the X509 certificate in bytes.
@param[out] BasicConstraints basic constraints bytes.
- @param[in, out] BasicConstraintsSize basic constraints buffer sizs in bytes.
+ @param[in, out] BasicConstraintsSize basic constraints buffer size in bytes.
@retval TRUE The basic constraints retrieve successfully.
@retval FALSE If cert is NULL.
|