Lines Matching refs:thash

403 	struct auth_hash *thash;  in cse_create()  local
448 thash = NULL; in cse_create()
451 thash = &auth_hash_poly1305; in cse_create()
454 thash = &auth_hash_hmac_sha1; in cse_create()
457 thash = &auth_hash_hmac_sha2_224; in cse_create()
460 thash = &auth_hash_hmac_sha2_256; in cse_create()
463 thash = &auth_hash_hmac_sha2_384; in cse_create()
466 thash = &auth_hash_hmac_sha2_512; in cse_create()
469 thash = &auth_hash_hmac_ripemd_160; in cse_create()
486 thash = &auth_hash_nist_gmac_aes_128; in cse_create()
489 thash = &auth_hash_nist_gmac_aes_192; in cse_create()
492 thash = &auth_hash_nist_gmac_aes_256; in cse_create()
503 thash = &auth_hash_ccm_cbc_mac_128; in cse_create()
506 thash = &auth_hash_ccm_cbc_mac_192; in cse_create()
509 thash = &auth_hash_ccm_cbc_mac_256; in cse_create()
518 thash = &auth_hash_sha1; in cse_create()
521 thash = &auth_hash_sha2_224; in cse_create()
524 thash = &auth_hash_sha2_256; in cse_create()
527 thash = &auth_hash_sha2_384; in cse_create()
530 thash = &auth_hash_sha2_512; in cse_create()
534 thash = &auth_hash_null; in cse_create()
538 thash = &auth_hash_blake2b; in cse_create()
541 thash = &auth_hash_blake2s; in cse_create()
550 if (txform == NULL && thash == NULL) { in cse_create()
588 thash = NULL; in cse_create()
604 } else if (txform != NULL && thash != NULL) in cse_create()
641 if (thash != NULL) { in cse_create()
642 csp.csp_auth_alg = thash->type; in cse_create()
644 if (sop->mackeylen > thash->keysize || sop->mackeylen < 0) { in cse_create()
679 if (!(thash != NULL || csp.csp_mode == CSP_MODE_AEAD)) { in cse_create()
711 else if (thash != NULL) in cse_create()
712 cse->hashsize = thash->hashsize; in cse_create()