[Botan-devel] DH public key generation
rippeltippel at gmail.com
Thu Oct 9 04:32:41 EDT 2008
It works, thank you!!!
On Wed, Oct 8, 2008 at 4:31 PM, Jack Lloyd <lloyd at randombit.net> wrote:
> On Wed, Oct 08, 2008 at 04:08:11PM +0100, rippel tippel wrote:
> > I know that's because the AES-256 key length should be 32 bytes, but from
> > Diffie-Hellman I get a 128-byte key.
> > How can I decide to generate a 32-byte key from Diffie-Hellman exchange?
> The right thing to do here is use a KDF or PRF. That will allow you to
> generate any sized cipher key (or sequence of keys, for MACs, key
> rollover, and using two sets of keys for each channel (one each
> A PRF that would be reasonable to use in this situation is the TLSv1
> botan-devel mailing list
> botan-devel at randombit.net
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the botan-devel