Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
38a4c351
G
Gpdb
项目概览
Greenplum
/
Gpdb
通知
7
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
Gpdb
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
38a4c351
编写于
8月 22, 2001
作者:
T
Tom Lane
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Persuade new pgcrypto stuff to compile.
上级
ef80c87f
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
18 addition
and
18 deletion
+18
-18
contrib/pgcrypto/blf.h
contrib/pgcrypto/blf.h
+14
-14
contrib/pgcrypto/rijndael.c
contrib/pgcrypto/rijndael.c
+1
-1
contrib/pgcrypto/rijndael.h
contrib/pgcrypto/rijndael.h
+3
-3
未找到文件。
contrib/pgcrypto/blf.h
浏览文件 @
38a4c351
...
...
@@ -57,26 +57,26 @@ typedef struct BlowfishContext {
* Blowfish_expand0state( state, key, keylen )
*/
void
Blowfish_encipher
__P
((
blf_ctx
*
,
uint32
*
)
);
void
Blowfish_decipher
__P
((
blf_ctx
*
,
uint32
*
)
);
void
Blowfish_initstate
__P
((
blf_ctx
*
)
);
void
Blowfish_expand0state
__P
((
blf_ctx
*
,
const
uint8
*
,
uint16
)
);
void
Blowfish_encipher
(
blf_ctx
*
,
uint32
*
);
void
Blowfish_decipher
(
blf_ctx
*
,
uint32
*
);
void
Blowfish_initstate
(
blf_ctx
*
);
void
Blowfish_expand0state
(
blf_ctx
*
,
const
uint8
*
,
uint16
);
void
Blowfish_expandstate
__P
((
blf_ctx
*
,
const
uint8
*
,
uint16
,
const
uint8
*
,
uint16
)
);
(
blf_ctx
*
,
const
uint8
*
,
uint16
,
const
uint8
*
,
uint16
);
/* Standard Blowfish */
void
blf_key
__P
((
blf_ctx
*
,
const
uint8
*
,
uint16
)
);
void
blf_enc
__P
((
blf_ctx
*
,
uint32
*
,
uint16
)
);
void
blf_dec
__P
((
blf_ctx
*
,
uint32
*
,
uint16
)
);
void
blf_key
(
blf_ctx
*
,
const
uint8
*
,
uint16
);
void
blf_enc
(
blf_ctx
*
,
uint32
*
,
uint16
);
void
blf_dec
(
blf_ctx
*
,
uint32
*
,
uint16
);
/* Converts uint8 to uint32 */
uint32
Blowfish_stream2word
__P
((
const
uint8
*
,
uint16
,
uint16
*
));
uint32
Blowfish_stream2word
(
const
uint8
*
,
uint16
,
uint16
*
);
void
blf_ecb_encrypt
__P
((
blf_ctx
*
,
uint8
*
,
uint32
));
void
blf_ecb_decrypt
__P
((
blf_ctx
*
,
uint8
*
,
uint32
));
void
blf_ecb_encrypt
(
blf_ctx
*
,
uint8
*
,
uint32
);
void
blf_ecb_decrypt
(
blf_ctx
*
,
uint8
*
,
uint32
);
void
blf_cbc_encrypt
(
blf_ctx
*
,
uint8
*
,
uint8
*
,
uint32
);
void
blf_cbc_decrypt
(
blf_ctx
*
,
uint8
*
,
uint8
*
,
uint32
);
void
blf_cbc_encrypt
__P
((
blf_ctx
*
,
uint8
*
,
uint8
*
,
uint32
));
void
blf_cbc_decrypt
__P
((
blf_ctx
*
,
uint8
*
,
uint8
*
,
uint32
));
#endif
contrib/pgcrypto/rijndael.c
浏览文件 @
38a4c351
...
...
@@ -45,7 +45,7 @@ Mean: 500 cycles = 51.2 mbits/sec
#define PRE_CALC_TABLES
#define LARGE_TABLES
static
void
gen_tabs
__P
((
void
)
);
static
void
gen_tabs
(
void
);
/* 3. Basic macros for speeding up generic operations */
...
...
contrib/pgcrypto/rijndael.h
浏览文件 @
38a4c351
...
...
@@ -41,9 +41,9 @@ typedef struct _rijndael_ctx {
/* require endian conversions for big-endian architectures */
rijndael_ctx
*
rijndael_set_key
__P
((
rijndael_ctx
*
,
const
u4byte
*
,
const
u4byte
,
int
)
);
void
rijndael_encrypt
__P
((
rijndael_ctx
*
,
const
u4byte
*
,
u4byte
*
)
);
void
rijndael_decrypt
__P
((
rijndael_ctx
*
,
const
u4byte
*
,
u4byte
*
)
);
rijndael_set_key
(
rijndael_ctx
*
,
const
u4byte
*
,
const
u4byte
,
int
);
void
rijndael_encrypt
(
rijndael_ctx
*
,
const
u4byte
*
,
u4byte
*
);
void
rijndael_decrypt
(
rijndael_ctx
*
,
const
u4byte
*
,
u4byte
*
);
/* conventional interface */
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录