Lines Matching defs:esph
303 const struct auth_hash *esph;
328 esph = sav->tdb_authalgxform;
338 alen = esph ? esph->authsize : 0;
363 if (esph && sav->replay && !ipsec_chkreplay(ntohl(esp->esp_seq), sav)) {
376 crp = crypto_getreq(esph ? 2 : 1);
384 size_t extra __diagused = esph == NULL ? 0 : alen;
401 if (esph) {
415 crda->crd_alg = esph->type;
515 const struct auth_hash *esph;
538 esph = sav->tdb_authalgxform;
554 if (esph != NULL) {
562 m_copydata(m, m->m_pkthdr.len - esph->authsize,
563 esph->authsize, aalg);
568 if (!consttime_memequal(ptr, aalg, esph->authsize)) {
578 m_adj(m, -(esph->authsize));
683 const struct auth_hash *esph;
695 esph = sav->tdb_authalgxform;
705 alen = esph ? esph->authsize : 0;
839 crp = crypto_getreq(esph ? 2 : 1);
910 if (esph) {
920 crda->crd_alg = esph->type;
985 const struct auth_hash *esph;
991 esph = sav->tdb_authalgxform;
992 if (esph != NULL) {
993 m_copyback(m, m->m_pkthdr.len - esph->authsize,
994 esph->authsize, ipseczeroes);