src/ChangeLog:
authorMoritz Schulte <mo@g10code.com>
Sat, 1 Apr 2006 13:20:04 +0000 (13:20 +0000)
committerMoritz Schulte <mo@g10code.com>
Sat, 1 Apr 2006 13:20:04 +0000 (13:20 +0000)
commiteaee2dd54a87f0adad6f47244cbf56aa0b04cd23
treea972cf4fd56b508e9d5f63dba60cbb2d95d06236
parent7f72aac52b926caa64d2290a8cfc3eb12fa5104d
src/ChangeLog:

2006-04-01  Moritz Schulte  <moritz@g10code.com>

* gcrypt.h (gcry_ac_eme_pkcs_v1_5): Removed members: key, handle;
added member: key_size.

* secmem.c (MB_FLAG_ACTIVE): write braces around MB_FLAG_ACTIVE
definition.

cipher/ChangeLog:

2006-04-01  Moritz Schulte  <moritz@g10code.com>

* ac.c (eme_pkcs_v1_5_encode): Use KEY_SIZE directly, no need to
call gcry_ac_key_get_nbits.
(eme_pkcs_v1_5_decode): Likewise.
(ac_es_dencode_prepare_pkcs_v1_5): Fill options_em structure with
key_size.
(_gcry_ac_data_dump, gcry_ac_data_dump): New functions.
(_gcry_ac_data_to_sexp, _gcry_ac_data_from_sexp): More or less
rewritten; changed S-Expression format so that it matches the one
used in pubkey.c.
cipher/ChangeLog
cipher/ac.c
src/ChangeLog
src/gcrypt.h
src/secmem.c