/freebsd/sys/dev/qat/qat_api/common/crypto/sym/ |
H A D | lac_sym_hash.c | 145 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 D | lac_sym_api.c | 58 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 D | lac_sym_dp.c | 104 (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 D | lac_sym_hash_sw_precomputes.c | 47 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 D | lac_sym_alg_chain.c | 152 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 D | lac_sym_cipher.c | 437 CpaCySymHashAlgorithm hashAlgorithm) in LacCipher_GetCipherSliceType() argument
|
/freebsd/sys/dev/qat/qat_api/common/crypto/sym/qat/ |
H A D | lac_sym_qat_hash.c | 169 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 D | lac_sym_qat_hash_defs_lookup.c | 42 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 D | lac_sym_qat.c | 307 pSession->hashAlgorithm, in LacSymQat_UseSymConstantsTable()
|
/freebsd/sys/dev/qat/qat_api/common/crypto/sym/key/ |
H A D | lac_sym_key.c | 181 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 D | ocsp_lib.c | 56 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 D | ocsp_vfy.c | 286 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 D | ocsp_local.h | 19 X509_ALGOR hashAlgorithm; member
|
H A D | ocsp_asn.c | 24 ASN1_EMBED(OCSP_CERTID, hashAlgorithm, X509_ALGOR),
|
/freebsd/sys/dev/qat/qat_api/common/crypto/sym/include/ |
H A D | lac_sym_qat_hash_defs_lookup.h | 114 CpaCySymHashAlgorithm hashAlgorithm, 135 CpaCySymHashAlgorithm hashAlgorithm,
|
H A D | lac_sym_hash.h | 472 CpaCySymHashAlgorithm hashAlgorithm, 513 CpaCySymHashAlgorithm hashAlgorithm,
|
H A D | lac_session.h | 158 CpaCySymHashAlgorithm hashAlgorithm; member 344 CpaCySymHashAlgorithm hashAlgorithm; member 496 CpaCySymHashAlgorithm hashAlgorithm; member
|
/freebsd/contrib/wpa/src/crypto/ |
H A D | tls_openssl_ocsp.c | 47 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 D | cpa_cy_key.h | 492 CpaCySymHashAlgorithm hashAlgorithm; member 833 CpaCySymHashAlgorithm hashAlgorithm,
|
H A D | cpa_cy_sym.h | 532 CpaCySymHashAlgorithm hashAlgorithm; member
|
/freebsd/crypto/heimdal/lib/hx509/ |
H A D | revoke.c | 725 &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 D | ocsp.asn1 | 23 hashAlgorithm AlgorithmIdentifier,
|
/freebsd/crypto/openssl/doc/internal/man7/ |
H A D | DERlib.pod | 92 hashAlgorithm [0] HashAlgorithm DEFAULT 104 hashAlgorithm sha256Identifier,
|
/freebsd/crypto/openssl/crypto/rsa/ |
H A D | rsa_asn1.c | 88 ASN1_EXP_OPT(RSA_PSS_PARAMS, hashAlgorithm, X509_ALGOR,0),
|
H A D | rsa_ameth.c | 236 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()
|