cen64/device/sha1_sums.h
Mike Ryan 36a4a6fdfa dd: identify IPL and add support for all known dumped IPLs
This also fixes a regression introduced in 3900be4 that prevented the DD
IPL from booting.
2016-08-31 18:33:15 -07:00

51 lines
1.5 KiB
C

//
// device/sha1_sums.h: Known good SHA1 sums
//
// CEN64: Cycle-Accurate Nintendo 64 Emulator.
// Copyright (C) 2015, Tyler J. Stachecki.
//
// This file is subject to the terms and conditions defined in
// 'LICENSE', which is part of this source code package.
//
#ifndef __SHA1_SUMS_H__
#define __SHA1_SUMS_H__
const uint8_t sha1_pifrom_ntsc[SHA1_SIZE] = {
0x91, 0x74, 0xea, 0xdc, 0x0f, 0x0e, 0xa2, 0x65, 0x4c, 0x95,
0xfd, 0x94, 0x14, 0x06, 0xab, 0x46, 0xb9, 0xdc, 0x9b, 0xdd,
};
const uint8_t sha1_pifrom_pal[SHA1_SIZE] = {
0x46, 0xca, 0xe5, 0x9d, 0x31, 0xf9, 0x29, 0x8b, 0x93, 0xf3,
0x38, 0x08, 0x79, 0x45, 0x4f, 0xce, 0xf5, 0x4e, 0xe6, 0xcc,
};
const uint8_t sha1_pifrom_ntsc_j[SHA1_SIZE] = {
0X91, 0X74, 0Xea, 0Xdc, 0X0f, 0X0e, 0Xa2, 0X65, 0X4c, 0X95,
0Xfd, 0X94, 0X14, 0X06, 0Xab, 0X46, 0Xb9, 0Xdc, 0X9b, 0Xdd,
};
const uint8_t sha1_dd_ipl_jp_v10[SHA1_SIZE] = {
0x58, 0x67, 0x0c, 0x00, 0x63, 0x79, 0x3a, 0x8f, 0x3b, 0xe9,
0x57, 0xd7, 0x1d, 0x93, 0x7b, 0x61, 0x88, 0x29, 0xba, 0x9e,
};
const uint8_t sha1_dd_ipl_jp_v11[SHA1_SIZE] = {
0xb3, 0xe2, 0x6d, 0xbb, 0x4e, 0x94, 0x5f, 0x78, 0xc9, 0x18,
0xfa, 0xbc, 0x5b, 0x9e, 0x60, 0xfc, 0xf2, 0x62, 0xc4, 0x7b
};
// JP retail
const uint8_t sha1_dd_ipl_jp_v12[SHA1_SIZE] = {
0xbf, 0x86, 0x19, 0x22, 0xdc, 0xb7, 0x8c, 0x31, 0x63, 0x60,
0xe3, 0xe7, 0x42, 0xf4, 0xf7, 0x0f, 0xf6, 0x3c, 0x9b, 0xc3,
};
const uint8_t sha1_dd_ipl_us[SHA1_SIZE] = {
0x3c, 0x5b, 0x93, 0xca, 0x23, 0x15, 0x50, 0xc6, 0x86, 0x93,
0xa1, 0x4f, 0x03, 0xce, 0xa8, 0xd5, 0xdb, 0xd1, 0xbe, 0x9e
};
#endif