• Home
  • Raw
  • Download

Lines Matching refs:sechdr

181 				    void *sechdr,  in rxkad_secure_packet_auth()  argument
196 memcpy(sechdr, &hdr, sizeof(hdr)); in rxkad_secure_packet_auth()
201 sg_init_one(&sg, sechdr, 8); in rxkad_secure_packet_auth()
218 void *sechdr, in rxkad_secure_packet_encrypt() argument
238 memcpy(sechdr, &rxkhdr, sizeof(rxkhdr)); in rxkad_secure_packet_encrypt()
244 sg_init_one(&sg[0], sechdr, sizeof(rxkhdr)); in rxkad_secure_packet_encrypt()
279 void *sechdr) in rxkad_secure_packet() argument
332 ret = rxkad_secure_packet_auth(call, skb, data_size, sechdr, in rxkad_secure_packet()
337 sechdr, req); in rxkad_secure_packet()
356 struct rxkad_level1_hdr sechdr; in rxkad_verify_packet_1() local
390 if (skb_copy_bits(skb, offset, &sechdr, sizeof(sechdr)) < 0) { in rxkad_verify_packet_1()
395 offset += sizeof(sechdr); in rxkad_verify_packet_1()
396 len -= sizeof(sechdr); in rxkad_verify_packet_1()
398 buf = ntohl(sechdr.data_size); in rxkad_verify_packet_1()
434 struct rxkad_level2_hdr sechdr; in rxkad_verify_packet_2() local
484 if (skb_copy_bits(skb, offset, &sechdr, sizeof(sechdr)) < 0) { in rxkad_verify_packet_2()
489 offset += sizeof(sechdr); in rxkad_verify_packet_2()
490 len -= sizeof(sechdr); in rxkad_verify_packet_2()
492 buf = ntohl(sechdr.data_size); in rxkad_verify_packet_2()
598 struct rxkad_level1_hdr sechdr; in rxkad_locate_data_1() local
600 if (skb_copy_bits(skb, *_offset, &sechdr, sizeof(sechdr)) < 0) in rxkad_locate_data_1()
602 *_offset += sizeof(sechdr); in rxkad_locate_data_1()
603 *_len = ntohl(sechdr.data_size) & 0xffff; in rxkad_locate_data_1()
612 struct rxkad_level2_hdr sechdr; in rxkad_locate_data_2() local
614 if (skb_copy_bits(skb, *_offset, &sechdr, sizeof(sechdr)) < 0) in rxkad_locate_data_2()
616 *_offset += sizeof(sechdr); in rxkad_locate_data_2()
617 *_len = ntohl(sechdr.data_size) & 0xffff; in rxkad_locate_data_2()