ahp                20 drivers/net/wireless/ath/ath9k/ani.h #define BEACON_RSSI(ahp) (ahp->stats.avgbrssi)
ahp               126 net/ipv4/ah4.c 	struct ah_data *ahp = x->data;
ahp               132 net/ipv4/ah4.c 	icv = ah_tmp_icv(ahp->ahash, iph, ihl);
ahp               133 net/ipv4/ah4.c 	memcpy(ah->auth_data, icv, ahp->icv_trunc_len);
ahp               159 net/ipv4/ah4.c 	struct ah_data *ahp;
ahp               165 net/ipv4/ah4.c 	ahp = x->data;
ahp               166 net/ipv4/ah4.c 	ahash = ahp->ahash;
ahp               190 net/ipv4/ah4.c 	memset(ah->auth_data, 0, ahp->icv_trunc_len);
ahp               216 net/ipv4/ah4.c 		ah->hdrlen  = (XFRM_ALIGN4(sizeof(*ah) + ahp->icv_trunc_len) >> 2) - 2;
ahp               218 net/ipv4/ah4.c 		ah->hdrlen  = (XFRM_ALIGN8(sizeof(*ah) + ahp->icv_trunc_len) >> 2) - 2;
ahp               249 net/ipv4/ah4.c 	memcpy(ah->auth_data, icv, ahp->icv_trunc_len);
ahp               272 net/ipv4/ah4.c 	struct ah_data *ahp = x->data;
ahp               282 net/ipv4/ah4.c 	icv = ah_tmp_icv(ahp->ahash, auth_data, ahp->icv_trunc_len);
ahp               284 net/ipv4/ah4.c 	err = crypto_memneq(icv, auth_data, ahp->icv_trunc_len) ? -EBADMSG : 0;
ahp               317 net/ipv4/ah4.c 	struct ah_data *ahp;
ahp               328 net/ipv4/ah4.c 	ahp = x->data;
ahp               329 net/ipv4/ah4.c 	ahash = ahp->ahash;
ahp               335 net/ipv4/ah4.c 		if (ah_hlen != XFRM_ALIGN4(sizeof(*ah) + ahp->icv_full_len) &&
ahp               336 net/ipv4/ah4.c 		    ah_hlen != XFRM_ALIGN4(sizeof(*ah) + ahp->icv_trunc_len))
ahp               339 net/ipv4/ah4.c 		if (ah_hlen != XFRM_ALIGN8(sizeof(*ah) + ahp->icv_full_len) &&
ahp               340 net/ipv4/ah4.c 		    ah_hlen != XFRM_ALIGN8(sizeof(*ah) + ahp->icv_trunc_len))
ahp               369 net/ipv4/ah4.c 				ahp->icv_trunc_len + seqhi_len);
ahp               377 net/ipv4/ah4.c 	icv = ah_tmp_icv(ahash, auth_data, ahp->icv_trunc_len);
ahp               383 net/ipv4/ah4.c 	memcpy(auth_data, ah->auth_data, ahp->icv_trunc_len);
ahp               384 net/ipv4/ah4.c 	memset(ah->auth_data, 0, ahp->icv_trunc_len);
ahp               422 net/ipv4/ah4.c 	err = crypto_memneq(icv, auth_data, ahp->icv_trunc_len) ? -EBADMSG : 0;
ahp               475 net/ipv4/ah4.c 	struct ah_data *ahp = NULL;
ahp               485 net/ipv4/ah4.c 	ahp = kzalloc(sizeof(*ahp), GFP_KERNEL);
ahp               486 net/ipv4/ah4.c 	if (!ahp)
ahp               493 net/ipv4/ah4.c 	ahp->ahash = ahash;
ahp               516 net/ipv4/ah4.c 	ahp->icv_full_len = aalg_desc->uinfo.auth.icv_fullbits/8;
ahp               517 net/ipv4/ah4.c 	ahp->icv_trunc_len = x->aalg->alg_trunc_len/8;
ahp               521 net/ipv4/ah4.c 						  ahp->icv_trunc_len);
ahp               524 net/ipv4/ah4.c 						  ahp->icv_trunc_len);
ahp               527 net/ipv4/ah4.c 	x->data = ahp;
ahp               532 net/ipv4/ah4.c 	if (ahp) {
ahp               533 net/ipv4/ah4.c 		crypto_free_ahash(ahp->ahash);
ahp               534 net/ipv4/ah4.c 		kfree(ahp);
ahp               541 net/ipv4/ah4.c 	struct ah_data *ahp = x->data;
ahp               543 net/ipv4/ah4.c 	if (!ahp)
ahp               546 net/ipv4/ah4.c 	crypto_free_ahash(ahp->ahash);
ahp               547 net/ipv4/ah4.c 	kfree(ahp);
ahp               294 net/ipv6/ah6.c 	struct ah_data *ahp = x->data;
ahp               305 net/ipv6/ah6.c 	icv = ah_tmp_icv(ahp->ahash, iph_ext, extlen);
ahp               307 net/ipv6/ah6.c 	memcpy(ah->auth_data, icv, ahp->icv_trunc_len);
ahp               336 net/ipv6/ah6.c 	struct ah_data *ahp;
ahp               343 net/ipv6/ah6.c 	ahp = x->data;
ahp               344 net/ipv6/ah6.c 	ahash = ahp->ahash;
ahp               374 net/ipv6/ah6.c 	memset(ah->auth_data, 0, ahp->icv_trunc_len);
ahp               409 net/ipv6/ah6.c 	ah->hdrlen  = (XFRM_ALIGN8(sizeof(*ah) + ahp->icv_trunc_len) >> 2) - 2;
ahp               440 net/ipv6/ah6.c 	memcpy(ah->auth_data, icv, ahp->icv_trunc_len);
ahp               464 net/ipv6/ah6.c 	struct ah_data *ahp = x->data;
ahp               474 net/ipv6/ah6.c 	icv = ah_tmp_icv(ahp->ahash, auth_data, ahp->icv_trunc_len);
ahp               476 net/ipv6/ah6.c 	err = crypto_memneq(icv, auth_data, ahp->icv_trunc_len) ? -EBADMSG : 0;
ahp               522 net/ipv6/ah6.c 	struct ah_data *ahp;
ahp               545 net/ipv6/ah6.c 	ahp = x->data;
ahp               546 net/ipv6/ah6.c 	ahash = ahp->ahash;
ahp               551 net/ipv6/ah6.c 	if (ah_hlen != XFRM_ALIGN8(sizeof(*ah) + ahp->icv_full_len) &&
ahp               552 net/ipv6/ah6.c 	    ah_hlen != XFRM_ALIGN8(sizeof(*ah) + ahp->icv_trunc_len))
ahp               574 net/ipv6/ah6.c 				ahp->icv_trunc_len + seqhi_len);
ahp               581 net/ipv6/ah6.c 	seqhi = (__be32 *)(auth_data + ahp->icv_trunc_len);
ahp               588 net/ipv6/ah6.c 	memcpy(auth_data, ah->auth_data, ahp->icv_trunc_len);
ahp               589 net/ipv6/ah6.c 	memset(ah->auth_data, 0, ahp->icv_trunc_len);
ahp               624 net/ipv6/ah6.c 	err = crypto_memneq(icv, auth_data, ahp->icv_trunc_len) ? -EBADMSG : 0;
ahp               673 net/ipv6/ah6.c 	struct ah_data *ahp = NULL;
ahp               683 net/ipv6/ah6.c 	ahp = kzalloc(sizeof(*ahp), GFP_KERNEL);
ahp               684 net/ipv6/ah6.c 	if (!ahp)
ahp               691 net/ipv6/ah6.c 	ahp->ahash = ahash;
ahp               713 net/ipv6/ah6.c 	ahp->icv_full_len = aalg_desc->uinfo.auth.icv_fullbits/8;
ahp               714 net/ipv6/ah6.c 	ahp->icv_trunc_len = x->aalg->alg_trunc_len/8;
ahp               717 net/ipv6/ah6.c 					  ahp->icv_trunc_len);
ahp               728 net/ipv6/ah6.c 	x->data = ahp;
ahp               733 net/ipv6/ah6.c 	if (ahp) {
ahp               734 net/ipv6/ah6.c 		crypto_free_ahash(ahp->ahash);
ahp               735 net/ipv6/ah6.c 		kfree(ahp);
ahp               742 net/ipv6/ah6.c 	struct ah_data *ahp = x->data;
ahp               744 net/ipv6/ah6.c 	if (!ahp)
ahp               747 net/ipv6/ah6.c 	crypto_free_ahash(ahp->ahash);
ahp               748 net/ipv6/ah6.c 	kfree(ahp);