📄 fipsmodule.h
字号:
));
/* The VtGetParameterParam definition for getting a function pointer.
*/
typedef int VOLT_CALLING_CONV (*VFGetParameterParam) VOLT_PROTO_LIST ((
VtParameterObject paramObj,
VtParameterParam ParameterParam,
Pointer *getInfo
));
/* The VtParameterParam definition for getting a function pointer.
*/
typedef int VOLT_CALLING_CONV (*VFParameterParam) VOLT_PROTO_LIST ((
VtParameterObject paramObj,
Pointer info,
unsigned int flag
));
/* The VtGenerateParameters definition for getting a function pointer.
*/
typedef int VOLT_CALLING_CONV (*VFGenerateParameters) VOLT_PROTO_LIST ((
VtParamGenImpl ParamGenImpl,
Pointer associatedInfo,
VtRandomObject random,
VtParameterObject paramObj
));
/* The VtParamGenImpl definition for getting a function pointer.
*/
typedef int VOLT_CALLING_CONV (*VFParamGenImpl) VOLT_PROTO_LIST ((
VtParameterObject paramObj,
Pointer info,
unsigned int flag,
VtRandomObject random
));
/* The VtGenerateKeyPair definition for getting a function pointer.
*/
typedef int VOLT_CALLING_CONV (*VFGenerateKeyPair) VOLT_PROTO_LIST ((
VtKeyPairGenImpl KeyPairGenImpl,
Pointer associatedInfo,
VtRandomObject random,
VtKeyObject pubKey,
VtKeyObject priKey
));
/* The VtKeyPairGenImpl definition for getting a function pointer.
*/
typedef int VOLT_CALLING_CONV (*VFKeyPairGenImpl) VOLT_PROTO_LIST ((
VtKeyObject keyObj,
Pointer info,
unsigned int flag,
VtRandomObject random
));
/* The VtDeriveIBEPrivateKey definition for getting a function pointer.
*/
typedef int VOLT_CALLING_CONV (*VFDeriveIBEPrivateKey) VOLT_PROTO_LIST ((
VtIBEPriKeyDeriveImpl deriveImpl,
Pointer associatedInfo,
VtParameterObject ibeParams,
VtRandomObject random,
unsigned char *encodedId,
unsigned int encodedIdLen,
VtKeyObject ibePriKey
));
/* The VtIBEPriKeyDeriveImpl definition for getting a function pointer.
*/
typedef int VOLT_CALLING_CONV (*VFIBEPriKeyDeriveImpl) VOLT_PROTO_LIST ((
VtParameterObject paramObj,
VtKeyObject keyObj,
VtRandomObject random,
unsigned char *encodedId,
unsigned int encodedIdLen,
Pointer info,
unsigned int flag
));
/* The VtGenerateSharedSecret definition for getting a function pointer.
*/
typedef int VOLT_CALLING_CONV (*VFGenerateSharedSecret) VOLT_PROTO_LIST ((
VtAlgorithmObject algObj,
VtRandomObject random,
VtKeyObject otherPartyPubKey,
VtKeyObject myPriKey,
VtKeyObject sharedSecret
));
/* The VtSharedSecretGenImpl definition for getting a function pointer.
*/
typedef int VOLT_CALLING_CONV (*VFSharedSecretGenImpl) VOLT_PROTO_LIST ((
VtKeyObject pubKey,
VtKeyObject priKey,
VtKeyObject secret,
Pointer info,
unsigned int flag,
VtRandomObject random
));
/* The VoltLogError definition for getting a function pointer.
*/
typedef void VOLT_CALLING_CONV (*VFVoltLogError) VOLT_PROTO_LIST ((
VtLibCtx libraryCtx,
int errorCode,
int systemCode,
unsigned int errorType,
unsigned int functionLine,
char *functionName,
char *description
));
/* The VoltLogErrorInfo definition for getting a function pointer.
*/
typedef void VOLT_CALLING_CONV (*VFVoltLogErrorInfo) VOLT_PROTO_LIST ((
VtLibCtx libraryCtx,
VoltObject *obj,
int errorCode,
int sysErrorCode,
unsigned int errorType,
char *fileName,
char *functionName,
unsigned int functionLine,
char *description
));
/* The VtGetObjectState definition for getting a function pointer.
*/
typedef int VOLT_CALLING_CONV (*VFGetObjectState) VOLT_PROTO_LIST ((
Pointer theObject,
unsigned char *state,
unsigned int bufferSize,
unsigned int *stateLen
));
/* The VtSetObjectState definition for getting a function pointer.
*/
typedef int VOLT_CALLING_CONV (*VFSetObjectState) VOLT_PROTO_LIST ((
Pointer theObject,
unsigned char *state,
unsigned int stateLen
));
/* The VtCloneObject definition for getting a function pointer.
*/
typedef int VOLT_CALLING_CONV (*VFCloneObject) VOLT_PROTO_LIST ((
Pointer sourceObject,
Pointer *destObject
));
/* The VtDigestInit definition for getting a function pointer.
*/
typedef int VOLT_CALLING_CONV (*VFDigestInit) VOLT_PROTO_LIST ((
VtAlgorithmObject algObj
));
/* The VtDigestUpdate definition for getting a function pointer.
*/
typedef int VOLT_CALLING_CONV (*VFDigestUpdate) VOLT_PROTO_LIST ((
VtAlgorithmObject algObj,
unsigned char *dataToDigest,
unsigned int dataToDigestLen
));
/* The VtDigestFinal definition for getting a function pointer.
*/
typedef int VOLT_CALLING_CONV (*VFDigestFinal) VOLT_PROTO_LIST ((
VtAlgorithmObject algObj,
unsigned char *dataToDigest,
unsigned int dataToDigestLen,
unsigned char *digest,
unsigned int bufferSize,
unsigned int *digestLen
));
/* The VtMACInit definition for getting a function pointer.
*/
typedef int VOLT_CALLING_CONV (*VFMACInit) VOLT_PROTO_LIST ((
VtAlgorithmObject algObj,
VtKeyObject keyObj
));
/* The VtMACUpdate definition for getting a function pointer.
*/
typedef int VOLT_CALLING_CONV (*VFMACUpdate) VOLT_PROTO_LIST ((
VtAlgorithmObject algObj,
unsigned char *dataToMAC,
unsigned int dataToMACLen
));
/* The VtMACFinal definition for getting a function pointer.
*/
typedef int VOLT_CALLING_CONV (*VFMACFinal) VOLT_PROTO_LIST ((
VtAlgorithmObject algObj,
unsigned char *dataToMAC,
unsigned int dataToMACLen,
unsigned char *mac,
unsigned int bufferSize,
unsigned int *macLen
));
/* The VtEncryptInit definition for getting a function pointer.
*/
typedef int VOLT_CALLING_CONV (*VFEncryptInit) VOLT_PROTO_LIST ((
VtAlgorithmObject algObj,
VtKeyObject keyObj
));
/* The VtEncryptUpdate definition for getting a function pointer.
*/
typedef int VOLT_CALLING_CONV (*VFEncryptUpdate) VOLT_PROTO_LIST ((
VtAlgorithmObject algObj,
VtRandomObject random,
unsigned char *dataToEncrypt,
unsigned int dataToEncryptLen,
unsigned char *encryptedData,
unsigned int bufferSize,
unsigned int *encryptedDataLen
));
/* The VtEncryptFinal definition for getting a function pointer.
*/
typedef int VOLT_CALLING_CONV (*VFEncryptFinal) VOLT_PROTO_LIST ((
VtAlgorithmObject algObj,
VtRandomObject random,
unsigned char *dataToEncrypt,
unsigned int dataToEncryptLen,
unsigned char *encryptedData,
unsigned int bufferSize,
unsigned int *encryptedDataLen
));
/* The VtDecryptInit definition for getting a function pointer.
*/
typedef int VOLT_CALLING_CONV (*VFDecryptInit) VOLT_PROTO_LIST ((
VtAlgorithmObject algObj,
VtKeyObject keyObj
));
/* The VtDecryptUpdate definition for getting a function pointer.
*/
typedef int VOLT_CALLING_CONV (*VFDecryptUpdate) VOLT_PROTO_LIST ((
VtAlgorithmObject algObj,
VtRandomObject random,
unsigned char *dataToDecrypt,
unsigned int dataToDecryptLen,
unsigned char *decryptedData,
unsigned int bufferSize,
unsigned int *decryptedDataLen
));
/* The VtDecryptFinal definition for getting a function pointer.
*/
typedef int VOLT_CALLING_CONV (*VFDecryptFinal) VOLT_PROTO_LIST ((
VtAlgorithmObject algObj,
VtRandomObject random,
unsigned char *dataToDecrypt,
unsigned int dataToDecryptLen,
unsigned char *decryptedData,
unsigned int bufferSize,
unsigned int *decryptedDataLen
));
/* The VtProcessCFBOneBit definition for getting a function pointer.
*/
typedef int VOLT_CALLING_CONV (*VFProcessCFBOneBit) VOLT_PROTO_LIST ((
VtAlgorithmObject algObj,
VtRandomObject random,
unsigned int bitToProcess,
unsigned int *processedBit
));
/* The VtSign definition for getting a function pointer.
*/
typedef int VOLT_CALLING_CONV (*VFSign) VOLT_PROTO_LIST ((
VtAlgorithmObject algObj,
VtKeyObject keyObj,
VtRandomObject random,
unsigned int digestAlg,
unsigned char *digest,
unsigned int digestLen,
unsigned char *signature,
unsigned int bufferSize,
unsigned int *signatureLen
));
/* The VtVerifySignature definition for getting a function pointer.
*/
typedef int VOLT_CALLING_CONV (*VFVerifySignature) VOLT_PROTO_LIST ((
VtAlgorithmObject algObj,
VtKeyObject keyObj,
VtRandomObject random,
unsigned int digestAlg,
unsigned char *digest,
unsigned int digestLen,
unsigned char *signature,
unsigned int signatureLen,
unsigned int *verifyResult
));
/* The VtEncodeInit definition for getting a function pointer.
*/
typedef int VOLT_CALLING_CONV (*VFEncodeInit) VOLT_PROTO_LIST ((
VtAlgorithmObject algObj
));
/* The VtEncodeUpdate definition for getting a function pointer.
*/
typedef int VOLT_CALLING_CONV (*VFEncodeUpdate) VOLT_PROTO_LIST ((
VtAlgorithmObject algObj,
VtRandomObject random,
unsigned char *dataToEncode,
unsigned int dataToEncodeLen,
unsigned char *encodedData,
unsigned int bufferSize,
unsigned int *encodedDataLen
));
/* The VtEncodeFinal definition for getting a function pointer.
*/
typedef int VOLT_CALLING_CONV (*VFEncodeFinal) VOLT_PROTO_LIST ((
VtAlgorithmObject algObj,
VtRandomObject random,
unsigned char *dataToEncode,
unsigned int dataToEncodeLen,
unsigned char *encodedData,
unsigned int bufferSize,
unsigned int *encodedDataLen
));
/* The VtDecodeInit definition for getting a function pointer.
*/
typedef int VOLT_CALLING_CONV (*VFDecodeInit) VOLT_PROTO_LIST ((
VtAlgorithmObject algObj
));
/* The VtDecodeUpdate definition for getting a function pointer.
*/
typedef int VOLT_CALLING_CONV (*VFDecodeUpdate) VOLT_PROTO_LIST ((
VtAlgorithmObject algObj,
VtRandomObject random,
unsigned char *dataToDecode,
unsigned int dataToDecodeLen,
unsigned char *decodedData,
unsigned int bufferSize,
unsigned int *decodedDataLen
));
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -