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