• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/sys/contrib/openzfs/module/icp/core/

Lines Matching refs:kops

1027 		kcf_key_ops_params_t *kops = &params->rp_u.key_params;
1030 KCF_SET_PROVIDER_MECHNUM(kops->ko_framework_mechtype, pd,
1031 &kops->ko_mech);
1035 err = KCF_PROV_KEY_GENERATE(pd, kops->ko_sid,
1036 &kops->ko_mech,
1037 kops->ko_key_template, kops->ko_key_attribute_count,
1038 kops->ko_key_object_id_ptr, rhndl);
1042 err = KCF_PROV_KEY_GENERATE_PAIR(pd, kops->ko_sid,
1043 &kops->ko_mech,
1044 kops->ko_key_template, kops->ko_key_attribute_count,
1045 kops->ko_private_key_template,
1046 kops->ko_private_key_attribute_count,
1047 kops->ko_key_object_id_ptr,
1048 kops->ko_private_key_object_id_ptr, rhndl);
1052 err = KCF_PROV_KEY_WRAP(pd, kops->ko_sid,
1053 &kops->ko_mech,
1054 kops->ko_key, kops->ko_key_object_id_ptr,
1055 kops->ko_wrapped_key, kops->ko_wrapped_key_len_ptr,
1060 err = KCF_PROV_KEY_UNWRAP(pd, kops->ko_sid,
1061 &kops->ko_mech,
1062 kops->ko_key, kops->ko_wrapped_key,
1063 kops->ko_wrapped_key_len_ptr,
1064 kops->ko_key_template, kops->ko_key_attribute_count,
1065 kops->ko_key_object_id_ptr, rhndl);
1069 err = KCF_PROV_KEY_DERIVE(pd, kops->ko_sid,
1070 &kops->ko_mech,
1071 kops->ko_key, kops->ko_key_template,
1072 kops->ko_key_attribute_count,
1073 kops->ko_key_object_id_ptr, rhndl);
1257 kcf_key_ops_params_t *kops = &params->rp_u.key_params;
1260 KCF_SET_PROVIDER_MECHNUM(kops->ko_framework_mechtype, pd,
1261 &kops->ko_mech);
1265 err = KCF_PROV_NOSTORE_KEY_GENERATE(pd, kops->ko_sid,
1266 &kops->ko_mech, kops->ko_key_template,
1267 kops->ko_key_attribute_count,
1268 kops->ko_out_template1,
1269 kops->ko_out_attribute_count1, rhndl);
1274 kops->ko_sid, &kops->ko_mech,
1275 kops->ko_key_template, kops->ko_key_attribute_count,
1276 kops->ko_private_key_template,
1277 kops->ko_private_key_attribute_count,
1278 kops->ko_out_template1,
1279 kops->ko_out_attribute_count1,
1280 kops->ko_out_template2,
1281 kops->ko_out_attribute_count2,
1286 err = KCF_PROV_NOSTORE_KEY_DERIVE(pd, kops->ko_sid,
1287 &kops->ko_mech, kops->ko_key,
1288 kops->ko_key_template,
1289 kops->ko_key_attribute_count,
1290 kops->ko_out_template1,
1291 kops->ko_out_attribute_count1, rhndl);