Lines Matching refs:thash

113 	const struct auth_hash *thash;  member
474 if (cse->tcomp == NULL && cse->txform == NULL && cse->thash == NULL) in cryptodev_op()
505 crp = crypto_getreq((cse->tcomp != NULL) + (cse->txform != NULL) + (cse->thash != NULL)); in cryptodev_op()
523 if (cse->thash) { in cryptodev_op()
694 (error = copyout(crp->crp_mac, cop->mac, cse->thash->authsize))) { in cryptodev_op()
967 const struct auth_hash *thash, const struct comp_algo *tcomp) in csecreate() argument
983 cse->thash = thash; in csecreate()
1113 cse->thash == NULL && in cryptodev_mop()
1126 (cse->thash != NULL) + in cryptodev_mop()
1159 if (cse->thash) { in cryptodev_mop()
1461 const struct auth_hash *thash = NULL; in cryptodev_session() local
1533 thash = &auth_hash_hmac_md5; in cryptodev_session()
1536 thash = &auth_hash_hmac_sha1; in cryptodev_session()
1539 thash = &auth_hash_hmac_md5_96; in cryptodev_session()
1542 thash = &auth_hash_hmac_sha1_96; in cryptodev_session()
1547 thash = &auth_hash_hmac_sha2_256; in cryptodev_session()
1549 thash = &auth_hash_hmac_sha2_384; in cryptodev_session()
1551 thash = &auth_hash_hmac_sha2_512; in cryptodev_session()
1558 thash = &auth_hash_hmac_sha2_384; in cryptodev_session()
1561 thash = &auth_hash_hmac_sha2_512; in cryptodev_session()
1564 thash = &auth_hash_hmac_ripemd_160; in cryptodev_session()
1567 thash = &auth_hash_hmac_ripemd_160_96; in cryptodev_session()
1570 thash = &auth_hash_md5; in cryptodev_session()
1573 thash = &auth_hash_sha1; in cryptodev_session()
1576 thash = &auth_hash_aes_xcbc_mac_96; in cryptodev_session()
1579 thash = &auth_hash_gmac_aes_128; in cryptodev_session()
1582 thash = &auth_hash_gmac_aes_192; in cryptodev_session()
1585 thash = &auth_hash_gmac_aes_256; in cryptodev_session()
1588 thash = &auth_hash_null; in cryptodev_session()
1607 } else if (thash) { in cryptodev_session()
1629 if (thash) in cryptodev_session()
1633 if (thash) { in cryptodev_session()
1634 cria.cri_alg = thash->type; in cryptodev_session()
1636 if (sop->mackeylen != thash->keysize) { in cryptodev_session()
1638 sop->mackeylen, thash->keysize); in cryptodev_session()
1660 (tcomp ? sop->comp_alg : 0), txform, thash, tcomp); in cryptodev_session()
1817 cse->thash->authsize))) in cryptodev_getmstatus()
1920 cse->thash->authsize))) in cryptodev_getstatus()