From 46233322e89eea73f4bb763be92bcb2a13c22597 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Fri, 28 Dec 2007 11:59:52 +0000 Subject: [PATCH] more doxygen git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22359 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/hcrypto/evp.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/lib/hcrypto/evp.c b/lib/hcrypto/evp.c index 20eb425ec..0dc553143 100644 --- a/lib/hcrypto/evp.c +++ b/lib/hcrypto/evp.c @@ -213,7 +213,7 @@ EVP_MD_CTX_size(EVP_MD_CTX *ctx) /** * Return the blocksize of the message digest function. * - * @param md the evp message digest context + * @param ctx the evp message digest context * * @return size size of the message digest block size * @@ -226,6 +226,18 @@ EVP_MD_CTX_block_size(EVP_MD_CTX *ctx) return EVP_MD_block_size(ctx->md); } +/** + * Init a EVP_MD_CTX for use a specific message digest and engine. + * + * @param ctx the message digest context to init. + * @param md the message digest to use. + * @param engine the engine to use, NULL to use the default engine. + * + * @return 1 on success. + * + * @ingroup hcrypto_evp + */ + int EVP_DigestInit_ex(EVP_MD_CTX *ctx, const EVP_MD *md, ENGINE *engine) { -- 2.11.4.GIT