| /TwlSDK-5.1.0/build/demos/snd/channel/src/ |
| D | main.c | 28 #define KeyToTimer(key) (SND_CalcTimer(FreqToTimer(440), ((key)-69)*64)) argument 39 u8 key = 60; variable 100 SND_CalcTimer(ORGAN_DET_G3_PCM16_TIMER, ((key) - 67) * 64), in NitroMain() 122 64, SND_CHANNEL_DATASHIFT_NONE, KeyToTimer(key), CENTER_PAN); in NitroMain() 130 64, SND_CHANNEL_DATASHIFT_NONE, KeyToTimer(key), CENTER_PAN); in NitroMain() 144 key++; in NitroMain() 146 SND_CalcTimer(ORGAN_DET_G3_PCM16_TIMER, ((key) - 67) * 64)); in NitroMain() 148 KeyToTimer(key)); in NitroMain() 149 OS_Printf("key: %d\n", key); in NitroMain() 155 key--; in NitroMain() [all …]
|
| /TwlSDK-5.1.0/build/demos/crypto/rc4-3/src/ |
| D | rc4enc.c | 47 const void* key in InitRC4Encoder() argument 53 MI_CpuCopy8(key, context->key, RC4ENC_USER_KEY_LENGTH); in InitRC4Encoder() 97 MI_CpuCopy8(&iv, &context->key[RC4ENC_USER_KEY_LENGTH], sizeof(iv)); in EncodeRC4() 98 CRYPTO_RC4Init(&context->rc4_context, context->key, sizeof(context->key)); in EncodeRC4() 126 const void* key in InitRC4Decoder() argument 132 MI_CpuCopy8(key, context->key, RC4ENC_USER_KEY_LENGTH); in InitRC4Decoder() 177 MI_CpuCopy8(&iv, &context->key[RC4ENC_USER_KEY_LENGTH], sizeof(iv)); in DecodeRC4() 178 CRYPTO_RC4Init(&context->rc4_context, context->key, sizeof(context->key)); in DecodeRC4()
|
| /TwlSDK-5.1.0/build/demos/mb/multiboot-wfs/parent/src/ |
| D | parent.c | 60 KeyInfo key[1]; in ModeSelect() local 72 InitFrameLoop(key); in ModeSelect() 75 WaitForNextFrame(key); in ModeSelect() 101 if ((key->trg & PAD_KEY_DOWN) && (++file_mode >= mode_max)) in ModeSelect() 105 if ((key->trg & PAD_KEY_UP) && (--file_mode < 0)) in ModeSelect() 115 if (key->trg & PAD_BUTTON_A) in ModeSelect() 169 KeyInfo key[1]; in ModeParent() local 171 InitFrameLoop(key); in ModeParent() 178 WaitForNextFrame(key); in ModeParent() 193 if (key->trg & PAD_KEY_UP) in ModeParent() [all …]
|
| D | multiboot.c | 211 KeyInfo key[1]; in GetChannelMain() local 231 InitFrameLoop(key); in GetChannelMain() 234 WaitForNextFrame(key); in GetChannelMain() 266 KeyInfo key[1]; in ConnectMain() local 270 InitFrameLoop(key); in ConnectMain() 275 WaitForNextFrame(key); in ConnectMain() 288 if (key->trg & PAD_BUTTON_B) in ConnectMain() 298 if (key->trg & PAD_BUTTON_START) in ConnectMain()
|
| /TwlSDK-5.1.0/build/demos/mb/multiboot-wfs/common/src/ |
| D | common.c | 177 KeyInfo key[1]; in ModeError() local 179 InitFrameLoop(key); in ModeError() 182 WaitForNextFrame(key); in ModeError() 200 KeyInfo key[1]; in ModeWorking() local 202 InitFrameLoop(key); in ModeWorking() 205 WaitForNextFrame(key); in ModeWorking() 207 if (key->trg & PAD_BUTTON_START) in ModeWorking()
|
| /TwlSDK-5.1.0/build/demos/mb/multiboot-Model/common/src/ |
| D | gmain.c | 77 sShareDataPtr->key = GetPressKey(); in GStepDataShare() 114 if ((sKeySet.key[0] != 0) || (sKeySet.key[1] != 0)) in GStepDataShare() 116 OS_TPrintf("0 -> %04x 1 -> %04x\n", sKeySet.key[0], sKeySet.key[1]); in GStepDataShare() 139 BgPrintStr(4, 3, 0x4, "Send: %04x-%04x", sShareDataPtr->key, sShareDataPtr->count); in GMain() 152 "Player%02d: %04x-%04x", i, sd->key, sd->count & 0xffff); in GMain()
|
| /TwlSDK-5.1.0/build/demos/mb/cloneboot/src/ |
| D | gmain.c | 82 sShareDataPtr->key = GetPressKey(); in GStepDataShare() 119 if ((sKeySet.key[0] != 0) || (sKeySet.key[1] != 0)) in GStepDataShare() 121 OS_TPrintf("0 -> %04x 1 -> %04x\n", sKeySet.key[0], sKeySet.key[1]); in GStepDataShare() 144 BgPrintStr(4, 3, 0x4, "Send: %04x-%04x", sShareDataPtr->key, sShareDataPtr->count); in GMain() 157 "Player%02d: %04x-%04x", i, sd->key, sd->count & 0xffff); in GMain()
|
| /TwlSDK-5.1.0/build/demos/wvr/with_mb/common/src/ |
| D | gmain.c | 82 sShareDataPtr->key = GetPressKey(); in GStepDataShare() 119 if ((sKeySet.key[0] != 0) || (sKeySet.key[1] != 0)) in GStepDataShare() 121 OS_TPrintf("0 -> %04x 1 -> %04x\n", sKeySet.key[0], sKeySet.key[1]); in GStepDataShare() 144 BgPrintStr(4, 3, 0x4, "Send: %04x-%04x", sShareDataPtr->key, sShareDataPtr->count); in GMain() 157 "Player%02d: %04x-%04x", i, sd->key, sd->count & 0xffff); in GMain()
|
| /TwlSDK-5.1.0/build/demos/mb/fake_child/common/src/ |
| D | gmain.c | 83 sShareDataPtr->key = GetPressKey(); in GStepDataShare() 120 if ((sKeySet.key[0] != 0) || (sKeySet.key[1] != 0)) in GStepDataShare() 122 OS_TPrintf("0 -> %04x 1 -> %04x\n", sKeySet.key[0], sKeySet.key[1]); in GStepDataShare() 145 BgPrintStr(4, 3, 0x4, "Send: %04x-%04x", sShareDataPtr->key, sShareDataPtr->count); in GMain() 158 "Player%02d: %04x-%04x", i, sd->key, sd->count & 0xffff); in GMain()
|
| /TwlSDK-5.1.0/build/demos/gx/UnitTours/DEMOLib/include/ |
| D | DEMOKey.h | 39 #define DEMO_IS_TRIG(key) (gKeyWork.trigger & (key)) argument 40 #define DEMO_IS_PRESS(key) (gKeyWork.press & (key)) argument
|
| /TwlSDK-5.1.0/build/demos/crypto/rc4-2/src/ |
| D | main.c | 174 u8 key[] = { in CompareRC4Speed() local 195 CRYPTO_RC4(key, sizeof(key), data, sizeof(data)); in CompareRC4Speed() 201 CRYPTO_RC4(key, sizeof(key), data, sizeof(data)); in CompareRC4Speed() 216 CRYPTO_RC4Fast(key, sizeof(key), data, sizeof(data)); in CompareRC4Speed() 222 CRYPTO_RC4Fast(key, sizeof(key), data, sizeof(data)); in CompareRC4Speed()
|
| /TwlSDK-5.1.0/include/nitro/crypto/ |
| D | rc4.h | 49 const void* key, 107 const void* key, in CRYPTO_RC4() argument 114 CRYPTO_RC4Init(&context, key, key_len); in CRYPTO_RC4() 143 const void* key, 204 const void* key, in CRYPTO_RC4Fast() argument 211 CRYPTO_RC4FastInit(&context, key, key_len); in CRYPTO_RC4Fast()
|
| /TwlSDK-5.1.0/build/demos/crypto/rc4-3/include/ |
| D | rc4enc.h | 49 u8 key[RC4ENC_TOTAL_KEY_LENGTH]; member 55 u8 key[RC4ENC_TOTAL_KEY_LENGTH]; member 73 const void* key 109 const void* key
|
| /TwlSDK-5.1.0/build/demos/crypto/rc4-1/src/ |
| D | main.c | 211 char* key[] = { in RC4Test() local 233 CRYPTO_RC4Init(&context, key[i], GetStringLength(key[i])); in RC4Test() 242 CRYPTO_RC4(key[i], GetStringLength(key[i]), result, len); in RC4Test() 253 char* key[] = { in RC4Test() local 275 CRYPTO_RC4FastInit(&context, key[i], GetStringLength(key[i])); in RC4Test() 284 CRYPTO_RC4Fast(key[i], GetStringLength(key[i]), result, len); in RC4Test()
|
| /TwlSDK-5.1.0/build/demos.TWL/aes/common-perl/ |
| D | aes.pl | 11 my $key = unpack("H*", $$rKey); 16 open2(*PIPE_IN, *PIPE_OUT, "$aesconv -m ctr -k hex:$key -c hex:$ctr") or die "cant exec aesconv\n"; 35 my $key = unpack("H*", $$rKey); 41 …open2(*PIPE_IN, *PIPE_OUT, "$aesconv -m ccm -k hex:$key -n hex:$nonce -a stdin:$adata_len -t $tlen…
|
| /TwlSDK-5.1.0/build/libraries/snd/common/src/ |
| D | snd_bank.c | 244 BOOL SND_ReadInstData(const SNDBankData *bank, int prgNo, int key, SNDInstData *inst) in SND_ReadInstData() argument 260 return bankcb->readInstDataFunc(bankcb, prgNo, key, inst); in SND_ReadInstData() 297 if (key < min || key > max) in SND_ReadInstData() 303 *inst = drumSet->instOffset[key - min]; // Structure copy in SND_ReadInstData() 312 while (key > MI_ReadByte(&keySplit->key[index])) in SND_ReadInstData() 349 BOOL SND_WriteInstData(SNDBankData *bank, int prgNo, int key, const struct SNDInstData *inst) in SND_WriteInstData() argument 393 if (key < min || key > max) in SND_WriteInstData() 399 drumSet->instOffset[key - min] = *inst; // Structure copy in SND_WriteInstData() 408 while (key > MI_ReadByte(&keySplit->key[index])) in SND_WriteInstData() 514 if (keySplit->key[pos->index] == 0) in SND_GetNextInstData() [all …]
|
| /TwlSDK-5.1.0/include/twl/os/common/ |
| D | systemCall.h | 49 u8 key[SVC_SHA1_BLOCK_SIZE]; member 58 const void* key; member 117 void SVC_HMACSHA1Init( SVCHMACSHA1Context *ctx, const void *key, u32 keylen ); 120 void SVC_CalcHMACSHA1( void* md, const void* data, u32 len, const void* key, u32 keylen );
|
| /TwlSDK-5.1.0/include/nitro/snd/common/ |
| D | bank.h | 132 u8 key[SND_INST_KEYSPLIT_MAX]; member 156 int key, struct SNDInstData *inst); 182 BOOL SND_ReadInstData(const struct SNDBankData *bank, int prgNo, int key, 184 BOOL SND_WriteInstData(struct SNDBankData *bank, int prgNo, int key, 198 int key,
|
| /TwlSDK-5.1.0/build/demos/mb/multiboot-wfs/child/src/ |
| D | child.c | 192 KeyInfo key[1]; in ModeSelect() local 194 InitFrameLoop(key); in ModeSelect() 197 WaitForNextFrame(key); in ModeSelect() 199 if (key->trg & PAD_BUTTON_B) in ModeSelect() 225 KeyInfo key[1]; in ModeChild() local 235 InitFrameLoop(key); in ModeChild() 240 WaitForNextFrame(key); in ModeChild() 244 ModeChildOverlay(key); in ModeChild() 246 ModeChildFile(key); in ModeChild()
|
| /TwlSDK-5.1.0/build/libraries/math/common/src/ |
| D | dgt_hmac.c | 43 const void *key, u32 key_length, in MATHi_CalcHMAC() argument 54 if((mac == NULL)||(message == NULL)||(message_length == 0)||(key == NULL)|| in MATHi_CalcHMAC() 64 funcs->HashSetSource(funcs->context, key, key_length); in MATHi_CalcHMAC() 71 use_key = (u8*)key; in MATHi_CalcHMAC()
|
| /TwlSDK-5.1.0/include/twl/crypto/ |
| D | rsa.h | 55 void *key; // [in] Public key string member 81 void *key; // [in] Public key string member 109 void *key; // [in] Private key string member 128 void *key; // [in] Public key string member
|
| /TwlSDK-5.1.0/build/demos/fs/overlay-staticinit/include/ |
| D | mode.h | 59 #define IS_INPUT_(input, key, action) \ argument 60 (((input).action ## _bits & (key)) != 0)
|
| /TwlSDK-5.1.0/build/demos/snd/seq/src/ |
| D | channel.c | 35 u8 key; /* Playback key */ member 172 ch->key = midi_data[1]; in NoteOn() 190 SND_CalcTimer(PIANO_G5_PCM16_TIMER, (int)(ch->key - 67) * 64), in NoteOn() 217 if ((ch->midi_ch == (u8)(midi_data[0] & 0x0f)) && (ch->key == midi_data[1])) in NoteOff()
|
| /TwlSDK-5.1.0/build/demos/wm/dataShare-Model/src/ |
| D | menu.c | 232 KeyInfo *key; in updateWindow() local 233 key = getKeyInfo(); in updateWindow() 234 if (key->trg & PAD_BUTTON_A) in updateWindow() 238 if (key->trg & PAD_BUTTON_B) in updateWindow() 243 if (key->trg & PAD_KEY_UP) in updateWindow() 251 if (key->trg & PAD_KEY_DOWN) in updateWindow()
|
| /TwlSDK-5.1.0/build/demos/wm/wep-1/src/ |
| D | menu.c | 200 KeyInfo *key; in updateWindow() local 201 key = getKeyInfo(); in updateWindow() 202 if (key->trg & PAD_BUTTON_A) in updateWindow() 206 if (key->trg & PAD_BUTTON_B) in updateWindow() 211 if (key->trg & PAD_KEY_UP) in updateWindow() 219 if (key->trg & PAD_KEY_DOWN) in updateWindow()
|