Home
last modified time | relevance | path

Searched refs:crypto_mechanism_t (Results 1 – 25 of 53) sorted by relevance

123

/illumos-gate/usr/src/uts/common/sys/crypto/
H A Dapi.h74 crypto_mechanism_t *, crypto_data_t *, crypto_data_t *,
92 crypto_mechanism_t *, crypto_data_t *, crypto_key_t *,
98 crypto_mechanism_t *, crypto_data_t *, crypto_key_t *,
117 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *,
135 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *,
211 crypto_mechanism_t *mac_mech, crypto_data_t *pt,
216 crypto_mechanism_t *, crypto_mechanism_t *, crypto_data_t *,
226 crypto_mechanism_t *, crypto_mechanism_t *, crypto_key_t *, crypto_key_t *,
243 crypto_mechanism_t *mac_mech, crypto_mechanism_t *decr_mech,
253 crypto_session_id_t, crypto_mechanism_t *mac_mech,
[all …]
H A Dspi.h140 crypto_mechanism_t *, crypto_key_t *,
162 crypto_mechanism_t *, crypto_data_t *,
174 crypto_mechanism_t *, crypto_key_t *,
187 crypto_mechanism_t *, crypto_key_t *,
208 crypto_mechanism_t *, crypto_key_t *,
319 crypto_mechanism_t *, crypto_key_t *, crypto_mechanism_t *,
330 crypto_mechanism_t *, crypto_key_t *, crypto_mechanism_t *,
336 crypto_mechanism_t *, crypto_key_t *, crypto_mechanism_t *,
472 crypto_mechanism_t *, crypto_mechanism_t *, int *, int);
474 crypto_mechanism_t *, crypto_mechanism_t *, int *, int);
[all …]
H A Dops_impl.h56 crypto_mechanism_t do_mech;
65 crypto_mechanism_t mo_mech;
75 crypto_mechanism_t eo_mech;
85 crypto_mechanism_t dop_mech;
95 crypto_mechanism_t so_mech;
105 crypto_mechanism_t vo_mech;
115 crypto_mechanism_t em_encr_mech;
118 crypto_mechanism_t em_mac_mech;
130 crypto_mechanism_t md_mac_mech;
133 crypto_mechanism_t md_decr_mech;
[all …]
H A Dioctl.h266 crypto_mechanism_t ei_mech;
300 crypto_mechanism_t di_mech;
333 crypto_mechanism_t di_mech;
368 crypto_mechanism_t mi_mech;
398 crypto_mechanism_t si_mech;
419 crypto_mechanism_t ri_mech;
444 crypto_mechanism_t vi_mech;
465 crypto_mechanism_t ri_mech;
1072 crypto_mechanism_t gk_mechanism;
1086 crypto_mechanism_t kp_mechanism;
[all …]
H A Ddca.h835 int dca_3desctxinit(crypto_ctx_t *, crypto_mechanism_t *, crypto_key_t *,
843 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *, crypto_data_t *,
852 int dca_rsainit(crypto_ctx_t *, crypto_mechanism_t *, crypto_key_t *, int);
855 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *, crypto_data_t *,
865 int dca_dsainit(crypto_ctx_t *, crypto_mechanism_t *, crypto_key_t *, int,
869 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *, crypto_data_t *,
/illumos-gate/usr/src/uts/common/crypto/api/
H A Dkcf_dual.c44 crypto_session_id_t sid, crypto_mechanism_t *, crypto_mechanism_t *,
51 crypto_mechanism_t *encr_mech, crypto_mechanism_t *mac_mech, in crypto_encrypt_mac_prov()
122 crypto_mechanism_t lencr_mech; in crypto_encrypt_mac_prov()
123 crypto_mechanism_t lmac_mech; in crypto_encrypt_mac_prov()
364 crypto_mechanism_t lencr_mech; in crypto_encrypt_mac()
365 crypto_mechanism_t lmac_mech; in crypto_encrypt_mac()
496 crypto_mechanism_t lencr_mech; in crypto_encrypt_mac_init_prov()
497 crypto_mechanism_t lmac_mech; in crypto_encrypt_mac_init_prov()
815 crypto_mechanism_t lmac_mech; in crypto_encrypt_mac_init()
1081 crypto_mechanism_t *mac_mech, crypto_mechanism_t *decr_mech, in crypto_mac_decrypt_prov()
[all …]
H A Dkcf_cipher.c106 crypto_mechanism_t *mech, crypto_key_t *key, in crypto_cipher_init_prov()
142 crypto_mechanism_t lmech; in crypto_cipher_init_prov()
229 crypto_cipher_init(crypto_mechanism_t *mech, crypto_key_t *key, in crypto_cipher_init()
354 crypto_encrypt(crypto_mechanism_t *mech, crypto_data_t *plaintext, in crypto_encrypt()
396 crypto_mechanism_t lmech; in crypto_encrypt()
431 crypto_mechanism_t *mech, crypto_key_t *key, in crypto_encrypt_init_prov()
445 crypto_encrypt_init(crypto_mechanism_t *mech, crypto_key_t *key, in crypto_encrypt_init()
636 crypto_decrypt(crypto_mechanism_t *mech, crypto_data_t *ciphertext, in crypto_decrypt()
678 crypto_mechanism_t lmech; in crypto_decrypt()
713 crypto_mechanism_t *mech, crypto_key_t *key, in crypto_decrypt_init_prov()
[all …]
H A Dkcf_mac.c96 crypto_mechanism_t *mech, crypto_data_t *data, crypto_key_t *key, in crypto_mac_prov()
129 crypto_mac(crypto_mechanism_t *mech, crypto_data_t *data, in crypto_mac()
171 crypto_mechanism_t lmech; in crypto_mac()
220 crypto_mechanism_t *mech, crypto_data_t *data, crypto_key_t *key, in crypto_mac_verify_prov()
253 crypto_mac_verify(crypto_mechanism_t *mech, crypto_data_t *data, in crypto_mac_verify()
295 crypto_mechanism_t lmech; in crypto_mac_verify()
372 crypto_mechanism_t *mech, crypto_key_t *key, crypto_spi_ctx_template_t tmpl, in crypto_mac_init_prov()
401 crypto_mechanism_t lmech; in crypto_mac_init_prov()
434 crypto_mac_init(crypto_mechanism_t *mech, crypto_key_t *key, in crypto_mac_init()
H A Dkcf_sign.c47 crypto_mechanism_t *mech, crypto_key_t *key, crypto_ctx_template_t tmpl, in crypto_sign_init_prov()
91 crypto_sign_init(crypto_mechanism_t *mech, crypto_key_t *key, in crypto_sign_init()
228 crypto_mechanism_t *mech, crypto_key_t *key, crypto_data_t *data, in crypto_sign_prov()
257 sign_sr_atomic_common(crypto_mechanism_t *mech, crypto_key_t *key, in sign_sr_atomic_common()
299 crypto_mechanism_t lmech; in sign_sr_atomic_common()
338 crypto_sign(crypto_mechanism_t *mech, crypto_key_t *key, crypto_data_t *data, in crypto_sign()
348 crypto_mechanism_t *mech, crypto_key_t *key, crypto_data_t *data, in crypto_sign_recover_prov()
377 crypto_sign_recover(crypto_mechanism_t *mech, crypto_key_t *key, in crypto_sign_recover()
387 crypto_session_id_t sid, crypto_mechanism_t *mech, crypto_key_t *key, in crypto_sign_recover_init_prov()
H A Dkcf_verify.c47 crypto_mechanism_t *mech, crypto_key_t *key, crypto_ctx_template_t tmpl, in crypto_verify_init_prov()
92 crypto_verify_init(crypto_mechanism_t *mech, crypto_key_t *key, in crypto_verify_init()
230 crypto_mechanism_t *mech, crypto_key_t *key, crypto_data_t *data, in crypto_verify_prov()
259 verify_vr_atomic_common(crypto_mechanism_t *mech, crypto_key_t *key, in verify_vr_atomic_common()
301 crypto_mechanism_t lmech; in verify_vr_atomic_common()
341 crypto_verify(crypto_mechanism_t *mech, crypto_key_t *key, crypto_data_t *data, in crypto_verify()
351 crypto_mechanism_t *mech, crypto_key_t *key, crypto_data_t *signature, in crypto_verify_recover_prov()
379 crypto_verify_recover(crypto_mechanism_t *mech, crypto_key_t *key, in crypto_verify_recover()
389 crypto_session_id_t sid, crypto_mechanism_t *mech, crypto_key_t *key, in crypto_verify_recover_init_prov()
H A Dkcf_keys.c41 crypto_mechanism_t *mech, crypto_object_attribute_t *attrs, uint_t count, in crypto_key_generate()
78 crypto_mechanism_t *mech, crypto_object_attribute_t *pub_attrs, in crypto_key_generate_pair()
119 crypto_mechanism_t *mech, crypto_key_t *wrapping_key, in crypto_key_wrap()
158 crypto_mechanism_t *mech, crypto_key_t *unwrapping_key, in crypto_key_unwrap()
199 crypto_mechanism_t *mech, crypto_key_t *base_key, in crypto_key_derive()
H A Dkcf_digest.c96 crypto_mechanism_t *mech, crypto_data_t *data, crypto_data_t *digest, in crypto_digest_prov()
130 crypto_digest(crypto_mechanism_t *mech, crypto_data_t *data, in crypto_digest()
149 crypto_mechanism_t lmech; in crypto_digest()
210 crypto_mechanism_t *mech, crypto_context_t *ctxp, crypto_call_req_t *crq) in crypto_digest_init_prov()
238 crypto_mechanism_t lmech; in crypto_digest_init_prov()
272 crypto_digest_init(crypto_mechanism_t *mech, crypto_context_t *ctxp, in crypto_digest_init()
H A Dkcf_ctxops.c74 crypto_create_ctx_template(crypto_mechanism_t *mech, crypto_key_t *key, in crypto_create_ctx_template()
81 crypto_mechanism_t prov_mech; in crypto_create_ctx_template()
/illumos-gate/usr/src/uts/common/crypto/io/
H A Daes.c116 static int aes_encrypt_init(crypto_ctx_t *, crypto_mechanism_t *,
118 static int aes_decrypt_init(crypto_ctx_t *, crypto_mechanism_t *,
120 static int aes_common_init(crypto_ctx_t *, crypto_mechanism_t *,
123 crypto_mechanism_t *, crypto_key_t *, int, boolean_t);
134 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *,
142 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *,
158 static int aes_mac_init(crypto_ctx_t *, crypto_mechanism_t *,
1282 crypto_mechanism_t *mechanism, crypto_key_t *key, in aes_create_ctx_template()
1461 aes_mac_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, in aes_mac_init()
1505 crypto_mechanism_t gcm_mech; in aes_mac_atomic()
[all …]
H A Dskein_mod.c81 static int skein_digest_init(crypto_ctx_t *, crypto_mechanism_t *,
88 crypto_mechanism_t *, crypto_data_t *, crypto_data_t *,
103 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *, crypto_data_t *,
116 crypto_mechanism_t *, crypto_key_t *, crypto_spi_ctx_template_t *,
193 skein_get_digest_bitlen(const crypto_mechanism_t *mechanism, size_t *result) in skein_get_digest_bitlen()
497 skein_digest_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, in skein_digest_init()
647 crypto_session_id_t session_id, crypto_mechanism_t *mechanism, in skein_digest_atomic()
685 skein_mac_ctx_build(skein_ctx_t *ctx, crypto_mechanism_t *mechanism, in skein_mac_ctx_build()
716 skein_mac_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, in skein_mac_init()
755 crypto_session_id_t session_id, crypto_mechanism_t *mechanism, in skein_mac_atomic()
[all …]
H A Ddprov.c871 crypto_mechanism_t *, crypto_key_t *, crypto_mechanism_t *,
888 crypto_mechanism_t *, crypto_key_t *, crypto_mechanism_t *,
1029 crypto_mechanism_t *, crypto_mechanism_t *, int *error, int);
1031 crypto_mechanism_t *, crypto_mechanism_t *, int *error, int);
1574 crypto_mechanism_t *, crypto_key_t *, crypto_mechanism_t *, crypto_key_t *,
4332 copyin_aes_ccm_mech(crypto_mechanism_t *in_mech, crypto_mechanism_t *out_mech, in copyin_aes_ccm_mech()
4418 copyin_aes_gcm_mech(crypto_mechanism_t *in_mech, crypto_mechanism_t *out_mech, in copyin_aes_gcm_mech()
4573 copyin_aes_ctr_mech(crypto_mechanism_t *in_mech, crypto_mechanism_t *out_mech, in copyin_aes_ctr_mech()
4623 copyin_ecc_mech(crypto_mechanism_t *in_mech, crypto_mechanism_t *out_mech, in copyin_ecc_mech()
4739 crypto_mechanism_t *umech, crypto_mechanism_t *kmech, in dprov_copyin_mechanism()
[all …]
H A Dblowfish.c120 static int blowfish_common_init(crypto_ctx_t *, crypto_mechanism_t *,
123 crypto_spi_ctx_template_t *, crypto_mechanism_t *, crypto_key_t *, int);
134 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 *,
159 crypto_mechanism_t *, crypto_key_t *, crypto_spi_ctx_template_t *,
275 blowfish_common_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, in blowfish_common_init()
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()
772 crypto_mechanism_t *mechanism, crypto_key_t *key, in blowfish_create_ctx_template()
827 crypto_spi_ctx_template_t *template, crypto_mechanism_t *mechanism, in blowfish_common_init_ctx()
H A Drsa.c181 static int rsa_common_init(crypto_ctx_t *, crypto_mechanism_t *,
186 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *,
191 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *,
246 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *,
251 crypto_session_id_t, crypto_mechanism_t *, crypto_key_t *,
368 check_mech_and_key(crypto_mechanism_t *mechanism, crypto_key_t *key) in check_mech_and_key()
491 rsa_common_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, in rsa_common_init()
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()
[all …]
H A Decc.c133 static int ecc_sign_init(crypto_ctx_t *, crypto_mechanism_t *,
142 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *, crypto_data_t *,
156 static int ecc_verify_init(crypto_ctx_t *, crypto_mechanism_t *,
165 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *,
184 crypto_session_id_t, crypto_mechanism_t *, crypto_key_t *,
546 ecc_sign_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, in ecc_sign_init()
566 ecc_verify_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, in ecc_verify_init()
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()
[all …]
H A Dmd5_mod.c157 static int md5_digest_init(crypto_ctx_t *, crypto_mechanism_t *,
166 crypto_mechanism_t *, crypto_data_t *, crypto_data_t *,
183 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *, crypto_data_t *,
186 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *, crypto_data_t *,
199 crypto_mechanism_t *, crypto_key_t *, crypto_spi_ctx_template_t *,
296 md5_digest_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, in md5_digest_init()
773 crypto_session_id_t session_id, crypto_mechanism_t *mechanism, in md5_digest_atomic()
901 md5_mac_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, in md5_mac_init()
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()
[all …]
H A Dsha2_mod.c148 static int sha2_digest_init(crypto_ctx_t *, crypto_mechanism_t *,
157 crypto_mechanism_t *, crypto_data_t *, crypto_data_t *,
175 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *, crypto_data_t *,
191 crypto_mechanism_t *, crypto_key_t *, crypto_spi_ctx_template_t *,
272 sha2_digest_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, in sha2_digest_init()
795 crypto_session_id_t session_id, crypto_mechanism_t *mechanism, in sha2_digest_atomic()
933 sha2_is_general_hmech(const crypto_mechanism_t *mechanism) in sha2_is_general_hmech()
948 sha2_mac_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, in sha2_mac_init()
1191 crypto_session_id_t session_id, crypto_mechanism_t *mechanism, in sha2_mac_atomic()
1333 crypto_session_id_t session_id, crypto_mechanism_t *mechanism, in sha2_mac_verify_atomic()
[all …]
H A Dsha1_mod.c115 static int sha1_digest_init(crypto_ctx_t *, crypto_mechanism_t *,
124 crypto_mechanism_t *, crypto_data_t *, crypto_data_t *,
144 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *, crypto_data_t *,
147 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *, crypto_data_t *,
160 crypto_mechanism_t *, crypto_key_t *, crypto_spi_ctx_template_t *,
241 sha1_digest_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, in sha1_digest_init()
719 crypto_session_id_t session_id, crypto_mechanism_t *mechanism, in sha1_digest_atomic()
847 sha1_mac_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, in sha1_mac_init()
1152 crypto_session_id_t session_id, crypto_mechanism_t *mechanism, in sha1_mac_atomic()
1272 crypto_session_id_t session_id, crypto_mechanism_t *mechanism, in sha1_mac_verify_atomic()
[all …]
/illumos-gate/usr/src/uts/common/des/
H A Ddes_crypt.c157 des_common_init(crypto_ctx_t *, crypto_mechanism_t *, crypto_key_t *,
160 crypto_mechanism_t *, crypto_key_t *, des_strength_t, int);
171 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *,
179 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *,
196 crypto_mechanism_t *, crypto_key_t *, crypto_spi_ctx_template_t *,
205 static int des_key_check(crypto_provider_handle_t, crypto_mechanism_t *,
433 des_common_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, in des_common_init()
786 crypto_session_id_t session_id, crypto_mechanism_t *mechanism, in des_encrypt_atomic()
889 crypto_session_id_t session_id, crypto_mechanism_t *mechanism, in des_decrypt_atomic()
995 crypto_mechanism_t *mechanism, crypto_key_t *key, in des_create_ctx_template()
[all …]
/illumos-gate/usr/src/lib/libzpool/common/
H A Dkernel.c687 crypto_create_ctx_template(crypto_mechanism_t *mech, in crypto_create_ctx_template()
700 crypto_mac(crypto_mechanism_t *mech, crypto_data_t *data, in crypto_mac()
708 crypto_encrypt(crypto_mechanism_t *mech, crypto_data_t *plaintext, in crypto_encrypt()
717 crypto_decrypt(crypto_mechanism_t *mech, crypto_data_t *plaintext, in crypto_decrypt()
740 crypto_digest_init(crypto_mechanism_t *mech, crypto_context_t *ctxp, in crypto_digest_init()
751 extern int crypto_mac_init(crypto_mechanism_t *mech, crypto_key_t *key, in crypto_mac_init()
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/hash_provider/
H A Dhash_kef_generic.c22 crypto_mechanism_t mech; in k5_ef_hash()
95 crypto_mechanism_t mech; in k5_ef_mac()

123