From e8bb6453e27cc8e5d649a18fcfd418eac9ae6859 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Mon, 18 Aug 2008 20:13:10 +0000 Subject: [PATCH] Dummy EVP_CipherUpdate EVP_CipherFinal_ex git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23624 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/hcrypto/evp.c | 38 +++++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/lib/hcrypto/evp.c b/lib/hcrypto/evp.c index 0028b6cb9..21db936b1 100644 --- a/lib/hcrypto/evp.c +++ b/lib/hcrypto/evp.c @@ -792,7 +792,43 @@ EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *c, ENGINE *engine, } /** - * Encypher/decypher data + * Encipher/decipher partial data + * + * @param ctx the cipher context. + * @param out output data from the operation. + * @param outlen output length + * @param in input data to the operation. + * @param inlen length of data. + * + * @return 1 on success. + */ + +int +EVP_CipherUpdate(EVP_CIPHER_CTX *ctx, void *out, int *outlen, + void *in, size_t inlen) +{ + return 0; +} + +/** + * Encipher/decipher final data + * + * @param ctx the cipher context. + * @param out output data from the operation. + * @param outlen output length + * + * @return 1 on success. + */ + + +int +EVP_CipherFinal_ex(EVP_CIPHER_CTX *ctx, void *out, int *outlen) +{ + return 0; +} + +/** + * Encipher/decipher data * * @param ctx the cipher context. * @param out out data from the operation.