Derive Key work in progress patch #3.

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