sauthen.h

来自「采用非对称密钥加密方式的应用系统认证系统」· C头文件 代码 · 共 29 行

H
29
字号
/**********************************************************************/
/*      安 全 验 证 服 务 客 户 端 (Windows)                        */
/*                                                                    */
/*           作  者 :罗小江                                          */ 
/*           2001年10月 于 南京                                       */
/*                                                                    */
/**********************************************************************/

/*包含的各种头文件*/
#include <stdio.h>
#include <winsock.h>

#include "rsaeuro.h"
#include "rsa.h"

/*定义全局常量*/
#define LISTEN_PORT 10027
#define MSGLEN_BYTES 4    /*读入MsgLen字段长度*/
#define MAX_BUFFER_SIZE  4096
#define PUBLICKEY_LENGTH       (sizeof(R_RSA_PUBLIC_KEY)) /*存储所需字节数*/
#define KEY_BITS  512

#define TIME_OUT    10

/*定义接口函数*/
int SecureAuthen(char *, char *, char *, char *, char *, char *, char *, char *, char *);


⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?