Lines Matching refs:sechdr
156 void *sechdr) in rxkad_secure_packet_auth() argument
176 memcpy(&tmpbuf.first, sechdr + 4, sizeof(tmpbuf.first)); in rxkad_secure_packet_auth()
188 memcpy(sechdr, &tmpbuf, sizeof(tmpbuf)); in rxkad_secure_packet_auth()
200 void *sechdr) in rxkad_secure_packet_encrypt() argument
230 sg_init_one(&sg[0], sechdr, sizeof(rxkhdr)); in rxkad_secure_packet_encrypt()
256 void *sechdr) in rxkad_secure_packet() argument
309 ret = rxkad_secure_packet_auth(call, skb, data_size, sechdr); in rxkad_secure_packet()
313 sechdr); in rxkad_secure_packet()
331 struct rxkad_level1_hdr sechdr; in rxkad_verify_packet_auth() local
362 if (skb_copy_bits(skb, 0, &sechdr, sizeof(sechdr)) < 0) in rxkad_verify_packet_auth()
364 if (!skb_pull(skb, sizeof(sechdr))) in rxkad_verify_packet_auth()
367 buf = ntohl(sechdr.data_size); in rxkad_verify_packet_auth()
406 struct rxkad_level2_hdr sechdr; in rxkad_verify_packet_encrypt() local
447 if (skb_copy_bits(skb, 0, &sechdr, sizeof(sechdr)) < 0) in rxkad_verify_packet_encrypt()
449 if (!skb_pull(skb, sizeof(sechdr))) in rxkad_verify_packet_encrypt()
452 buf = ntohl(sechdr.data_size); in rxkad_verify_packet_encrypt()