2003-03-31 Moritz Schulte <moritz@g10code.com>
authorMoritz Schulte <mo@g10code.com>
Mon, 31 Mar 2003 00:16:17 +0000 (00:16 +0000)
committerMoritz Schulte <mo@g10code.com>
Mon, 31 Mar 2003 00:16:17 +0000 (00:16 +0000)
commitb1a8defb74d2cc7a821b790e9e786395fa31f6fb
tree66d616fe898980cb91708b8689624b5439d7414a
parentac4209ebd9540e60f3bf380d9a7e592d43bd04bc
2003-03-31  Moritz Schulte  <moritz@g10code.com>

* cipher.c (do_ctr_decrypt): Made do_ctr_encrypt act as a wrapper
for do_ctr_encrypt, since these functions are identical.

2003-03-30  Simon Josefsson  <jas@extundo.com>

* cipher.c (struct gcry_cipher_handle): Add counter field.
(gcry_cipher_open): Add CTR.
(cipher_reset): Clear counter field.
(do_ctr_encrypt, do_ctr_decrypt): New functions.
(cipher_encrypt, cipher_decrypt): Call CTR functions.
(gcry_cipher_ctl): Add SET_CTR to set counter.
cipher/ChangeLog
cipher/cipher.c