git: c07d6445eb89 - main - qat(4): Fix common typos in source code comments
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 11 Jan 2023 12:28:08 UTC
The branch main has been updated by gbe (doc committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=c07d6445eb89d9dd3950361b065b7bd110e3a043
commit c07d6445eb89d9dd3950361b065b7bd110e3a043
Author: Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2023-01-11 12:27:56 +0000
Commit: Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2023-01-11 12:27:56 +0000
qat(4): Fix common typos in source code comments
- s/desciptor/descriptor/
MFC after: 3 days
---
sys/dev/qat/qat_api/common/crypto/sym/include/lac_sym_hash.h | 4 ++--
sys/dev/qat/qat_api/common/crypto/sym/lac_sym_alg_chain.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/sys/dev/qat/qat_api/common/crypto/sym/include/lac_sym_hash.h b/sys/dev/qat/qat_api/common/crypto/sym/include/lac_sym_hash.h
index b2cd7bcd0b8c..4451e91ea5d6 100644
--- a/sys/dev/qat/qat_api/common/crypto/sym/include/lac_sym_hash.h
+++ b/sys/dev/qat/qat_api/common/crypto/sym/include/lac_sym_hash.h
@@ -442,7 +442,7 @@ CpaStatus LacHash_PerformParamCheck(CpaInstanceHandle instanceHandle,
* This function sends 2 requests to the CPM for the hmac precompute
* operations. The results of the ipad and opad state calculation
* is copied into pState1 and pState2 (e.g. these may be the state1 and
-* state2 buffers in a hash content desciptor) and when
+* state2 buffers in a hash content descriptor) and when
* the final operation has completed the condition passed as a param to
* this function is set to true.
*
@@ -525,7 +525,7 @@ CpaStatus LacSymHash_AesECBPreCompute(CpaInstanceHandle instanceHandle,
*
* @description
* This function registers the precompute callback handler function, which
-* is different to the default one used by symmetric. Content desciptors
+* is different to the default one used by symmetric. Content descriptors
* are preallocted for the hmac precomputes as they are constant for these
* operations.
*
diff --git a/sys/dev/qat/qat_api/common/crypto/sym/lac_sym_alg_chain.c b/sys/dev/qat/qat_api/common/crypto/sym/lac_sym_alg_chain.c
index c2d30c77eeab..da8b1ca4b91b 100644
--- a/sys/dev/qat/qat_api/common/crypto/sym/lac_sym_alg_chain.c
+++ b/sys/dev/qat/qat_api/common/crypto/sym/lac_sym_alg_chain.c
@@ -849,7 +849,7 @@ LacAlgChain_SessionInit(const CpaInstanceHandle instanceHandle,
* constants and an optimised content descriptor. we have to do this in
*case
* of partials.
- * 64 byte content desciptor is used in the SHRAM case for
+ * 64 byte content descriptor is used in the SHRAM case for
*AES-128-HMAC-SHA1
*-----------------------------------------------------------------------*/
if (CPA_STATUS_SUCCESS == status) {