dsaparamsder.h
来自「IBE是一种非对称密码技术」· C头文件 代码 · 共 56 行
H
56 行
/* Copyright 2005-2006, Voltage Security, all rights reserved.
*/
#include "vibe.h"
#include "environment.h"
#include "base.h"
#include "libctx.h"
#include "derhelp.h"
#include "oidlist.h"
#include "algid.h"
#ifndef _DSA_PARAMS_DER_H
#define _DSA_PARAMS_DER_H
#ifdef __cplusplus
extern "C" {
#endif
/* A DSA Parameter set is defined as follows (many standards)
* Dss-Parms ::= SEQUENCE {
* prime INTEGER,
* subprime INTEGER,
* base INTEGER }
*/
typedef struct
{
ASN1_INTEGER *prime;
ASN1_INTEGER *subprime;
ASN1_INTEGER *base;
} Asn1DsaParams;
DECLARE_ASN1_FUNCTIONS (Asn1DsaParams)
/* Some apps may encode a DSA pub key as follows.
* SEQUENCE {
* y INTEGER,
* prime INTEGER,
* subprime INTEGER,
* base INTEGER }
*/
typedef struct
{
ASN1_INTEGER *pubVal;
ASN1_INTEGER *prime;
ASN1_INTEGER *subprime;
ASN1_INTEGER *base;
} Asn1DsaPubAndParams;
DECLARE_ASN1_FUNCTIONS (Asn1DsaPubAndParams)
#ifdef __cplusplus
}
#endif
#endif /* _DSA_PARAMS_DER_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?