Lines Matching refs:crypto_mechanism_t

64 extern int crypto_create_ctx_template(crypto_mechanism_t *mech,
71 extern int crypto_digest(crypto_mechanism_t *mech, crypto_data_t *data,
74 crypto_mechanism_t *, crypto_data_t *, crypto_data_t *,
76 extern int crypto_digest_init(crypto_mechanism_t *mech, crypto_context_t *ctxp,
79 crypto_mechanism_t *, crypto_context_t *, crypto_call_req_t *);
88 extern int crypto_mac(crypto_mechanism_t *mech, crypto_data_t *data,
92 crypto_mechanism_t *, crypto_data_t *, crypto_key_t *,
94 extern int crypto_mac_verify(crypto_mechanism_t *mech, crypto_data_t *data,
98 crypto_mechanism_t *, crypto_data_t *, crypto_key_t *,
100 extern int crypto_mac_init(crypto_mechanism_t *mech, crypto_key_t *key,
103 crypto_mechanism_t *, crypto_key_t *, crypto_ctx_template_t,
113 extern int crypto_sign(crypto_mechanism_t *mech, crypto_key_t *key,
117 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *,
119 extern int crypto_sign_init(crypto_mechanism_t *mech, crypto_key_t *key,
122 crypto_mechanism_t *, crypto_key_t *, crypto_ctx_template_t,
129 crypto_session_id_t, crypto_mechanism_t *, crypto_key_t *,
131 extern int crypto_sign_recover(crypto_mechanism_t *mech, crypto_key_t *key,
135 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *,
141 extern int crypto_verify(crypto_mechanism_t *mech, crypto_key_t *key,
145 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *,
147 extern int crypto_verify_init(crypto_mechanism_t *mech, crypto_key_t *key,
150 crypto_mechanism_t *, crypto_key_t *, crypto_ctx_template_t,
157 crypto_session_id_t, crypto_mechanism_t *, crypto_key_t *,
159 extern int crypto_verify_recover(crypto_mechanism_t *mech, crypto_key_t *key,
163 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *,
169 extern int crypto_encrypt(crypto_mechanism_t *mech, crypto_data_t *plaintext,
173 crypto_mechanism_t *, crypto_data_t *, crypto_key_t *,
175 extern int crypto_encrypt_init(crypto_mechanism_t *mech, crypto_key_t *key,
178 crypto_mechanism_t *, crypto_key_t *, crypto_ctx_template_t,
189 extern int crypto_decrypt(crypto_mechanism_t *mech, crypto_data_t *ciphertext,
193 crypto_mechanism_t *, crypto_data_t *, crypto_key_t *,
195 extern int crypto_decrypt_init(crypto_mechanism_t *mech, crypto_key_t *key,
199 crypto_mechanism_t *, crypto_key_t *, crypto_ctx_template_t,
210 extern int crypto_encrypt_mac(crypto_mechanism_t *encr_mech,
211 crypto_mechanism_t *mac_mech, crypto_data_t *pt,
216 crypto_mechanism_t *, crypto_mechanism_t *, crypto_data_t *,
220 extern int crypto_encrypt_mac_init(crypto_mechanism_t *encr_mech,
221 crypto_mechanism_t *mac_mech, crypto_key_t *encr_key,
226 crypto_mechanism_t *, crypto_mechanism_t *, crypto_key_t *, crypto_key_t *,
237 extern int crypto_mac_decrypt(crypto_mechanism_t *mac_mech,
238 crypto_mechanism_t *decr_mech, crypto_dual_data_t *ct,
243 crypto_mechanism_t *mac_mech, crypto_mechanism_t *decr_mech,
247 extern int crypto_mac_verify_decrypt(crypto_mechanism_t *mac_mech,
248 crypto_mechanism_t *decr_mech, crypto_dual_data_t *ct,
253 crypto_session_id_t, crypto_mechanism_t *mac_mech,
254 crypto_mechanism_t *decr_mech, crypto_dual_data_t *ct,
258 extern int crypto_mac_decrypt_init(crypto_mechanism_t *mac_mech,
259 crypto_mechanism_t *decr_mech, crypto_key_t *mac_key,
264 crypto_session_id_t, crypto_mechanism_t *mac_mech,
265 crypto_mechanism_t *decr_mech, crypto_key_t *mac_key,
310 crypto_mechanism_t *, crypto_key_t *, crypto_object_attribute_t *,
313 crypto_mechanism_t *, crypto_object_attribute_t *, uint_t,
316 crypto_mechanism_t *, crypto_object_attribute_t *, uint_t,
320 crypto_mechanism_t *, crypto_key_t *, uchar_t *, size_t *,
324 crypto_mechanism_t *, crypto_key_t *, crypto_object_id_t *, uchar_t *,
326 extern int crypto_key_check_prov(crypto_provider_t, crypto_mechanism_t *mech,
328 extern int crypto_key_check(crypto_mechanism_t *mech, crypto_key_t *key);