mirror of
https://github.com/rvtr/ctr_Repair.git
synced 2025-10-31 13:51:08 -04:00
SdReaderWriterの生データ読み書きをprivateに SdReaderWriter経由で読み書きするデータにAecCmacを付加し、検証するように git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_Repair@112 385bec56-5757-e545-9c3a-d8741f4650f1
37 lines
1.1 KiB
C++
37 lines
1.1 KiB
C++
/*---------------------------------------------------------------------------*
|
|
Project: Horizon
|
|
File: Aes_define.h
|
|
|
|
Copyright 2009 Nintendo. All rights reserved.
|
|
|
|
These coded instructions, statements, and computer programs contain
|
|
proprietary information of Nintendo of America Inc. and/or Nintendo
|
|
Company Ltd., and are protected by Federal copyright law. They may
|
|
not be disclosed to third parties or copied or duplicated in any form,
|
|
in whole or in part, without the prior written consent of Nintendo.
|
|
|
|
$Rev$
|
|
*---------------------------------------------------------------------------*/
|
|
|
|
#ifndef AES_DEFINE_H_
|
|
#define AES_DEFINE_H_
|
|
|
|
#include <nn/drivers/aes/CTR/ARM946ES/driverAes_Types.h>
|
|
|
|
namespace common
|
|
{
|
|
const bit8 key[AES_KEY_SIZE] =
|
|
{
|
|
0x81, 0x35, 0xc6, 0x54, 0x19, 0x1a, 0x47, 0x2a,
|
|
0x6b, 0x78, 0xbe, 0x25, 0x90, 0xf6, 0xee, 0x74
|
|
};
|
|
|
|
const bit8 cmacKey[AES_KEY_SIZE] =
|
|
{
|
|
0x87, 0xdd, 0xc6, 0xd6, 0xf2, 0xe0, 0x2c, 0xa6,
|
|
0x04, 0x21, 0x9c, 0x5e, 0x33, 0x8c, 0x3d, 0xaa
|
|
};
|
|
}
|
|
|
|
#endif /* AES_DEFINE_H_ */
|