pkcs#11v2.20 states that aes-cbc, aes-ecb, cdmf-ecb and des-ecb only wrap secret keys. Fix key_mgr_wrap_key and key_mgr_unwrap_key to comply with this. Also fix some of the return codes in these functions.
pkcs#11v2.20 states that aes-cbc, aes-ecb, cdmf-ecb and des-ecb only wrap
secret keys. Fix key_mgr_wrap_key and key_mgr_unwrap_key to comply with this.
Also fix some of the return codes in these functions.

Signed-off-by: Joy Latten <d52cec510126fd47fd8d2fded238791e9e5bd0bf@linux.vnet.ibm.com>

fingunter/OpenCryptoki,fingunter/OpenCryptoki,fingunter/OpenCryptoki,fingunter/OpenCryptoki