SF #3301770 Due to a common function being used for unwrap, des and 3des key unwrapping was looking for a specific template required only for AES keys, and additionally were being unpacked into the CKA_VALUE attribute instead of the CKA_IBM_OPAQUE attribute.
SF #3301770
Due to a common function being used for unwrap, des and 3des key
unwrapping was looking for a specific template required only for AES keys,
and additionally were being unpacked into the CKA_VALUE attribute
instead of the CKA_IBM_OPAQUE attribute.

Signed-off-by: Kent Yoder <a62f2225bf70bfaccbc7f1ef2a397836717377de@linux.vnet.ibm.com>

shpedoikal/opencryptoki,fingunter/OpenCryptoki,shpedoikal/opencryptoki,fingunter/OpenCryptoki,fingunter/OpenCryptoki,joylatten/opencryptoki,shpedoikal/opencryptoki,joylatten/opencryptoki,joylatten/opencryptoki,fingunter/OpenCryptoki,joylatten/opencryptoki,shpedoikal/opencryptoki,joylatten/opencryptoki