Derive Key work in progress patch #4.
This patch compiles, but has not been tested.

Signed-off-by: Debora V Babb <dvelarde@us.ibm.com>