Home
last modified time | relevance | path

Searched refs:progdata (Results 1 – 1 of 1) sorted by relevance

/u-boot/board/gdsys/a38x/
A Dkeyprogram.c74 int extract_subprogram(u8 **progdata, u32 expected_magic, in extract_subprogram() argument
80 magic = get_unaligned_be32(*progdata); in extract_subprogram()
81 code_crc = get_unaligned_be32(*progdata + 4); in extract_subprogram()
82 code_size = get_unaligned_be32(*progdata + 8); in extract_subprogram()
84 *progdata += 12; in extract_subprogram()
97 memcpy(prog->code, *progdata, code_size); in extract_subprogram()
99 *progdata += code_size; in extract_subprogram()
109 struct key_program *parse_and_check_keyprog(u8 *progdata) in parse_and_check_keyprog() argument
115 if (extract_subprogram(&progdata, MAGIC_KEY_PROGRAM, &result)) in parse_and_check_keyprog()
120 if (extract_subprogram(&progdata, MAGIC_HMAC, &hmac)) in parse_and_check_keyprog()

Completed in 2 milliseconds