Searched refs:ctx (Results 1 – 3 of 3) sorted by relevance
| /TwlSDK-5.2.1/include/twl/os/common/ |
| D | systemCall.h | 89 void SVC_SHA1Init( SVCSHA1Context *ctx ); 90 void SVC_SHA1Update( SVCSHA1Context *ctx, const void *data, u32 len ); 91 void SVC_SHA1GetHash( SVCSHA1Context *ctx, void *md ); 117 void SVC_HMACSHA1Init( SVCHMACSHA1Context *ctx, const void *key, u32 keylen ); 118 void SVC_HMACSHA1Update( SVCHMACSHA1Context *ctx, const void *data, u32 len ); 119 void SVC_HMACSHA1GetHash( SVCHMACSHA1Context *ctx, void* md );
|
| /TwlSDK-5.2.1/build/libraries/wm/ARM9.TWL/nwm/src/ |
| D | nwm_passphrase.c | 86 SVCHMACSHA1Context ctx; in pbkdf2_sha1_f() local 105 MI_CpuClear8(&ctx, sizeof(ctx)); in pbkdf2_sha1_f() 106 SVC_HMACSHA1Init( &ctx, (const void *)passphrase, (u32)passphrase_len ); in pbkdf2_sha1_f() 108 SVC_HMACSHA1Update( &ctx, (const void *)addr[i], (u32)len[i] ); in pbkdf2_sha1_f() 110 SVC_HMACSHA1GetHash( &ctx, (void*)tmp ); in pbkdf2_sha1_f() 120 MI_CpuClear8(&ctx, sizeof(ctx)); in pbkdf2_sha1_f() 121 SVC_HMACSHA1Init( &ctx, (const void *)passphrase, (u32)passphrase_len ); in pbkdf2_sha1_f() 122 SVC_HMACSHA1Update( &ctx, (const void *)addr[0], (u32)len[0] ); in pbkdf2_sha1_f() 123 SVC_HMACSHA1GetHash( &ctx, (void*)tmp2 ); in pbkdf2_sha1_f()
|
| /TwlSDK-5.2.1/build/libraries/dsp/common/src/ |
| D | dsp_pipe.c | 63 DSPFileIOContext *ctx = (DSPFileIOContext *)arg; in DSPi_FileIOProc() local 71 port = (int)MATH_CTZ((u32)ctx->pollbits); in DSPi_FileIOProc() 79 (void)OS_ReceiveMessage(ctx->msgq, msg, OS_MESSAGE_BLOCK); in DSPi_FileIOProc() 82 ctx->pollbits &= ~(1 << port); in DSPi_FileIOProc() 86 FSFile *file = ctx->file[port]; in DSPi_FileIOProc() 209 DSPFileIOContext *ctx = DSPiThread; in DSPi_NotifyFileIOUpdation() local 212 if (!ctx->initialized) in DSPi_NotifyFileIOUpdation() 217 FS_InitFile(ctx->file[i]); in DSPi_NotifyFileIOUpdation() 219 OS_InitMessageQueue(ctx->msgq, ctx->msga, 1); in DSPi_NotifyFileIOUpdation() 220 ctx->pollbits = 0; in DSPi_NotifyFileIOUpdation() [all …]
|