资源简介
windows(x86)版 GMSSL 2019年最新
使用方法见 http://gmssl.org
代码片段和文件信息
/*
* Copyright 2004-2016 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the OpenSSL license (the “License“). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/license.html
*/
#define APPlink_STDIN 1
#define APPlink_STDOUT 2
#define APPlink_STDERR 3
#define APPlink_FPRINTF 4
#define APPlink_FGETS 5
#define APPlink_FREAD 6
#define APPlink_FWRITE 7
#define APPlink_FSETMOD 8
#define APPlink_FEOF 9
#define APPlink_FCLOSE 10 /* should not be used */
#define APPlink_FOPEN 11 /* solely for completeness */
#define APPlink_FSEEK 12
#define APPlink_FTELL 13
#define APPlink_FFLUSH 14
#define APPlink_FERROR 15
#define APPlink_CLEARERR 16
#define APPlink_FILENO 17 /* to be used with below */
#define APPlink_OPEN 18 /* formally can‘t be used as flags can vary */
#define APPlink_READ 19
#define APPlink_WRITE 20
#define APPlink_LSEEK 21
#define APPlink_CLOSE 22
#define APPlink_MAX 22 /* always same as last macro */
#ifndef APPMACROS_ONLY
# include
# include
# include
static void *app_stdin(void)
{
return stdin;
}
static void *app_stdout(void)
{
return stdout;
}
static void *app_stderr(void)
{
return stderr;
}
static int app_feof(FILE *fp)
{
return feof(fp);
}
static int app_ferror(FILE *fp)
{
return ferror(fp);
}
static void app_clearerr(FILE *fp)
{
clearerr(fp);
}
static int app_fileno(FILE *fp)
{
return _fileno(fp);
}
static int app_fsetmod(FILE *fp char mod)
{
return _setmode(_fileno(fp) mod == ‘b‘ ? _O_BINARY : _O_TEXT);
}
#ifdef __cplusplus
extern “C“ {
#endif
__declspec(dllexport)
void **
# if defined(__BORLANDC__)
/*
* __stdcall appears to be the only way to get the name
* decoration right with Borland C. Otherwise it works
* purely incidentally as we pass no parameters.
*/
__stdcall
# else
__cdecl
# endif
OPENSSL_Applink(void)
{
static int once = 1;
static void *OPENSSL_ApplinkTable[APPlink_MAX + 1] =
{ (void *)APPlink_MAX };
if (once) {
OPENSSL_ApplinkTable[APPlink_STDIN] = app_stdin;
OPENSSL_ApplinkTable[APPlink_STDOUT] = app_stdout;
OPENSSL_ApplinkTable[APPlink_STDERR] = app_stderr;
OPENSSL_ApplinkTable[APPlink_FPRINTF] = fprintf;
OPENSSL_ApplinkTable[APPlink_FGETS] = fgets;
OPENSSL_ApplinkTable[APPlink_FREAD] = fread;
OPENSSL_ApplinkTable[APPlink_FWRITE] = fwrite;
OPENSSL_ApplinkTable[APPlink_FSETMOD] = app_fsetmod;
OPENSSL_ApplinkTable[APPlink_FEOF] = app_feof;
OPENSSL_ApplinkTable[APPlink_FCLOSE] = fclose;
OPENSSL_ApplinkTable[APPlink_FOPEN] = fopen;
OPENSSL_ApplinkTable[APPlink_FSEEK] = fseek;
OPENSSL_ApplinkTable[APPlink_FTELL] = ftell;
OPENSSL_ApplinkTable[APPlink_FFLUSH] = fflush;
OPENSSL_ApplinkTable[APPlink_
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2019-04-08 15:51 bin\
文件 6408 2019-04-08 15:51 bin\c_rehash.pl
文件 480256 2019-04-08 15:51 bin\gmssl.exe
文件 2584576 2019-04-08 15:51 bin\gmssl.pdb
文件 2583552 2019-04-08 15:51 bin\libcrypto-1_1.dll
文件 10440704 2019-04-08 15:51 bin\libcrypto-1_1.pdb
文件 428544 2019-04-08 15:51 bin\libssl-1_1.dll
文件 2011136 2019-04-08 15:51 bin\libssl-1_1.pdb
目录 0 2019-04-08 15:52 html\
目录 0 2019-04-08 15:53 html\man1\
文件 8315 2019-04-08 15:52 html\man1\asn1parse.html
文件 15058 2019-04-08 15:52 html\man1\blake2b.html
文件 15058 2019-04-08 15:52 html\man1\blake2s.html
文件 5636 2019-04-08 15:53 html\man1\c_rehash.html
文件 55118 2019-04-08 15:52 html\man1\ca.html
文件 10033 2019-04-08 15:52 html\man1\CA.pl.html
文件 52431 2019-04-08 15:52 html\man1\ciphers.html
文件 30815 2019-04-08 15:52 html\man1\cms.html
文件 17497 2019-04-08 15:52 html\man1\config.html
文件 7415 2019-04-08 15:52 html\man1\crl.html
文件 4300 2019-04-08 15:52 html\man1\crl2pkcs7.html
文件 15058 2019-04-08 15:52 html\man1\dgst.html
文件 6315 2019-04-08 15:52 html\man1\dhparam.html
文件 7101 2019-04-08 15:52 html\man1\dsa.html
文件 4937 2019-04-08 15:52 html\man1\dsaparam.html
文件 14809 2019-04-08 15:52 html\man1\ec.html
文件 11906 2019-04-08 15:52 html\man1\ecparam.html
文件 18167 2019-04-08 15:52 html\man1\enc.html
文件 4065 2019-04-08 15:52 html\man1\engine.html
文件 1921 2019-04-08 15:52 html\man1\errstr.html
文件 3817 2019-04-08 15:52 html\man1\gendsa.html
............此处省略3280个文件信息
- 上一篇:舵机控制TIM1
- 下一篇:ModTran4_软件及中文说明书说明
评论
共有 条评论