Home
last modified time | relevance | path

Searched refs:pCipherSetupData (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/dev/qat/qat_api/common/crypto/sym/
H A Dlac_sym_cipher.c220 LacCipher_SessionSetupDataCheck(const CpaCySymCipherSetupData *pCipherSetupData, in LacCipher_SessionSetupDataCheck() argument
224 if (!LAC_CIPHER_IS_NULL(pCipherSetupData->cipherAlgorithm)) { in LacCipher_SessionSetupDataCheck()
225 LAC_CHECK_NULL_PARAM(pCipherSetupData->pCipherKey); in LacCipher_SessionSetupDataCheck()
228 switch (pCipherSetupData->cipherAlgorithm) { in LacCipher_SessionSetupDataCheck()
230 if (pCipherSetupData->cipherKeyLenInBytes > in LacCipher_SessionSetupDataCheck()
239 pCipherSetupData->cipherKeyLenInBytes != in LacCipher_SessionSetupDataCheck()
247 if ((pCipherSetupData->cipherKeyLenInBytes != in LacCipher_SessionSetupDataCheck()
249 (pCipherSetupData->cipherKeyLenInBytes != in LacCipher_SessionSetupDataCheck()
251 (pCipherSetupData->cipherKeyLenInBytes != in LacCipher_SessionSetupDataCheck()
253 (pCipherSetupData->cipherKeyLenInBytes != in LacCipher_SessionSetupDataCheck()
[all …]
H A Dlac_sym_api.c140 const CpaCySymCipherSetupData *const pCipherSetupData = in LacSymSession_ParamCheck() local
158 if (pCipherSetupData->cipherAlgorithm >= in LacSymSession_ParamCheck()
164 pCipherSetupData->cipherAlgorithm)) { in LacSymSession_ParamCheck()
196 pCipherSetupData->cipherAlgorithm) && in LacSymSession_ParamCheck()
200 pCipherSetupData->cipherAlgorithm))) { in LacSymSession_ParamCheck()
209 pCipherSetupData->cipherAlgorithm) && in LacSymSession_ParamCheck()
215 pCipherSetupData->cipherAlgorithm))) { in LacSymSession_ParamCheck()
223 pCipherSetupData->cipherAlgorithm && in LacSymSession_ParamCheck()
233 pCipherSetupData->cipherAlgorithm)) { in LacSymSession_ParamCheck()
241 pCipherSetupData->cipherAlgorithm) && in LacSymSession_ParamCheck()
[all …]
/freebsd/sys/dev/qat/qat_api/common/crypto/sym/qat/
H A Dlac_sym_qat_cipher.c642 const CpaCySymCipherSetupData *pCipherSetupData, in LacSymQat_CipherHwBlockPopulateKeySetup() argument
649 Cpa32U actualKeyLenInBytes = pCipherSetupData->cipherKeyLenInBytes; in LacSymQat_CipherHwBlockPopulateKeySetup()
655 if (!(LAC_CIPHER_IS_ARC4(pCipherSetupData->cipherAlgorithm) || in LacSymQat_CipherHwBlockPopulateKeySetup()
656 LAC_CIPHER_IS_NULL(pCipherSetupData->cipherAlgorithm))) { in LacSymQat_CipherHwBlockPopulateKeySetup()
673 pCipherSetupData->pCipherKey, in LacSymQat_CipherHwBlockPopulateKeySetup()
682 switch (pCipherSetupData->cipherAlgorithm) { in LacSymQat_CipherHwBlockPopulateKeySetup()
688 (Cpa32U *)pCipherSetupData->pCipherKey; in LacSymQat_CipherHwBlockPopulateKeySetup()
748 pCipherSetupData->cipherKeyLenInBytes / 2; in LacSymQat_CipherHwBlockPopulateKeySetup()
750 pCipherSetupData->pCipherKey, in LacSymQat_CipherHwBlockPopulateKeySetup()
760 pCipherSetupData->pCipherKey + key_len, in LacSymQat_CipherHwBlockPopulateKeySetup()
[all …]
/freebsd/sys/dev/qat/qat_api/common/crypto/sym/include/
H A Dlac_sym_cipher.h257 LacCipher_SessionSetupDataCheck(const CpaCySymCipherSetupData *pCipherSetupData,
H A Dlac_sym_qat_cipher.h295 const CpaCySymCipherSetupData *pCipherSetupData,