Home
last modified time | relevance | path

Searched refs:hashAlgorithm (Results 1 – 25 of 30) sorted by relevance

12

/freebsd/sys/dev/qat/qat_api/common/crypto/sym/
H A Dlac_sym_hash.c145 CpaCySymHashAlgorithm hashAlgorithm = in LacHash_PrecomputeDataCreate() local
146 pSessionSetup->hashSetupData.hashAlgorithm; in LacHash_PrecomputeDataCreate()
206 if (CPA_CY_SYM_HASH_AES_XCBC == hashAlgorithm) { in LacHash_PrecomputeDataCreate()
208 hashAlgorithm, in LacHash_PrecomputeDataCreate()
215 } else if (CPA_CY_SYM_HASH_AES_CMAC == hashAlgorithm) { in LacHash_PrecomputeDataCreate()
220 hashAlgorithm, in LacHash_PrecomputeDataCreate()
227 } else if (CPA_CY_SYM_HASH_AES_CCM == hashAlgorithm) { in LacHash_PrecomputeDataCreate()
261 } else if (CPA_CY_SYM_HASH_AES_GCM == hashAlgorithm || in LacHash_PrecomputeDataCreate()
262 CPA_CY_SYM_HASH_AES_GMAC == hashAlgorithm) { in LacHash_PrecomputeDataCreate()
282 hashAlgorithm, in LacHash_PrecomputeDataCreate()
[all …]
H A Dlac_sym_api.c58 hashAlgorithm, \ argument
62 CPA_CY_SYM_HASH_AES_CMAC == hashAlgorithm) || \
66 CPA_CY_SYM_HASH_SNOW3G_UIA2 == hashAlgorithm) || \
70 CPA_CY_SYM_HASH_ZUC_EIA3 == hashAlgorithm)) && \
178 if (pHashSetupData->hashAlgorithm >= in LacSymSession_ParamCheck()
184 pHashSetupData->hashAlgorithm)) { in LacSymSession_ParamCheck()
197 (CPA_CY_SYM_HASH_POLY != pHashSetupData->hashAlgorithm)) || in LacSymSession_ParamCheck()
198 ((CPA_CY_SYM_HASH_POLY == pHashSetupData->hashAlgorithm) && in LacSymSession_ParamCheck()
211 pHashSetupData->hashAlgorithm)) || in LacSymSession_ParamCheck()
213 pHashSetupData->hashAlgorithm) && in LacSymSession_ParamCheck()
[all …]
H A Dlac_sym_dp.c104 (CPA_CY_SYM_HASH_POLY == pSessionDesc->hashAlgorithm) && in LacDp_EnqueueParamCheck()
258 hash = pSessionDesc->hashAlgorithm; in LacDp_EnqueueParamCheck()
270 pSessionDesc->hashAlgorithm)) { in LacDp_EnqueueParamCheck()
291 if ((CPA_CY_SYM_HASH_AES_CCM == pSessionDesc->hashAlgorithm) || in LacDp_EnqueueParamCheck()
292 (CPA_CY_SYM_HASH_AES_GCM == pSessionDesc->hashAlgorithm && in LacDp_EnqueueParamCheck()
301 pSessionDesc->hashAlgorithm || in LacDp_EnqueueParamCheck()
303 pSessionDesc->hashAlgorithm) { in LacDp_EnqueueParamCheck()
311 if ((CPA_CY_SYM_HASH_AES_CCM != pSessionDesc->hashAlgorithm) && in LacDp_EnqueueParamCheck()
318 if (CPA_CY_SYM_HASH_AES_CCM == pSessionDesc->hashAlgorithm) { in LacDp_EnqueueParamCheck()
330 pSessionDesc->hashAlgorithm) { in LacDp_EnqueueParamCheck()
[all …]
H A Dlac_sym_hash_sw_precomputes.c47 LacSymHash_Compute(CpaCySymHashAlgorithm hashAlgorithm, in LacSymHash_Compute() argument
60 switch (hashAlgorithm) { in LacSymHash_Compute()
136 CpaCySymHashAlgorithm hashAlgorithm, in LacSymHash_HmacPreComputes() argument
163 hashAlgorithm, in LacSymHash_HmacPreComputes()
195 status = LacSymHash_Compute(hashAlgorithm, in LacSymHash_HmacPreComputes()
201 status = LacSymHash_Compute(hashAlgorithm, in LacSymHash_HmacPreComputes()
215 CpaCySymHashAlgorithm hashAlgorithm, in LacSymHash_AesECBPreCompute() argument
227 if (CPA_CY_SYM_HASH_AES_XCBC == hashAlgorithm) { in LacSymHash_AesECBPreCompute()
231 hashAlgorithm, in LacSymHash_AesECBPreCompute()
246 } else if (CPA_CY_SYM_HASH_AES_CMAC == hashAlgorithm) { in LacSymHash_AesECBPreCompute()
[all …]
H A Dlac_sym_alg_chain.c152 switch (pSessionDesc->hashAlgorithm) { in LacSymCheck_IsPartialSupported()
583 sessionSetup.hashSetupData.hashAlgorithm = pSessionDesc->hashAlgorithm; in LacAlgChain_SessionAuthKeyUpdate()
638 if (CPA_CY_SYM_HASH_SHA3_256 == pSessionDesc->hashAlgorithm) { in LacAlgChain_SessionAuthKeyUpdate()
656 } else if (CPA_CY_SYM_HASH_SNOW3G_UIA2 == pSessionDesc->hashAlgorithm) { in LacAlgChain_SessionAuthKeyUpdate()
659 } else if (CPA_CY_SYM_HASH_ZUC_EIA3 == pSessionDesc->hashAlgorithm || in LacAlgChain_SessionAuthKeyUpdate()
660 CPA_CY_SYM_HASH_AES_CBC_MAC == pSessionDesc->hashAlgorithm) { in LacAlgChain_SessionAuthKeyUpdate()
662 } else if (CPA_CY_SYM_HASH_AES_CMAC == pSessionDesc->hashAlgorithm || in LacAlgChain_SessionAuthKeyUpdate()
663 CPA_CY_SYM_HASH_KASUMI_F9 == pSessionDesc->hashAlgorithm || in LacAlgChain_SessionAuthKeyUpdate()
665 if (CPA_CY_SYM_HASH_AES_CMAC == pSessionDesc->hashAlgorithm) { in LacAlgChain_SessionAuthKeyUpdate()
722 pSessionDesc->hashAlgorithm) { in buildCmdData()
[all …]
H A Dlac_sym_cipher.c437 CpaCySymHashAlgorithm hashAlgorithm) in LacCipher_GetCipherSliceType() argument
/freebsd/sys/dev/qat/qat_api/common/crypto/sym/qat/
H A Dlac_sym_qat_hash.c169 pHashSetupData->hashAlgorithm, in LacSymQat_HashContentDescInit()
231 pHashSetupData->hashAlgorithm == CPA_CY_SYM_HASH_AES_CBC_MAC || in LacSymQat_HashContentDescInit()
232 pHashSetupData->hashAlgorithm == CPA_CY_SYM_HASH_ZUC_EIA3) { in LacSymQat_HashContentDescInit()
265 pHashSetupData->hashAlgorithm; in LacSymQat_HashContentDescInit()
303 if (CPA_CY_SYM_HASH_SNOW3G_UIA2 == pHashSetupData->hashAlgorithm) { in LacSymQat_HashContentDescInit()
361 pHashSetupData->hashAlgorithm, in LacSymQat_HashSetupReqParamsMetaData()
394 if (CPA_CY_SYM_HASH_AES_CCM == pHashSetupData->hashAlgorithm) { in LacSymQat_HashSetupReqParamsMetaData()
420 pHashSetupData->hashAlgorithm) { in LacSymQat_HashSetupReqParamsMetaData()
518 CPA_CY_SYM_HASH_AES_CBC_MAC == pHashSetupData->hashAlgorithm || in LacSymQat_HashSetupBlockInit()
519 CPA_CY_SYM_HASH_ZUC_EIA3 == pHashSetupData->hashAlgorithm) { in LacSymQat_HashSetupBlockInit()
[all …]
H A Dlac_sym_qat_hash_defs_lookup.c42 CpaCySymHashAlgorithm hashAlgorithm; member
472 hashAlg = lacHashDefsMapping[entry].hashAlgorithm; in LacSymQat_HashLookupInit()
489 CpaCySymHashAlgorithm hashAlgorithm, in LacSymQat_HashAlgLookupGet() argument
496 *ppHashAlgInfo = pLacHashLookupDefs[hashAlgorithm]->algInfo; in LacSymQat_HashAlgLookupGet()
504 CpaCySymHashAlgorithm hashAlgorithm, in LacSymQat_HashDefsLookupGet() argument
511 *ppHashDefsInfo = pLacHashLookupDefs[hashAlgorithm]; in LacSymQat_HashDefsLookupGet()
H A Dlac_sym_qat.c307 pSession->hashAlgorithm, in LacSymQat_UseSymConstantsTable()
/freebsd/sys/dev/qat/qat_api/common/crypto/sym/key/
H A Dlac_sym_key.c181 Cpa8U hashAlgorithm,
242 Cpa8U hashAlgorithm,
430 getDigestSizeFromHashAlgo(CpaCySymHashAlgorithm hashAlgorithm) in getDigestSizeFromHashAlgo() argument
432 switch (hashAlgorithm) { in getDigestSizeFromHashAlgo()
696 CpaCySymHashAlgorithm hashAlgorithm) in LacSymKey_MgfCommon() argument
760 hashAlgorithm, in LacSymKey_MgfCommon()
783 hashSetupData.hashAlgorithm = hashAlgorithm; in LacSymKey_MgfCommon()
981 if (CPA_CY_SYM_HASH_MD5 > pKeyGenMgfOpDataExt->hashAlgorithm || in cpaCyKeyGenMgfExt()
982 CPA_CY_SYM_HASH_SHA512 < pKeyGenMgfOpDataExt->hashAlgorithm) { in cpaCyKeyGenMgfExt()
994 pKeyGenMgfOpDataExt->hashAlgorithm); in cpaCyKeyGenMgfExt()
[all …]
/freebsd/crypto/openssl/crypto/ocsp/
H A Docsp_lib.c56 alg = &cid->hashAlgorithm; in OCSP_cert_id_new()
95 ret = OBJ_cmp(a->hashAlgorithm.algorithm, b->hashAlgorithm.algorithm); in OCSP_id_issuer_cmp()
H A Docsp_vfy.c286 if (OBJ_cmp(tmpid->hashAlgorithm.algorithm, in ocsp_check_ids()
287 cid->hashAlgorithm.algorithm)) in ocsp_check_ids()
316 OBJ_obj2txt(name, sizeof(name), cid->hashAlgorithm.algorithm, 0); in ocsp_match_issuerid()
H A Docsp_local.h19 X509_ALGOR hashAlgorithm; member
H A Docsp_asn.c24 ASN1_EMBED(OCSP_CERTID, hashAlgorithm, X509_ALGOR),
/freebsd/sys/dev/qat/qat_api/common/crypto/sym/include/
H A Dlac_sym_qat_hash_defs_lookup.h114 CpaCySymHashAlgorithm hashAlgorithm,
135 CpaCySymHashAlgorithm hashAlgorithm,
H A Dlac_sym_hash.h472 CpaCySymHashAlgorithm hashAlgorithm,
513 CpaCySymHashAlgorithm hashAlgorithm,
H A Dlac_session.h158 CpaCySymHashAlgorithm hashAlgorithm; member
344 CpaCySymHashAlgorithm hashAlgorithm; member
496 CpaCySymHashAlgorithm hashAlgorithm; member
/freebsd/contrib/wpa/src/crypto/
H A Dtls_openssl_ocsp.c47 X509_ALGOR *hashAlgorithm; member
170 ASN1_SIMPLE(CertID, hashAlgorithm, X509_ALGOR),
399 dgst = EVP_get_digestbyobj(certid->hashAlgorithm->algorithm); in issuer_match()
709 txt = algor_str(sresp->certID->hashAlgorithm); in check_ocsp_resp()
774 (OBJ_cmp(cid1->hashAlgorithm->algorithm, in check_ocsp_resp()
775 cid2->hashAlgorithm->algorithm) != 0 || in check_ocsp_resp()
/freebsd/sys/dev/qat/qat_api/include/lac/
H A Dcpa_cy_key.h492 CpaCySymHashAlgorithm hashAlgorithm; member
833 CpaCySymHashAlgorithm hashAlgorithm,
H A Dcpa_cy_sym.h532 CpaCySymHashAlgorithm hashAlgorithm; member
/freebsd/crypto/heimdal/lib/hx509/
H A Drevoke.c725 &ocsp->ocsp.tbsResponseData.responses.val[i].certID.hashAlgorithm, in hx509_revoke_verify()
736 &ocsp->ocsp.tbsResponseData.responses.val[j].certID.hashAlgorithm, in hx509_revoke_verify()
907 ret = copy_AlgorithmIdentifier(ctx->digest, &one->reqCert.hashAlgorithm); in add_to_req()
913 &one->reqCert.hashAlgorithm, in add_to_req()
926 &one->reqCert.hashAlgorithm, in add_to_req()
1221 &basic.tbsResponseData.responses.val[i].certID.hashAlgorithm, in hx509_ocsp_verify()
H A Docsp.asn123 hashAlgorithm AlgorithmIdentifier,
/freebsd/crypto/openssl/doc/internal/man7/
H A DDERlib.pod92 hashAlgorithm [0] HashAlgorithm DEFAULT
104 hashAlgorithm sha256Identifier,
/freebsd/crypto/openssl/crypto/rsa/
H A Drsa_asn1.c88 ASN1_EXP_OPT(RSA_PSS_PARAMS, hashAlgorithm, X509_ALGOR,0),
H A Drsa_ameth.c236 if (pss->hashAlgorithm) { in rsa_pss_param_print()
237 if (i2a_ASN1_OBJECT(bp, pss->hashAlgorithm->algorithm) <= 0) in rsa_pss_param_print()
490 if (!ossl_x509_algor_new_from_md(&pss->hashAlgorithm, sigmd)) in ossl_rsa_pss_params_create()

12