Searched refs:progdata (Results 1 – 1 of 1) sorted by relevance
70 int extract_subprogram(u8 **progdata, u32 expected_magic, in extract_subprogram() argument76 magic = get_unaligned_be32(*progdata); in extract_subprogram()77 code_crc = get_unaligned_be32(*progdata + 4); in extract_subprogram()78 code_size = get_unaligned_be32(*progdata + 8); in extract_subprogram()80 *progdata += 12; in extract_subprogram()93 memcpy(prog->code, *progdata, code_size); in extract_subprogram()95 *progdata += code_size; in extract_subprogram()105 struct key_program *parse_and_check_keyprog(u8 *progdata) in parse_and_check_keyprog() argument111 if (extract_subprogram(&progdata, MAGIC_KEY_PROGRAM, &result)) in parse_and_check_keyprog()116 if (extract_subprogram(&progdata, MAGIC_HMAC, &hmac)) in parse_and_check_keyprog()