summaryrefslogtreecommitdiff
path: root/CryptoPkg/Library/BaseCryptLibMbedTls/Pk/CryptX509Null.c
diff options
context:
space:
mode:
authorWenxing Hou <wenxing.hou@intel.com>2024-06-20 10:44:10 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-06-26 07:48:42 +0000
commitdc002d4f2d76bdd826359a3dd608d9bc621fcb47 (patch)
tree869108ecf3050ec55c033fc412f8cefd68b1a23e /CryptoPkg/Library/BaseCryptLibMbedTls/Pk/CryptX509Null.c
parent78bccfec9ce5082499db035270e7998d5330d75c (diff)
downloadedk2-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/Library/BaseCryptLibMbedTls/Pk/CryptX509Null.c')
-rw-r--r--CryptoPkg/Library/BaseCryptLibMbedTls/Pk/CryptX509Null.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/CryptoPkg/Library/BaseCryptLibMbedTls/Pk/CryptX509Null.c b/CryptoPkg/Library/BaseCryptLibMbedTls/Pk/CryptX509Null.c
index 96356f8..b927a6a 100644
--- a/CryptoPkg/Library/BaseCryptLibMbedTls/Pk/CryptX509Null.c
+++ b/CryptoPkg/Library/BaseCryptLibMbedTls/Pk/CryptX509Null.c
@@ -489,7 +489,7 @@ X509GetExtensionData (
@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.
@@ -641,12 +641,12 @@ X509GetKeyUsage (
@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.
**/
@@ -668,9 +668,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.
@@ -725,7 +725,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.