39 lines
1.2 KiB
C
39 lines
1.2 KiB
C
/* $NetBSD: secrcbc.h,v 1.1.1.1 2001/01/27 08:09:07 itojun Exp $ */
|
|
|
|
/* Copyright (C) RSA Data Security, Inc. created 1990, 1996. This is an
|
|
unpublished work protected as such under copyright law. This work
|
|
contains proprietary, confidential, and trade secret information of
|
|
RSA Data Security, Inc. Use, disclosure or reproduction without the
|
|
express written authorization of RSA Data Security, Inc. is
|
|
prohibited.
|
|
*/
|
|
|
|
#ifndef _SECRCBC_H_
|
|
#define _SECRCBC_H_ 1
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef void (*SECRET_CRYPT) PROTO_LIST
|
|
((POINTER, unsigned char *, unsigned char *));
|
|
|
|
int SecretCBCEncryptUpdate PROTO_LIST
|
|
((POINTER, unsigned char *, unsigned char *, unsigned int *, SECRET_CRYPT,
|
|
unsigned char *, unsigned int *, unsigned int, unsigned char *,
|
|
unsigned int));
|
|
int SecretCBCEncryptFinal PROTO_LIST ((unsigned int));
|
|
int SecretCBCDecryptUpdate PROTO_LIST
|
|
((POINTER, unsigned char *, unsigned char *, unsigned int *, SECRET_CRYPT,
|
|
unsigned char *, unsigned int *, unsigned int, unsigned char *,
|
|
unsigned int));
|
|
int SecretCBCDecryptFinal PROTO_LIST
|
|
((POINTER, unsigned char *, unsigned char *, unsigned int, SECRET_CRYPT,
|
|
unsigned char *, unsigned int *, unsigned int));
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|