Lines Matching defs:privkey
67 privateKey_free(crypto_key_t *privkey)
73 attrs = privkey->ck_attrs;
74 attrs_size = privkey->ck_count * sizeof (crypto_object_attribute_t);
75 for (i = 0; i < privkey->ck_count; i++) {
80 kmem_free(privkey, sizeof (crypto_key_t));
111 crypto_key_t *privkey;
123 if ((privkey = kssl_entry->ke_private_key) != NULL) {
124 privateKey_free(privkey);
278 extract_private_key(kssl_params_t *kssl_params, crypto_key_t **privkey)
343 *privkey = kssl_privkey;
401 crypto_key_t *privkey)
426 kssl_entry->ke_private_key = privkey;
534 crypto_key_t *privkey;
542 if ((rv = extract_private_key(kssl_params, &privkey)) != 0) {
547 kssl_entry = create_kssl_entry(kssl_params, cert, privkey);
550 privateKey_free(privkey);