Searched refs:esph (Results 1 – 3 of 3) sorted by relevance
271 const struct auth_hash *esph; in esp_input() local307 esph = sav->tdb_authalgxform; in esp_input()316 alen = xform_ah_authsize(esph); in esp_input()340 if (esph != NULL && sav->replay != NULL && sav->replay->wsize != 0) { in esp_input()374 if (esph != NULL) { in esp_input()496 const struct auth_hash *esph; in esp_input_cb() local521 esph = sav->tdb_authalgxform; in esp_input_cb()535 if (!(crp->crp_etype == EBADMSG && esph != NULL)) { in esp_input_cb()554 if (esph != NULL) { in esp_input_cb()555 alen = xform_ah_authsize(esph); in esp_input_cb()[all …]
119 xform_ah_authsize(const struct auth_hash *esph) in xform_ah_authsize() argument123 if (esph == NULL) in xform_ah_authsize()126 switch (esph->type) { in xform_ah_authsize()130 alen = esph->hashsize / 2; /* RFC4868 2.3 */ in xform_ah_authsize()135 alen = esph->hashsize; in xform_ah_authsize()
126 static int mlx5_xform_ah_authsize(const struct auth_hash *esph) in mlx5_xform_ah_authsize() argument130 if (esph == NULL) in mlx5_xform_ah_authsize()133 switch (esph->type) { in mlx5_xform_ah_authsize()137 alen = esph->hashsize / 2; /* RFC4868 2.3 */ in mlx5_xform_ah_authsize()142 alen = esph->hashsize; in mlx5_xform_ah_authsize()158 const struct auth_hash *esph = savp->tdb_authalgxform; in mlx5e_ipsec_build_accel_xfrm_attrs() local191 aes_gcm->icv_len = mlx5_xform_ah_authsize(esph); //TBD: check if value make sense in mlx5e_ipsec_build_accel_xfrm_attrs()