gnu-crypto-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNU Crypto] FYI: reset cipher adapters in doFinal


From: Casey Marshall
Subject: [GNU Crypto] FYI: reset cipher adapters in doFinal
Date: Sun, 2 Oct 2005 13:51:30 -0700

According to the spec, an implementation of CipherSpi should reset itself in 'doFinal' once the last block (if any) is processed.

This patch resets the cipher in 'engineDoFinal.'

2005-10-02  Casey Marshall  <address@hidden>

    * source/gnu/crypto/jce/cipher/CipherAdapter.java
    (engineInit): call 'reset.'
    (engineDoFinal): call 'reset.'
    (reset): new method.

Committed,

Attachment: jce-cipher.patch.txt
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]