amencdec.h revision 65c4736d9c0ebc6d9b1d991593b55566909da9cd
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews/* Copyright (C) RSA Data Security, Inc. created 1994, 1996. This is an
28d9fd53819cc163629c867466b20d8ebcae8842David Lawrence unpublished work protected as such under copyright law. This work
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence contains proprietary, confidential, and trade secret information of
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews RSA Data Security, Inc. Use, disclosure or reproduction without the
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews express written authorization of RSA Data Security, Inc. is
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews prohibited.
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence */
15a44745412679c30a6d022733925af70a38b715David Lawrence
15a44745412679c30a6d022733925af70a38b715David Lawrencetypedef struct {
15a44745412679c30a6d022733925af70a38b715David Lawrence int (*Query) PROTO_LIST ((unsigned int *, POINTER, POINTER));
15a44745412679c30a6d022733925af70a38b715David Lawrence int (*Init) PROTO_LIST ((POINTER, POINTER, POINTER, A_SURRENDER_CTX *));
15a44745412679c30a6d022733925af70a38b715David Lawrence int (*Update) PROTO_LIST
15a44745412679c30a6d022733925af70a38b715David Lawrence ((POINTER, unsigned char *, unsigned int *, unsigned int,
15a44745412679c30a6d022733925af70a38b715David Lawrence unsigned char *, unsigned int, A_SURRENDER_CTX *));
15a44745412679c30a6d022733925af70a38b715David Lawrence int (*Final) PROTO_LIST
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews ((POINTER, unsigned char *, unsigned int *, unsigned int,
5d51e67c3b4f35c1be742574aacc1d88fe6ed444Mark Andrews A_SURRENDER_CTX *));
8dd5237a27e2e824d18f835dc711573aeb23a173Mark Andrews int (*GetMaxOutputLen) PROTO_LIST ((POINTER, unsigned int *, unsigned int));
0c310d16b05ee94743d33f6920907edee6084fc8Michael Graff int (*GetBlockLen) PROTO_LIST ((POINTER, unsigned int *));
0c310d16b05ee94743d33f6920907edee6084fc8Michael Graff} A_ENCRYPT_DECRYPT_ALGA;
de153390f5a1f6d4fa86af91d4cae772d9846ca0Mark Andrews
0c310d16b05ee94743d33f6920907edee6084fc8Michael Graff