Lines Matching defs:cksum
108 u_char *cksum;
268 cksum = _MALLOC(siz1, M_TEMP, M_NOWAIT);
269 if (!cksum) {
271 "couldn't alloc temporary region for cksum\n"));
282 if (ah4_calccksum(m, (caddr_t)cksum, siz1, algo, sav)) {
283 FREE(cksum, M_TEMP);
305 if (bcmp(sumpos, cksum, siz) != 0) {
309 FREE(cksum, M_TEMP);
315 FREE(cksum, M_TEMP);
570 u_char *cksum;
695 cksum = _MALLOC(siz1, M_TEMP, M_NOWAIT);
696 if (!cksum) {
698 "couldn't alloc temporary region for cksum\n"));
703 if (ah6_calccksum(m, (caddr_t)cksum, siz1, algo, sav)) {
704 FREE(cksum, M_TEMP);
721 if (bcmp(sumpos, cksum, siz) != 0) {
725 FREE(cksum, M_TEMP);
731 FREE(cksum, M_TEMP);