|
From: | Ralph Giles |
Subject: | Re: [pdf-devel] Crypt module discussion |
Date: | Wed, 30 Jul 2008 12:03:35 -0700 |
On 30-Jul-08, at 8:03 AM, David Vazquez wrote:
/* Set initialization vector (Only for AESV2) */pdf_status_t pdf_crypt_setiv (pdf_crypt_t cipher, const void * key, size_t size);
FWIW, in the Ghostscript implementation I just take the iv implicitly from the first 16 bytes of the stream, so there's no need for special handling. One never knows how future proof such assumptions are, but it simplified the caller a bit.
-r
[Prev in Thread] | Current Thread | [Next in Thread] |