Derive Key work in progress.  Updated per feedback comments.
This is not a working patch, still contains some errors.

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