Package1: Difference between revisions
add package1 header format |
m →generate_retail_keys: typo |
||
Line 404: | Line 404: | ||
aes_cmac(out_addr, out_size, keyslot, in_addr, in_size); | aes_cmac(out_addr, out_size, keyslot, in_addr, in_size); | ||
// | // Compare the generated hash with the first | ||
// 0x10 bytes of bct_customer_data | // 0x10 bytes of bct_customer_data | ||
bool match = safe_memcmp(mac_addr, bct_customer_data_addr, 0x10); | bool match = safe_memcmp(mac_addr, bct_customer_data_addr, 0x10); |