seem to matter a lot.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24698
dc483132-0cff-0310-8789-
dd5450dbe970
{
krb5_error_code ret;
- ret = k5_nss_gen_import(key, CKM_CAMELLIA_CBC, CKA_DECRYPT);
+ ret = k5_nss_gen_import(key, CKM_CAMELLIA_CBC, CKA_ENCRYPT);
if (ret != 0)
return ret;
return k5_nss_gen_cbcmac_iov(key, CKM_CAMELLIA_CBC, ivec, data, num_data,
{
krb5_error_code ret;
- ret = k5_nss_gen_import(key, CKM_DES3_CBC, CKA_ENCRYPT);
+ ret = k5_nss_gen_import(key, CKM_DES3_CBC, CKA_DECRYPT);
if (ret != 0)
return ret;
return k5_nss_gen_block_iov(key, CKM_DES3_CBC, CKA_DECRYPT,