Skip to contentSkip to conversation

DH & KDF

DISCUSSION Stephan Mueller 2 participants 3 messages Jul 2, 2016 – Jul 6, 2016 Crypto API

lore
Share & tools
lore
#0 lore raw

Hi Mat, David,

I am currently working on adding the KDF support to the DH key service. The plan is to make it consistent with SP800-56A section 5.8.1 and yet open enough to allow other use cases with other KDFs.

Is there already a test tool that already exercises the DH logic that I can use to test my extension?

Thanks.

Ciao
Stephan

#1 lore raw

Stephan -

Quoted 6 lines · Stephan Mueller

I am currently working on adding the KDF support to the DH key service. The plan is to make it consistent with SP800-56A section 5.8.1 and yet open enough to allow other use cases with other KDFs.

Is there already a test tool that already exercises the DH logic that I can use to test my extension?

There are DH tests in the 'next' branch for keyutils:

https://git.kernel.org/cgit/linux/kernel/git/dhowells/keyutils.git/log/?h=next

An additional patch (waiting for review) is also required ("TEST: Use correct variable when checking for DH functionality"). I'll forward that to you.

--
Mat Martineau
Intel OTC