p5pad.h

来自「voltage 公司提供的一个开发Ibe的工具包」· C头文件 代码 · 共 44 行

H
44
字号
/* Copyright 2003-2004, Voltage Security, all rights reserved.
 */

#include "vibecrypto.h"
#include "environment.h"
#include "base.h"
#include "libctx.h"
#include "algobj.h"
#include "pad.h"

#ifndef _P5_PAD_H
#define _P5_PAD_H

#ifdef __cplusplus
extern "C" {
#endif

/* Implements VPad.
 */
int VOLT_CALLING_CONV P5Pad VOLT_PROTO_LIST ((
   VoltAlgorithmObject *obj,
   VtRandomObject random,
   Pointer padCtx,
   unsigned char *block,
   unsigned int inputLen,
   unsigned int blockSize
));

/* Implements VUnpad.
 */
int VOLT_CALLING_CONV P5Unpad VOLT_PROTO_LIST ((
   VoltAlgorithmObject *obj,
   Pointer padCtx,
   unsigned char *block,
   unsigned int blockSize,
   unsigned int *outputLen
));

#ifdef __cplusplus
}
#endif

#endif /* _P5_PAD_H */

⌨️ 快捷键说明

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