mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
See ChangeLog: Wed Jun 14 12:27:09 CEST 2000 Werner Koch
This commit is contained in:
parent
b8013e44ad
commit
07e51ec069
9 changed files with 92 additions and 33 deletions
|
@ -82,6 +82,8 @@ write_header( cipher_filter_context_t *cfx, IOBUF a )
|
|||
cipher_setkey( cfx->cipher_hd, cfx->dek->key, cfx->dek->keylen );
|
||||
cipher_setiv( cfx->cipher_hd, NULL, 0 );
|
||||
/* log_hexdump( "prefix", temp, nprefix+2 ); */
|
||||
if( cfx->mdc_hash ) /* hash the "IV" */
|
||||
md_write( cfx->mdc_hash, temp, nprefix+2 );
|
||||
cipher_encrypt( cfx->cipher_hd, temp, temp, nprefix+2);
|
||||
cipher_sync( cfx->cipher_hd );
|
||||
iobuf_write(a, temp, nprefix+2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue