From 263b2ae19433e689a2fe01de927e969f544d2484 Mon Sep 17 00:00:00 2001 From: yutaka Date: Wed, 28 Nov 2007 00:02:05 +0000 Subject: [PATCH] =?UTF-8?q?API=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@273 b08762b0-b915-fc4b-9d8c-17b2551a87ff --- include/firm/aes/ARM9/aes_init.h | 50 ++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 include/firm/aes/ARM9/aes_init.h diff --git a/include/firm/aes/ARM9/aes_init.h b/include/firm/aes/ARM9/aes_init.h new file mode 100644 index 00000000..ff73f3e8 --- /dev/null +++ b/include/firm/aes/ARM9/aes_init.h @@ -0,0 +1,50 @@ +/*---------------------------------------------------------------------------* + Project: TwlIPL - AES - include + File: aes_init.h + + Copyright 2007 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. + + $Date:: 2007-09-06$ + $Rev$ + $Author$ + *---------------------------------------------------------------------------*/ + +#ifndef TWL_AES_AES_INIT_H_ +#define TWL_AES_AES_INIT_H_ + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +/*---------------------------------------------------------------------------* + ֐` + *---------------------------------------------------------------------------*/ + +/*---------------------------------------------------------------------------* + Name: AESi_SendSeed + + Description: send SEED/KEY to ARM7 via PXI. + + Arguments: pSeed pointer to seed + + Returns: None + *---------------------------------------------------------------------------*/ +static inline void AESi_SendSeed( AESKey *pSeed ) +{ + PXI_SendDataByFifo( PXI_FIFO_TAG_DATA, pSeed, AES_BLOCK_SIZE ); +} + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +/* TWL_AES_AES_INIT_H_ */ +#endif