/illumos-gate/usr/src/uts/common/sys/crypto/ |
H A D | api.h | 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 *mec [all...] |
H A D | spi.h | 140 crypto_mechanism_t *, crypto_key_t *, 152 int (*digest_init)(crypto_ctx_t *, crypto_mechanism_t *, 162 crypto_mechanism_t *, crypto_data_t *, 174 crypto_mechanism_t *, crypto_key_t *, 183 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *, 187 crypto_mechanism_t *, crypto_key_t *, 196 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *, 208 crypto_mechanism_t *, crypto_key_t *, 217 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *, 221 crypto_mechanism_t *, crypto_key_ [all...] |
H A D | ops_impl.h | 56 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_mec [all...] |
H A D | ioctl.h | 266 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_mechanis [all...] |
/illumos-gate/usr/src/uts/common/smbsrv/ |
H A D | smb_signing.h | 43 typedef crypto_mechanism_t smb_sign_mech_t;
|
/illumos-gate/usr/src/uts/common/crypto/api/ |
H A D | kcf_ctxops.c | 47 * mech: crypto_mechanism_t pointer. 76 crypto_create_ctx_template(crypto_mechanism_t *mech, crypto_key_t *key, 83 crypto_mechanism_t prov_mech;
|
H A D | kcf_cipher.c | 71 * mech: crypto_mechanism_t pointer. 106 crypto_mechanism_t *mech, crypto_key_t *key, 142 crypto_mechanism_t lmech; 229 crypto_cipher_init(crypto_mechanism_t *mech, crypto_key_t *key, 290 * mech: crypto_mechanism_t pointer. 319 crypto_mechanism_t *mech, crypto_data_t *plaintext, crypto_key_t *key, 354 crypto_encrypt(crypto_mechanism_t *mech, crypto_data_t *plaintext, 396 crypto_mechanism_t lmech; 431 crypto_mechanism_t *mech, crypto_key_t *key, 445 crypto_encrypt_init(crypto_mechanism_t *mec [all...] |
H A D | kcf_mac.c | 67 * mech: crypto_mechanism_t pointer. 96 crypto_mechanism_t *mech, crypto_data_t *data, crypto_key_t *key, 129 crypto_mac(crypto_mechanism_t *mech, crypto_data_t *data, 171 crypto_mechanism_t lmech; 220 crypto_mechanism_t *mech, crypto_data_t *data, crypto_key_t *key, 253 crypto_mac_verify(crypto_mechanism_t *mech, crypto_data_t *data, 295 crypto_mechanism_t lmech; 341 * mech: crypto_mechanism_t pointer. 372 crypto_mechanism_t *mech, crypto_key_t *key, crypto_spi_ctx_template_t tmpl, 401 crypto_mechanism_t lmec [all...] |
H A D | kcf_sign.c | 47 crypto_mechanism_t *mech, crypto_key_t *key, crypto_ctx_template_t tmpl, 91 crypto_sign_init(crypto_mechanism_t *mech, crypto_key_t *key, 228 crypto_mechanism_t *mech, crypto_key_t *key, crypto_data_t *data, 257 sign_sr_atomic_common(crypto_mechanism_t *mech, crypto_key_t *key, 299 crypto_mechanism_t lmech; 338 crypto_sign(crypto_mechanism_t *mech, crypto_key_t *key, crypto_data_t *data, 348 crypto_mechanism_t *mech, crypto_key_t *key, crypto_data_t *data, 377 crypto_sign_recover(crypto_mechanism_t *mech, crypto_key_t *key, 387 crypto_session_id_t sid, crypto_mechanism_t *mech, crypto_key_t *key,
|
H A D | kcf_verify.c | 47 crypto_mechanism_t *mech, crypto_key_t *key, crypto_ctx_template_t tmpl, 92 crypto_verify_init(crypto_mechanism_t *mech, crypto_key_t *key, 230 crypto_mechanism_t *mech, crypto_key_t *key, crypto_data_t *data, 259 verify_vr_atomic_common(crypto_mechanism_t *mech, crypto_key_t *key, 301 crypto_mechanism_t lmech; 341 crypto_verify(crypto_mechanism_t *mech, crypto_key_t *key, crypto_data_t *data, 351 crypto_mechanism_t *mech, crypto_key_t *key, crypto_data_t *signature, 379 crypto_verify_recover(crypto_mechanism_t *mech, crypto_key_t *key, 389 crypto_session_id_t sid, crypto_mechanism_t *mech, crypto_key_t *key,
|
H A D | kcf_keys.c | 41 crypto_mechanism_t *mech, crypto_object_attribute_t *attrs, uint_t count, 78 crypto_mechanism_t *mech, crypto_object_attribute_t *pub_attrs, 119 crypto_mechanism_t *mech, crypto_key_t *wrapping_key, 158 crypto_mechanism_t *mech, crypto_key_t *unwrapping_key, 199 crypto_mechanism_t *mech, crypto_key_t *base_key,
|
H A D | kcf_digest.c | 70 * mech: crypto_mechanism_t pointer. 96 crypto_mechanism_t *mech, crypto_data_t *data, crypto_data_t *digest, 130 crypto_digest(crypto_mechanism_t *mech, crypto_data_t *data, 149 crypto_mechanism_t lmech; 191 * mech: crypto_mechanism_t pointer. 210 crypto_mechanism_t *mech, crypto_context_t *ctxp, crypto_call_req_t *crq) 238 crypto_mechanism_t lmech; 272 crypto_digest_init(crypto_mechanism_t *mech, crypto_context_t *ctxp,
|
H A D | kcf_dual.c | 38 static int crypto_mac_decrypt_common(crypto_mechanism_t *, 39 crypto_mechanism_t *, crypto_dual_data_t *, crypto_key_t *, crypto_key_t *, 44 crypto_session_id_t sid, crypto_mechanism_t *, crypto_mechanism_t *, 51 crypto_mechanism_t *encr_mech, crypto_mechanism_t *mac_mech, 122 crypto_mechanism_t lencr_mech; 123 crypto_mechanism_t lmac_mech; 172 crypto_encrypt_mac(crypto_mechanism_t *encr_mech, 173 crypto_mechanism_t *mac_mec [all...] |
/illumos-gate/usr/src/uts/common/inet/kssl/ |
H A D | ksslimpl.h | 162 extern crypto_mechanism_t rsa_x509_mech; 163 extern crypto_mechanism_t hmac_md5_mech; 164 extern crypto_mechanism_t hmac_sha1_mech;
|
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | skein_mod.c | 81 static int skein_digest_init(crypto_ctx_t *, crypto_mechanism_t *, 88 crypto_mechanism_t *, crypto_data_t *, crypto_data_t *, 100 static int skein_mac_init(crypto_ctx_t *, crypto_mechanism_t *, crypto_key_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) 497 skein_digest_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, 647 crypto_session_id_t session_id, crypto_mechanism_t *mechanism, 685 skein_mac_ctx_build(skein_ctx_t *ctx, crypto_mechanism_t *mechanism, 716 skein_mac_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanis [all...] |
H A D | aes.c | 109 static int aes_encrypt_init(crypto_ctx_t *, crypto_mechanism_t *, 111 static int aes_decrypt_init(crypto_ctx_t *, crypto_mechanism_t *, 113 static int aes_common_init(crypto_ctx_t *, crypto_mechanism_t *, 116 crypto_mechanism_t *, crypto_key_t *, int, boolean_t); 127 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *, 135 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *, 152 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *, crypto_data_t *, 155 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *, crypto_data_t *, 168 crypto_mechanism_t *, crypto_key_t *, crypto_spi_ctx_template_t *, 250 aes_check_mech_param(crypto_mechanism_t *mechanis [all...] |
H A D | blowfish.c | 120 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, 595 crypto_session_id_t session_id, crypto_mechanism_t *mechanism, 682 crypto_session_id_t session_id, crypto_mechanism_t *mechanism, 772 crypto_mechanism_t *mechanism, crypto_key_t *key, 827 crypto_spi_ctx_template_t *template, crypto_mechanism_t *mechanis [all...] |
H A D | ecc.c | 133 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 *, 180 crypto_session_id_t, crypto_mechanism_t *, crypto_object_attribute_t *, 184 crypto_session_id_t, crypto_mechanism_t *, crypto_key_t *, 466 ecc_sign_verify_common_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, 546 ecc_sign_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, 566 ecc_verify_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, 781 crypto_session_id_t session_id, crypto_mechanism_t *mechanis [all...] |
H A D | dprov.c | 687 static int dprov_digest_init(crypto_ctx_t *, crypto_mechanism_t *, 698 crypto_mechanism_t *, crypto_data_t *, crypto_data_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 *, 734 static int dprov_encrypt_init(crypto_ctx_t *, crypto_mechanism_t *, 743 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *, 746 static int dprov_decrypt_init(crypto_ctx_t *, crypto_mechanism_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_ [all...] |
H A D | md5_mod.c | 157 static int md5_digest_init(crypto_ctx_t *, crypto_mechanism_t *, 166 crypto_mechanism_t *, crypto_data_t *, crypto_data_t *, 178 static int md5_mac_init(crypto_ctx_t *, crypto_mechanism_t *, crypto_key_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, 773 crypto_session_id_t session_id, crypto_mechanism_t *mechanism, 901 md5_mac_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, 1110 crypto_session_id_t session_id, crypto_mechanism_t *mechanis [all...] |
H A D | sha1_mod.c | 114 static int sha1_digest_init(crypto_ctx_t *, crypto_mechanism_t *, 123 crypto_mechanism_t *, crypto_data_t *, crypto_data_t *, 135 static int sha1_mac_init(crypto_ctx_t *, crypto_mechanism_t *, crypto_key_t *, 141 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *, crypto_data_t *, 144 crypto_mechanism_t *, crypto_key_t *, crypto_data_t *, crypto_data_t *, 157 crypto_mechanism_t *, crypto_key_t *, crypto_spi_ctx_template_t *, 238 sha1_digest_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, 716 crypto_session_id_t session_id, crypto_mechanism_t *mechanism, 844 sha1_mac_init(crypto_ctx_t *ctx, crypto_mechanism_t *mechanism, 1052 crypto_session_id_t session_id, crypto_mechanism_t *mechanis [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/crypto/ |
H A D | common.c | 47 crypto_mechanism_t mch; 52 if (mdb_vread(&mch, sizeof (crypto_mechanism_t), addr) == -1) {
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/hash_provider/ |
H A D | hash_kef_generic.c | 24 crypto_mechanism_t mech; 97 crypto_mechanism_t mech;
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | lofi.h | 302 crypto_mechanism_t ls_mech; /* for data encr/decr */ 304 crypto_mechanism_t ls_iv_mech; /* for iv derivation */
|
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/des/ |
H A D | ef_crypto.c | 22 crypto_mechanism_t mech;
|