⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 s3c2510des.h

📁 S3c2510下的VXWORKS的BSP源代码(包括了以太网、串口、USB等等驱动)
💻 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 + -