Lines Matching refs:crypto_key_t

693 static int dprov_digest_key(crypto_ctx_t *, crypto_key_t *,
710 static int dprov_mac_init(crypto_ctx_t *, crypto_mechanism_t *, crypto_key_t *,
719 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *,
722 crypto_session_id_t, crypto_mechanism_t *, crypto_key_t *, crypto_data_t *,
735 crypto_key_t *, crypto_spi_ctx_template_t, crypto_req_handle_t);
743 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *,
747 crypto_key_t *, crypto_spi_ctx_template_t, crypto_req_handle_t);
755 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *,
771 static int dprov_sign_init(crypto_ctx_t *, crypto_mechanism_t *, crypto_key_t *,
780 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *, crypto_data_t *,
783 crypto_key_t *, crypto_spi_ctx_template_t, crypto_req_handle_t);
787 crypto_session_id_t, crypto_mechanism_t *, crypto_key_t *,
803 crypto_key_t *, crypto_spi_ctx_template_t, crypto_req_handle_t);
811 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *,
814 crypto_key_t *, crypto_spi_ctx_template_t, crypto_req_handle_t);
818 crypto_session_id_t, crypto_mechanism_t *, crypto_key_t *,
850 crypto_mechanism_t *, crypto_key_t *, crypto_mechanism_t *,
851 crypto_key_t *, crypto_spi_ctx_template_t,
861 crypto_session_id_t, crypto_mechanism_t *, crypto_key_t *,
862 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *,
867 crypto_mechanism_t *, crypto_key_t *, crypto_mechanism_t *,
868 crypto_key_t *, crypto_spi_ctx_template_t,
878 crypto_session_id_t, crypto_mechanism_t *, crypto_key_t *,
879 crypto_mechanism_t *, crypto_key_t *, crypto_dual_data_t *,
883 crypto_session_id_t, crypto_mechanism_t *, crypto_key_t *,
884 crypto_mechanism_t *, crypto_key_t *, crypto_dual_data_t *,
972 crypto_mechanism_t *, crypto_key_t *, crypto_object_id_t *,
975 crypto_mechanism_t *, crypto_key_t *, uchar_t *, size_t *,
979 crypto_mechanism_t *, crypto_key_t *, crypto_object_attribute_t *,
1033 crypto_session_id_t, crypto_mechanism_t *, crypto_key_t *,
1356 crypto_key_t *dr_key;
1364 crypto_key_t *dr_key;
1374 crypto_key_t *dr_key;
1384 crypto_key_t *sr_key;
1394 crypto_key_t *vr_key;
1413 crypto_key_t *mr_cipher_key;
1415 crypto_key_t *mr_mac_key;
1463 crypto_key_t *kr_key;
1534 crypto_req_handle_t, crypto_mechanism_t *, crypto_data_t *, crypto_key_t *,
1537 crypto_req_handle_t, crypto_mechanism_t *, crypto_key_t *, crypto_data_t *,
1541 crypto_key_t *, crypto_data_t *, crypto_ctx_t *, crypto_session_id_t, int);
1543 crypto_req_handle_t, crypto_mechanism_t *, crypto_key_t *,
1546 crypto_req_handle_t, crypto_mechanism_t *, crypto_key_t *,
1553 crypto_mechanism_t *, crypto_key_t *, crypto_mechanism_t *, crypto_key_t *,
1569 crypto_key_t *, uchar_t *, size_t *, crypto_object_attribute_t *,
1584 dprov_req_type_t, crypto_key_t *, crypto_key_t *);
1586 dprov_req_type_t, crypto_key_t *, crypto_key_t *);
1592 static int dprov_get_key_attr_ulong(crypto_key_t *, uint64_t, ulong_t *);
1593 static int dprov_get_key_attr_array(crypto_key_t *, uint64_t, void **,
2007 dprov_digest_key(crypto_ctx_t *ctx, crypto_key_t *key, crypto_req_handle_t req)
2118 crypto_key_t *key, crypto_spi_ctx_template_t ctx_template,
2221 crypto_key_t *key, crypto_data_t *data, crypto_data_t *mac,
2255 crypto_key_t *key, crypto_data_t *data, crypto_data_t *mac,
2338 crypto_key_t *key, crypto_spi_ctx_template_t ctx_template,
2445 crypto_key_t *key, crypto_data_t *plaintext, crypto_data_t *ciphertext,
2479 crypto_key_t *key, crypto_spi_ctx_template_t ctx_template,
2587 crypto_key_t *key, crypto_data_t *ciphertext, crypto_data_t *plaintext,
2652 crypto_key_t *key, crypto_spi_ctx_template_t ctx_template,
2756 crypto_key_t *key, crypto_data_t *data, crypto_data_t *signature,
2789 crypto_key_t *key, crypto_spi_ctx_template_t ctx_template,
2841 crypto_key_t *key, crypto_data_t *data, crypto_data_t *signature,
2872 crypto_key_t *key, crypto_spi_ctx_template_t ctx_template,
2976 crypto_key_t *key, crypto_data_t *data, crypto_data_t *signature,
3010 crypto_key_t *key, crypto_spi_ctx_template_t ctx_template,
3063 crypto_key_t *key, crypto_data_t *signature, crypto_data_t *data,
3210 crypto_key_t *encrypt_key, crypto_mechanism_t *mac_mech,
3211 crypto_key_t *mac_key, crypto_spi_ctx_template_t encr_ctx_template,
3335 crypto_key_t *encrypt_key, crypto_mechanism_t *mac_mech,
3336 crypto_key_t *mac_key, crypto_data_t *plaintext,
3381 crypto_key_t *mac_key, crypto_mechanism_t *decrypt_mech,
3382 crypto_key_t *decrypt_key, crypto_spi_ctx_template_t mac_ctx_template,
3502 crypto_key_t *mac_key, crypto_mechanism_t *decrypt_mech,
3503 crypto_key_t *decrypt_key, crypto_dual_data_t *ciphertext,
3549 crypto_key_t *mac_key, crypto_mechanism_t *decrypt_mech,
3550 crypto_key_t *decrypt_key, crypto_dual_data_t *ciphertext,
4034 crypto_key_t *wrapping_key, crypto_object_id_t *key,
4061 crypto_key_t *unwrapping_key, uchar_t *wrapped_key,
4089 crypto_key_t *base_key, crypto_object_attribute_t *template,
4974 crypto_key_t *base_key, crypto_object_attribute_t *template,
5043 crypto_mechanism_t *mechanism, crypto_data_t *data, crypto_key_t *key,
5068 crypto_mechanism_t *mechanism, crypto_data_t *data, crypto_key_t *key,
5094 crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_data_t *data,
5121 crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_data_t *data,
5174 crypto_key_t *cipher_key, crypto_mechanism_t *mac_mech,
5175 crypto_key_t *mac_key, crypto_dual_data_t *dual_data,
5204 crypto_mechanism_t *mechanism, crypto_key_t *key, crypto_data_t *plaintext,
5322 crypto_object_id_t *private_key_object_id_ptr, crypto_key_t *key,
5459 crypto_key_t key;
5527 crypto_key_t key;
5643 crypto_key_t key, *keyp;
5863 crypto_key_t key, *keyp;
6121 crypto_key_t key, *keyp;
6309 dprov_req_t *taskq_req, crypto_key_t *cipher_key, crypto_key_t *mac_key,
6357 crypto_key_t cipher_key;
6358 crypto_key_t mac_key;
7792 crypto_key_t key, *keyp;
7917 crypto_key_t key, *keyp;
8039 crypto_key_t key, *base_keyp;
8365 crypto_key_t *base_key;
8731 * Given a crypto_key_t, return whether the key can be used or not
8805 * Given a crypto_key_t corresponding to a secret key (i.e. for
8819 dprov_req_type_t req_type, crypto_key_t *key, crypto_key_t *ret_key)
8931 dprov_req_type_t req_type, crypto_key_t *key, crypto_key_t *ret_key)
9704 dprov_get_key_attr_scalar_common(crypto_key_t *key, uint64_t attr_type,
9728 dprov_get_key_attr_ulong(crypto_key_t *key, uint64_t attr_type,
9742 dprov_get_key_attr_array(crypto_key_t *key, uint64_t attr_type,