Home
last modified time | relevance | path

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

/u-boot/lib/libavb/
A Davb_util.c399 char* hex_data; in avb_bin2hex() local
402 hex_data = avb_malloc(data_len * 2 + 1); in avb_bin2hex()
403 if (hex_data == NULL) { in avb_bin2hex()
408 hex_data[n * 2] = hex_digits[data[n] >> 4]; in avb_bin2hex()
409 hex_data[n * 2 + 1] = hex_digits[data[n] & 0x0f]; in avb_bin2hex()
411 hex_data[n * 2] = '\0'; in avb_bin2hex()
412 return hex_data; in avb_bin2hex()
A Davb_cmdline.c208 char* hex_data = avb_bin2hex(data, data_len); in cmdline_append_hex() local
209 if (hex_data == NULL) { in cmdline_append_hex()
212 ret = cmdline_append_option(slot_data, key, hex_data); in cmdline_append_hex()
213 avb_free(hex_data); in cmdline_append_hex()

Completed in 4 milliseconds