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

📄 bni68020.h

📁 vc环境下的pgp源码
💻 H
字号:
/*
 * bni68020.h - 32-bit bignum primitives for the 68020 (or 683xx) processors.
 *
 * These primitives use little-endian word order.
 * (The order of bytes within words is irrelevant.)
 *
 * $Id: bni68020.h,v 1.2 1997/05/05 19:49:11 lloyd Exp $
 */
#define BN_LITTLE_ENDIAN 1

typedef unsigned long bnword32;
#define BNWORD32 bnword32

PGP_BEGIN_C_DECLARATIONS

bnword32 bniSub1_32(bnword32 *num, unsigned len, bnword32 borrow);
bnword32 bniAdd1_32(bnword32 *num, unsigned len, bnword32 carry);
void bniMulN1_32(bnword32 *out, bnword32 const *in, unsigned len, bnword32 k);
bnword32
bniMulAdd1_32(bnword32 *out, bnword32 const *in, unsigned len, bnword32 k);
bnword32
bniMulSub1_32(bnword32 *out, bnword32 const *in, unsigned len, bnword32 k);
bnword32 bniDiv21_32(bnword32 *q, bnword32 nh, bnword32 nl, bnword32 d);
unsigned bniModQ_32(bnword32 const *n, unsigned len, unsigned d);

PGP_END_C_DECLARATIONS

/* #define the values to exclude the C versions */
#define bniSub1_32 bniSub1_32
#define bniAdd1_32 bniAdd1_32
#define bniMulN1_32 bniMulN1_32
#define bniMulAdd1_32 bniMulAdd1_32
#define bniMulSub1_32 bniMulSub1_32
#define bniDiv21_32 bniDiv21_32
#define bniModQ_32 bniModQ_32

⌨️ 快捷键说明

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