?? s3c2510des.h
字號:
/* s3c2510Des.h - SAMSUNG S3C2510 DES/3DES header */
/* Copyright 2002 SAMSUNG ELECTRONICS */
/*
modification history
--------------------
01a,15apr02,jmLee created.
*/
#ifndef __INCs3c2510Desh
#define __INCs3c2510Desh
#ifdef __cplusplus
extern "C" {
#endif
/* DES/3DES Definitions */
#define DES_3DES /* Support 3DES Mode */
#define DES_CBC /* Support CBC Mode */
#define DES_4WORD /* Support 4WORD Mode */
#define DES_GDMA /* Support GDMA Mode */
#define DES_FALLING /* Support Falling Mode */
#define DES_IGDMA 1 /* GDMA for DES Input */
#define DES_OGDMA 0 /* GDMA for DES Output */
/* Function Prototypes */
#if defined(__STDC__) || defined(__cplusplus)
IMPORT STATUS s3c2510DesInit(void);
IMPORT STATUS s3c2510DesRun(UCHAR *inBuffer, UCHAR *outBuffer, int length, UINT32 key1L, UINT32 key1R, UINT32 key2L, UINT32 key2R, UINT32 key3L, UINT32 key3R, UINT32 ivL, UINT32 ivR, BOOL bEncrypt);
#else /* defined(__STDC__) || defined(__cplusplus) */
IMPORT STATUS s3c2510DesInit();
IMPORT STATUS s3c2510DesRun();
#endif /* defined(__STDC__) || defined(__cplusplus) */
#ifdef __cplusplus
}
#endif
#endif /* __INCs3c2510Desh */
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -