Simplify creation of secret from DH negotiation.
authorStef Walter <stef@memberwebs.com>
Sat, 12 Dec 2009 00:02:04 +0000 (00:02 +0000)
committerStef Walter <stef@memberwebs.com>
Sat, 12 Dec 2009 00:02:04 +0000 (00:02 +0000)
commit7475c3447d99ac271966f6bc80ad36bfcb234474
tree1418930fbaa660215124201d6c1abdafde69fb70
parentd04b105217b1fb5a0a135171abfaa30e6416bbdf
Simplify creation of secret from DH negotiation.

PKCS#11 says to use the low order bytes, and that's what we do
here. This bears more research to make sure we're doing this
in a standard way.
egg/egg-dh.c
egg/egg-dh.h
egg/tests/unit-test-dh.c