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

📄 pgpdsakey.h

📁 著名的加密软件的应用于电子邮件中
💻 H
字号:
/*
 * pgpDSAKey.h
 *
 * Copyright (C) 1996,1997 Pretty Good Privacy, Inc.  All rights reserved.
 *
 * $Id: pgpDSAKey.h,v 1.4.2.1 1997/06/07 09:51:22 mhw Exp $
 */

#ifndef PGPDSAKEY_H
#define PGPDSAKEY_H

#include "pgpUsuals.h"	/* For byte */
#include <stddef.h>	/* For size_t */

#ifdef __cplusplus
extern "C" {
#endif

/* Bits for uniqueness of p, q */
#define DSADUMMYBITS	64

struct PgpPubKey;
struct PgpSecKey;
struct PgpRandomContext;

struct PgpPubKey *dsaPubFromBuf(byte const *buf, size_t len, int *error);
struct PgpSecKey *dsaSecFromBuf(byte const *buf, size_t len, int *error);
int dsaPubKeyPrefixSize(byte const *buf, size_t size);

struct PgpSecKey *
dsaSecGenerate(unsigned bits, Boolean fastgen,
	struct PgpRandomContext const *rc,
	int progress(void *arg, int c), void *arg, int *error);

#ifdef __cplusplus
}
#endif

#endif /* PGPDSAKEY_H */

⌨️ 快捷键说明

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