Lines Matching refs:tmpbuf
107 __be32 *tmpbuf; in rxkad_prime_packet_security() local
115 tmpbuf = kmalloc(tmpsize, GFP_KERNEL); in rxkad_prime_packet_security()
116 if (!tmpbuf) in rxkad_prime_packet_security()
121 kfree(tmpbuf); in rxkad_prime_packet_security()
128 tmpbuf[0] = htonl(conn->proto.epoch); in rxkad_prime_packet_security()
129 tmpbuf[1] = htonl(conn->proto.cid); in rxkad_prime_packet_security()
130 tmpbuf[2] = 0; in rxkad_prime_packet_security()
131 tmpbuf[3] = htonl(conn->security_ix); in rxkad_prime_packet_security()
133 sg_init_one(&sg, tmpbuf, tmpsize); in rxkad_prime_packet_security()
140 memcpy(&conn->csum_iv, tmpbuf + 2, sizeof(conn->csum_iv)); in rxkad_prime_packet_security()
141 kfree(tmpbuf); in rxkad_prime_packet_security()