Home
last modified time | relevance | path

Searched refs:crypto_session_id_t (Results 1 – 25 of 41) sorted by relevance

12

/titanic_41/usr/src/uts/common/sys/crypto/
H A Dioctl.h190 crypto_session_id_t os_session;
197 crypto_session_id_t cs_session;
214 crypto_session_id_t co_session;
222 crypto_session_id_t cl_session;
230 crypto_session_id_t co_session;
238 crypto_session_id_t cl_session;
255 crypto_session_id_t ce_session;
265 crypto_session_id_t ei_session;
272 crypto_session_id_t eu_session;
282 crypto_session_id_t ef_session;
[all …]
H A Dapi.h73 extern int crypto_digest_prov(crypto_provider_t, crypto_session_id_t,
78 extern int crypto_digest_init_prov(crypto_provider_t, crypto_session_id_t,
91 extern int crypto_mac_prov(crypto_provider_t, crypto_session_id_t,
97 extern int crypto_mac_verify_prov(crypto_provider_t, crypto_session_id_t,
102 extern int crypto_mac_init_prov(crypto_provider_t, crypto_session_id_t,
116 extern int crypto_sign_prov(crypto_provider_t, crypto_session_id_t,
121 extern int crypto_sign_init_prov(crypto_provider_t, crypto_session_id_t,
129 crypto_session_id_t, crypto_mechanism_t *, crypto_key_t *,
134 extern int crypto_sign_recover_prov(crypto_provider_t, crypto_session_id_t,
144 extern int crypto_verify_prov(crypto_provider_t, crypto_session_id_t,
[all …]
H A Dspi.h90 crypto_session_id_t cc_session;
161 int (*digest_atomic)(crypto_provider_handle_t, crypto_session_id_t,
182 int (*encrypt_atomic)(crypto_provider_handle_t, crypto_session_id_t,
195 int (*decrypt_atomic)(crypto_provider_handle_t, crypto_session_id_t,
216 int (*mac_atomic)(crypto_provider_handle_t, crypto_session_id_t,
220 int (*mac_verify_atomic)(crypto_provider_handle_t, crypto_session_id_t,
242 int (*sign_atomic)(crypto_provider_handle_t, crypto_session_id_t,
252 crypto_session_id_t, crypto_mechanism_t *, crypto_key_t *,
273 int (*verify_atomic)(crypto_provider_handle_t, crypto_session_id_t,
283 crypto_session_id_t, crypto_mechanism_t *, crypto_key_t *,
[all …]
H A Dops_impl.h54 crypto_session_id_t do_sid;
63 crypto_session_id_t mo_sid;
73 crypto_session_id_t eo_sid;
83 crypto_session_id_t dop_sid;
93 crypto_session_id_t so_sid;
103 crypto_session_id_t vo_sid;
113 crypto_session_id_t em_sid;
128 crypto_session_id_t md_sid;
143 crypto_session_id_t rn_sid;
158 crypto_session_id_t *so_sid_ptr;
[all …]
H A Ddca.h842 int dca_3desatomic(crypto_provider_handle_t, crypto_session_id_t,
854 int dca_rsaatomic(crypto_provider_handle_t, crypto_session_id_t,
868 int dca_dsaatomic(crypto_provider_handle_t, crypto_session_id_t,
/titanic_41/usr/src/uts/common/crypto/api/
H A Dkcf_session.c42 crypto_session_open(crypto_provider_t provider, crypto_session_id_t *sidp, in crypto_session_open()
82 crypto_session_close(crypto_provider_t provider, crypto_session_id_t sid, in crypto_session_close()
122 crypto_session_login(crypto_provider_t provider, crypto_session_id_t sid, in crypto_session_login()
158 crypto_session_logout(crypto_provider_t provider, crypto_session_id_t sid, in crypto_session_logout()
H A Dkcf_object.c41 crypto_object_create(crypto_provider_t provider, crypto_session_id_t sid, in crypto_object_create()
79 crypto_object_destroy(crypto_provider_t provider, crypto_session_id_t sid, in crypto_object_destroy()
116 crypto_object_copy(crypto_provider_t provider, crypto_session_id_t sid, in crypto_object_copy()
156 crypto_session_id_t sid, crypto_object_id_t object_handle, in crypto_object_get_attribute_value()
195 crypto_session_id_t sid, crypto_object_id_t object_handle, in crypto_object_set_attribute_value()
233 crypto_object_get_size(crypto_provider_t provider, crypto_session_id_t sid, in crypto_object_get_size()
270 crypto_object_find_init(crypto_provider_t provider, crypto_session_id_t sid, in crypto_object_find_init()
H A Dkcf_keys.c40 crypto_key_generate(crypto_provider_t provider, crypto_session_id_t sid, in crypto_key_generate()
77 crypto_key_generate_pair(crypto_provider_t provider, crypto_session_id_t sid, in crypto_key_generate_pair()
118 crypto_key_wrap(crypto_provider_t provider, crypto_session_id_t sid, in crypto_key_wrap()
157 crypto_key_unwrap(crypto_provider_t provider, crypto_session_id_t sid, in crypto_key_unwrap()
198 crypto_key_derive(crypto_provider_t provider, crypto_session_id_t sid, in crypto_key_derive()
H A Dkcf_sign.c46 crypto_sign_init_prov(crypto_provider_t provider, crypto_session_id_t sid, in crypto_sign_init_prov()
227 crypto_sign_prov(crypto_provider_t provider, crypto_session_id_t sid, in crypto_sign_prov()
347 crypto_sign_recover_prov(crypto_provider_t provider, crypto_session_id_t sid, in crypto_sign_recover_prov()
387 crypto_session_id_t sid, crypto_mechanism_t *mech, crypto_key_t *key, in crypto_sign_recover_init_prov()
H A Dkcf_verify.c46 crypto_verify_init_prov(crypto_provider_t provider, crypto_session_id_t sid, in crypto_verify_init_prov()
229 crypto_verify_prov(crypto_provider_t provider, crypto_session_id_t sid, in crypto_verify_prov()
350 crypto_verify_recover_prov(crypto_provider_t provider, crypto_session_id_t sid, in crypto_verify_recover_prov()
389 crypto_session_id_t sid, crypto_mechanism_t *mech, crypto_key_t *key, in crypto_verify_recover_init_prov()
H A Dkcf_cipher.c105 crypto_cipher_init_prov(crypto_provider_t provider, crypto_session_id_t sid, in crypto_cipher_init_prov()
318 crypto_encrypt_prov(crypto_provider_t provider, crypto_session_id_t sid, in crypto_encrypt_prov()
430 crypto_encrypt_init_prov(crypto_provider_t pd, crypto_session_id_t sid, in crypto_encrypt_init_prov()
599 crypto_decrypt_prov(crypto_provider_t provider, crypto_session_id_t sid, in crypto_decrypt_prov()
712 crypto_decrypt_init_prov(crypto_provider_t pd, crypto_session_id_t sid, in crypto_decrypt_init_prov()
H A Dkcf_mac.c95 crypto_mac_prov(crypto_provider_t provider, crypto_session_id_t sid, in crypto_mac_prov()
219 crypto_mac_verify_prov(crypto_provider_t provider, crypto_session_id_t sid, in crypto_mac_verify_prov()
371 crypto_mac_init_prov(crypto_provider_t provider, crypto_session_id_t sid, in crypto_mac_init_prov()
H A Dkcf_digest.c95 crypto_digest_prov(crypto_provider_t provider, crypto_session_id_t sid, in crypto_digest_prov()
209 crypto_digest_init_prov(crypto_provider_t provider, crypto_session_id_t sid, in crypto_digest_init_prov()
/titanic_41/usr/src/uts/common/crypto/io/
H A Ddprov.c697 static int dprov_digest_atomic(crypto_provider_handle_t, crypto_session_id_t,
718 static int dprov_mac_atomic(crypto_provider_handle_t, crypto_session_id_t,
722 crypto_session_id_t, crypto_mechanism_t *, crypto_key_t *, crypto_data_t *,
742 static int dprov_encrypt_atomic(crypto_provider_handle_t, crypto_session_id_t,
754 static int dprov_decrypt_atomic(crypto_provider_handle_t, crypto_session_id_t,
779 static int dprov_sign_atomic(crypto_provider_handle_t, crypto_session_id_t,
787 crypto_session_id_t, crypto_mechanism_t *, crypto_key_t *,
810 static int dprov_verify_atomic(crypto_provider_handle_t, crypto_session_id_t,
818 crypto_session_id_t, crypto_mechanism_t *, crypto_key_t *,
861 crypto_session_id_t, crypto_mechanism_t *, crypto_key_t *,
[all …]
H A Drsa.c185 static int rsa_encrypt_atomic(crypto_provider_handle_t, crypto_session_id_t,
190 static int rsa_decrypt_atomic(crypto_provider_handle_t, crypto_session_id_t,
219 static int rsa_sign_atomic(crypto_provider_handle_t, crypto_session_id_t,
245 static int rsa_verify_atomic(crypto_provider_handle_t, crypto_session_id_t,
251 crypto_session_id_t, crypto_mechanism_t *, crypto_key_t *,
552 crypto_session_id_t session_id, crypto_mechanism_t *mechanism, in rsa_encrypt_atomic()
719 crypto_session_id_t session_id, crypto_mechanism_t *mechanism, in rsa_decrypt_atomic()
1215 crypto_session_id_t session_id, crypto_mechanism_t *mechanism, in rsa_sign_atomic()
1415 crypto_session_id_t session_id, in rsa_verify_atomic()
1543 crypto_session_id_t session_id, crypto_mechanism_t *mechanism, in rsa_verify_recover_atomic()
H A Decc.c141 static int ecc_sign_atomic(crypto_provider_handle_t, crypto_session_id_t,
164 static int ecc_verify_atomic(crypto_provider_handle_t, crypto_session_id_t,
180 crypto_session_id_t, crypto_mechanism_t *, crypto_object_attribute_t *,
184 crypto_session_id_t, crypto_mechanism_t *, crypto_key_t *,
781 crypto_session_id_t session_id, crypto_mechanism_t *mechanism, in ecc_sign_atomic()
978 crypto_session_id_t session_id, crypto_mechanism_t *mechanism, in ecc_verify_atomic()
1039 crypto_session_id_t session_id, crypto_mechanism_t *mechanism, in ecc_nostore_key_generate_pair()
1171 crypto_session_id_t session_id, crypto_mechanism_t *mechanism, in ecc_nostore_key_derive()
H A Dcrypto.c86 crypto_session_id_t, crypto_mechanism_t *, crypto_key_t *,
102 crypto_session_id_t, crypto_mechanism_t *, crypto_key_t *,
1704 crypto_session_id_t provider_session_id = 0; in crypto_get_provider_session()
1888 crypto_open_session(dev_t dev, uint_t flags, crypto_session_id_t *session_index, in crypto_open_session()
1987 crypto_close_session(dev_t dev, crypto_session_id_t session_index) in crypto_close_session()
2054 crypto_session_id_t session; in open_session()
2443 get_session_ptr(crypto_session_id_t i, crypto_minor_t *cm, in get_session_ptr()
2603 crypto_session_id_t, crypto_mechanism_t *, crypto_key_t *, in cipher_init() argument
2608 crypto_session_id_t session_id; in cipher_init()
2746 crypto_session_id_t session_id; in cipher()
[all …]
H A Daes.c126 static int aes_encrypt_atomic(crypto_provider_handle_t, crypto_session_id_t,
134 static int aes_decrypt_atomic(crypto_provider_handle_t, crypto_session_id_t,
151 static int aes_mac_atomic(crypto_provider_handle_t, crypto_session_id_t,
154 static int aes_mac_verify_atomic(crypto_provider_handle_t, crypto_session_id_t,
960 crypto_session_id_t session_id, crypto_mechanism_t *mechanism, in aes_encrypt_atomic()
1090 crypto_session_id_t session_id, crypto_mechanism_t *mechanism, in aes_decrypt_atomic()
1432 crypto_session_id_t session_id, crypto_mechanism_t *mechanism, in aes_mac_atomic()
1454 crypto_session_id_t session_id, crypto_mechanism_t *mechanism, in aes_mac_verify_atomic()
H A Dblowfish.c134 crypto_session_id_t, crypto_mechanism_t *, crypto_key_t *, crypto_data_t *,
142 crypto_session_id_t, crypto_mechanism_t *, crypto_key_t *, crypto_data_t *,
595 crypto_session_id_t session_id, crypto_mechanism_t *mechanism, in blowfish_encrypt_atomic()
682 crypto_session_id_t session_id, crypto_mechanism_t *mechanism, in blowfish_decrypt_atomic()
H A Dswrand.c155 static int swrand_seed_random(crypto_provider_handle_t, crypto_session_id_t,
158 crypto_session_id_t, uchar_t *, size_t, crypto_req_handle_t);
283 swrand_seed_random(crypto_provider_handle_t provider, crypto_session_id_t sid, in swrand_seed_random()
298 crypto_session_id_t sid, uchar_t *buf, size_t len, crypto_req_handle_t req) in swrand_generate_random()
H A Dmd5_mod.c165 static int md5_digest_atomic(crypto_provider_handle_t, crypto_session_id_t,
182 static int md5_mac_atomic(crypto_provider_handle_t, crypto_session_id_t,
185 static int md5_mac_verify_atomic(crypto_provider_handle_t, crypto_session_id_t,
773 crypto_session_id_t session_id, crypto_mechanism_t *mechanism, in md5_digest_atomic()
1110 crypto_session_id_t session_id, crypto_mechanism_t *mechanism, in md5_mac_atomic()
1230 crypto_session_id_t session_id, crypto_mechanism_t *mechanism, in md5_mac_verify_atomic()
H A Dsha1_mod.c122 static int sha1_digest_atomic(crypto_provider_handle_t, crypto_session_id_t,
140 static int sha1_mac_atomic(crypto_provider_handle_t, crypto_session_id_t,
143 static int sha1_mac_verify_atomic(crypto_provider_handle_t, crypto_session_id_t,
716 crypto_session_id_t session_id, crypto_mechanism_t *mechanism, in sha1_digest_atomic()
1052 crypto_session_id_t session_id, crypto_mechanism_t *mechanism, in sha1_mac_atomic()
1172 crypto_session_id_t session_id, crypto_mechanism_t *mechanism, in sha1_mac_verify_atomic()
H A Dsha2_mod.c148 static int sha2_digest_atomic(crypto_provider_handle_t, crypto_session_id_t,
166 static int sha2_mac_atomic(crypto_provider_handle_t, crypto_session_id_t,
169 static int sha2_mac_verify_atomic(crypto_provider_handle_t, crypto_session_id_t,
775 crypto_session_id_t session_id, crypto_mechanism_t *mechanism, in sha2_digest_atomic()
1158 crypto_session_id_t session_id, crypto_mechanism_t *mechanism, in sha2_mac_atomic()
1300 crypto_session_id_t session_id, crypto_mechanism_t *mechanism, in sha2_mac_verify_atomic()
/titanic_41/usr/src/uts/sun4v/io/n2rng/
H A Dn2rng_kcf.c48 static int n2rng_random_number(crypto_provider_handle_t, crypto_session_id_t,
411 crypto_session_id_t sess, unsigned char *buf, size_t buflen, in n2rng_random_number()
/titanic_41/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelSession.h80 crypto_session_id_t k_session; /* kernel session ID */

12