di_key
free(decrypt_init.di_key.ck_data);
free_key_attributes(&decrypt_init.di_key);
decrypt_init.di_key.ck_format = CRYPTO_KEY_REFERENCE;
decrypt_init.di_key.ck_obj_id = key_p->k_handle;
decrypt_init.di_key.ck_format = CRYPTO_KEY_RAW;
decrypt_init.di_key.ck_data =
if (decrypt_init.di_key.ck_data == NULL) {
decrypt_init.di_key.ck_length =
if (get_rsa_private_key(key_p, &decrypt_init.di_key) !=
init.di_key.ck_data = op->key;
init.di_key.ck_format = CRYPTO_KEY_RAW; /* must be this */
init.di_key.ck_length = op->keylen;
struct di_key *dik = key;
struct di_key *dik = key;
kmem_free(dik, sizeof (struct di_key));
struct di_key *dik1, *dik2;
struct di_key *key = kmem_zalloc(sizeof (*key), KM_SLEEP);
struct di_key key = {0};
struct di_key *key = kmem_zalloc(sizeof (*key), KM_SLEEP);
struct di_key key = {0};
crypto_key_t di_key;
crypto_key32_t di_key;