/* 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 DNSSAFE_SECRCBC_H
#define DNSSAFE_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 /* DNSSAFE_SECRCBC_H */

