[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNU Crypto] Re: Bug in BasePad.selfTest()
From: |
Raif S. Naffah |
Subject: |
[GNU Crypto] Re: Bug in BasePad.selfTest() |
Date: |
Mon, 26 May 2003 07:03:07 +1000 |
User-agent: |
KMail/1.5.1 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
hello Barry,
On Mon, 26 May 2003 06:32 am, baz wrote:
> Hi,
>
> When using the PadFactory to create a padding scheme, it first
> instantiates a concrete padding class and then calls the selfTest()
> method.
>
> To use the padding scheme a user calls init() with the desired
> blocksize.
>
> However, init() will fail if it has already been called or if the
> object has not been reset since the last call. The init() method
> throws an exception if blockSize is not -1. Unfortunately the
> selfTest() method calls init many times and fails to call reset() at
> the end of it. This means that if a user gets a padding object from
> the factory they will first have to reset it before initialising it.
>
> May I suggest adding a call to reset() at the end of
> BasePad.selfTest()?
are you using the CVS HEAD version? i remember fixing this.
> Regards,
> barry
- --
cheers;
rsn
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Que du magnifique
iD8DBQE+0S+L+e1AKnsTRiERA27HAKDxeU9qwjKmGTumLOX2PuUo2i4T/wCg5vzN
rndh9OTKbKqUvp1DCHAFaQk=
=tkmg
-----END PGP SIGNATURE-----
- Re: [GNU Crypto] how to deal with weak keys. was: Documentation, (continued)
- Re: [GNU Crypto] how to deal with weak keys. was: Documentation, Raif S. Naffah, 2003/05/30
- Re: [GNU Crypto] how to deal with weak keys. was: Documentation, Casey Marshall, 2003/05/30
- Re: [GNU Crypto] how to deal with weak keys. was: Documentation, Raif S. Naffah, 2003/05/30
- Re: [GNU Crypto] how to deal with weak keys. was: Documentation, Marcel Winandy, 2003/05/31
- Re: [GNU Crypto] how to deal with weak keys. was: Documentation, Raif S. Naffah, 2003/05/31
- [GNU Crypto] Bug in BasePad.selfTest(), baz, 2003/05/25
- [GNU Crypto] Re: Bug in BasePad.selfTest(),
Raif S. Naffah <=