mirror of
https://github.com/rvtr/twl_wrapsdk.git
synced 2025-10-31 06:11:10 -04:00
add sha-1 elements in syscall.
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/twl_wrapsdk/trunk@113 4ee2a332-4b2b-5046-8439-1ba90f034370
This commit is contained in:
parent
3c08abf84f
commit
0a2abed6b9
@ -48,13 +48,17 @@ int SVC_DecryptoSignDER(
|
|||||||
const void* key_ptr // キーへのポインタ
|
const void* key_ptr // キーへのポインタ
|
||||||
);
|
);
|
||||||
|
|
||||||
int SVC_GetDigest(
|
void SVC_SHA1Init( void *c );
|
||||||
|
void SVC_SHA1Update( void *c, const unsigned char *data, unsigned long len );
|
||||||
|
void SVC_SHA1GetHash( unsigned char *md, void *c );
|
||||||
|
|
||||||
|
int SVC_CalcSHA1(
|
||||||
void* buffer, // 出力領域
|
void* buffer, // 出力領域
|
||||||
const void* buf, // データへのポインタ
|
const void* buf, // データへのポインタ
|
||||||
unsigned int len // データの長さ
|
unsigned int len // データの長さ
|
||||||
);
|
);
|
||||||
|
|
||||||
int SVC_CompareDigest(
|
int SVC_CompareSHA1(
|
||||||
const void* decedHash, // SVC_Decrypto*の出力
|
const void* decedHash, // SVC_Decrypto*の出力
|
||||||
const void* digest // SVC_GetDigestの出力
|
const void* digest // SVC_GetDigestの出力
|
||||||
);
|
);
|
||||||
@ -72,6 +76,7 @@ int SVC_UncompressLZ16FromDeviceIMG( const void* srcp,
|
|||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} /* extern "C" */
|
} /* extern "C" */
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user