Home
last modified time | relevance | path

Searched defs:mech (Results 1 – 25 of 138) sorted by relevance

123456

/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfksmb_sign_pkcs.c35 find_mech(smb_crypto_mech_t *mech, ulong_t mid) in find_mech()
63 smb_md5_getmech(smb_crypto_mech_t *mech) in smb_md5_getmech()
72 smb_md5_init(smb_sign_ctx_t *ctxp, smb_crypto_mech_t *mech) in smb_md5_init()
124 smb2_hmac_getmech(smb_crypto_mech_t *mech) in smb2_hmac_getmech()
133 smb2_hmac_init(smb_sign_ctx_t *ctxp, smb_crypto_mech_t *mech, in smb2_hmac_init()
194 smb2_hmac_one(smb_crypto_mech_t *mech, in smb2_hmac_one()
252 smb3_cmac_getmech(smb_crypto_mech_t *mech) in smb3_cmac_getmech()
261 smb3_cmac_init(smb_sign_ctx_t *ctxp, smb_crypto_mech_t *mech, in smb3_cmac_init()
H A Dfksmb_preauth_pkcs.c26 getmech_sha512(smb_crypto_mech_t *mech) in getmech_sha512()
52 smb_crypto_mech_t *mech; in smb31_preauth_init_mech() local
72 smb_crypto_mech_t *mech; in smb31_preauth_fini() local
84 smb_sha512_init(smb_sign_ctx_t *ctxp, smb_crypto_mech_t *mech) in smb_sha512_init()
H A Dfksmb_encrypt_pkcs.c62 smb3_aes_ccm_getmech(smb_crypto_mech_t *mech) in smb3_aes_ccm_getmech()
75 smb3_aes_gcm_getmech(smb_crypto_mech_t *mech) in smb3_aes_gcm_getmech()
138 CK_MECHANISM *mech = &ctxp->mech; in smb3_encrypt_init() local
170 CK_MECHANISM *mech = &ctxp->mech; in smb3_decrypt_init() local
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_sign_kcf.c36 find_mech(smb_crypto_mech_t *mech, const char *name) in find_mech()
55 smb_md5_getmech(smb_crypto_mech_t *mech) in smb_md5_getmech()
64 smb_md5_init(smb_sign_ctx_t *ctxp, smb_crypto_mech_t *mech) in smb_md5_init()
124 smb2_hmac_getmech(smb_crypto_mech_t *mech) in smb2_hmac_getmech()
133 smb2_hmac_init(smb_sign_ctx_t *ctxp, smb_crypto_mech_t *mech, in smb2_hmac_init()
203 smb2_hmac_one(smb_crypto_mech_t *mech, in smb2_hmac_one()
241 smb3_cmac_getmech(smb_crypto_mech_t *mech) in smb3_cmac_getmech()
250 smb3_cmac_init(smb_sign_ctx_t *ctxp, smb_crypto_mech_t *mech, in smb3_cmac_init()
H A Dsmb31_preauth.c35 smb3_sha512_getmech(smb_crypto_mech_t *mech) in smb3_sha512_getmech()
54 smb_crypto_mech_t *mech; in smb31_preauth_init_mech() local
74 smb_crypto_mech_t *mech; in smb31_preauth_fini() local
86 smb_sha512_init(smb_sign_ctx_t *ctxp, smb_crypto_mech_t *mech) in smb_sha512_init()
H A Dsmb3_encrypt_kcf.c39 find_mech(smb_crypto_mech_t *mech, const char *name) in find_mech()
58 smb3_aes_ccm_getmech(smb_crypto_mech_t *mech) in smb3_aes_ccm_getmech()
64 smb3_aes_gcm_getmech(smb_crypto_mech_t *mech) in smb3_aes_gcm_getmech()
/illumos-gate/usr/src/lib/smbclnt/libfknsmb/common/
H A Dfksmb_sign_pkcs.c35 find_mech(smb_sign_mech_t *mech, ulong_t mid) in find_mech()
63 smb_md5_getmech(smb_sign_mech_t *mech) in smb_md5_getmech()
72 smb_md5_init(smb_sign_ctx_t *ctxp, smb_sign_mech_t *mech) in smb_md5_init()
124 smb2_hmac_getmech(smb_sign_mech_t *mech) in smb2_hmac_getmech()
133 smb2_hmac_init(smb_sign_ctx_t *ctxp, smb_sign_mech_t *mech, in smb2_hmac_init()
198 smb3_cmac_getmech(smb_sign_mech_t *mech) in smb3_cmac_getmech()
207 smb3_cmac_init(smb_sign_ctx_t *ctxp, smb_sign_mech_t *mech, in smb3_cmac_init()
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dnsmb_sign_kcf.c35 find_mech(smb_sign_mech_t *mech, const char *name) in find_mech()
54 smb_md5_getmech(smb_sign_mech_t *mech) in smb_md5_getmech()
63 smb_md5_init(smb_sign_ctx_t *ctxp, smb_sign_mech_t *mech) in smb_md5_init()
123 smb2_hmac_getmech(smb_sign_mech_t *mech) in smb2_hmac_getmech()
132 smb2_hmac_init(smb_sign_ctx_t *ctxp, smb_sign_mech_t *mech, in smb2_hmac_init()
203 smb3_cmac_getmech(smb_sign_mech_t *mech) in smb3_cmac_getmech()
212 smb3_cmac_init(smb_sign_ctx_t *ctxp, smb_sign_mech_t *mech, in smb3_cmac_init()
/illumos-gate/usr/src/lib/libcryptoutil/common/
H A Dmechstr.c46 CK_MECHANISM_TYPE mech; member
421 *pkcs11_mech2str(CK_MECHANISM_TYPE mech) in pkcs11_mech2str()
451 pkcs11_str2mech(char *mech_str, CK_MECHANISM_TYPE_PTR mech) in pkcs11_str2mech()
/illumos-gate/usr/src/lib/libgss/
H A Dg_utils.c164 char *mech, in __gss_qop_to_num()
196 char *mech, in __gss_num_to_qop()
235 char *mech, in __gss_get_mech_info()
270 char *mech, in __gss_mech_qops()
H A Dg_glue.c310 gss_mechanism mech; local
340 gss_mechanism mech; local
464 gss_mechanism mech; local
492 gss_mechanism mech; local
522 gss_mechanism mech; local
547 OM_uint32 gssint_convert_name_to_union_name(minor_status, mech, in gssint_convert_name_to_union_name() argument
H A Dg_inquire_cred.c54 gss_mechanism mech; local
227 gss_mechanism mech; local
/illumos-gate/usr/src/lib/rpcsec_gss/
H A Drpcsec_gss_utils.c72 __rpc_gss_mech_to_oid(char *mech, rpc_gss_OID *oid) in __rpc_gss_mech_to_oid()
87 __rpc_gss_qop_to_num(char *qop, char *mech, OM_uint32 *num) in __rpc_gss_qop_to_num()
95 __rpc_gss_num_to_qop(char *mech, OM_uint32 num) in __rpc_gss_num_to_qop()
142 __rpc_gss_get_principal_name(rpc_gss_principal_t *principal, char *mech, in __rpc_gss_get_principal_name()
261 __rpc_gss_get_mech_info(char *mech, rpc_gss_service_t *service) in __rpc_gss_get_mech_info()
294 __rpc_gss_is_installed(char *mech) in __rpc_gss_is_installed()
/illumos-gate/usr/src/uts/common/crypto/api/
H A Dkcf_cipher.c106 crypto_mechanism_t *mech, crypto_key_t *key, in crypto_cipher_init_prov()
229 crypto_cipher_init(crypto_mechanism_t *mech, crypto_key_t *key, in crypto_cipher_init()
319 crypto_mechanism_t *mech, crypto_data_t *plaintext, crypto_key_t *key, in crypto_encrypt_prov()
354 crypto_encrypt(crypto_mechanism_t *mech, crypto_data_t *plaintext, 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()
600 crypto_mechanism_t *mech, crypto_data_t *ciphertext, crypto_key_t *key, in crypto_decrypt_prov()
636 crypto_decrypt(crypto_mechanism_t *mech, crypto_data_t *ciphertext, in crypto_decrypt()
713 crypto_mechanism_t *mech, crypto_key_t *key, in crypto_decrypt_init_prov()
727 crypto_decrypt_init(crypto_mechanism_t *mech, crypto_key_t *key, in crypto_decrypt_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()
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()
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_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()
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()
372 crypto_mechanism_t *mech, crypto_key_t *key, crypto_spi_ctx_template_t tmpl, in crypto_mac_init_prov()
434 crypto_mac_init(crypto_mechanism_t *mech, crypto_key_t *key, in crypto_mac_init()
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()
210 crypto_mechanism_t *mech, crypto_context_t *ctxp, crypto_call_req_t *crq) in crypto_digest_init_prov()
272 crypto_digest_init(crypto_mechanism_t *mech, crypto_context_t *ctxp, in crypto_digest_init()
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/mech/
H A Dutil_token.c147 unsigned int g_token_size(mech, body_size) in g_token_size() argument
159 void g_make_token_header(mech, body_size, buf, tok_type) in g_make_token_header() argument
186 gss_int32 g_verify_token_header(mech, body_size, buf_in, tok_type, toksize_in, in g_verify_token_header() argument
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftAESCrypt.c48 soft_aes_check_mech_param(CK_MECHANISM_PTR mech, aes_ctx_t **ctxp) in soft_aes_check_mech_param()
329 CK_MECHANISM_TYPE mech = session_p->encrypt.mech.mechanism; in soft_aes_encrypt() local
639 CK_MECHANISM_TYPE mech = session_p->decrypt.mech.mechanism; in soft_aes_decrypt() local
812 CK_MECHANISM_TYPE mech = session_p->encrypt.mech.mechanism; in soft_aes_encrypt_update() local
895 CK_MECHANISM_TYPE mech = session_p->decrypt.mech.mechanism; in soft_aes_decrypt_update() local
1158 CK_MECHANISM_TYPE mech = session_p->encrypt.mech.mechanism; in soft_aes_encrypt_final() local
1271 CK_MECHANISM_TYPE mech = session_p->decrypt.mech.mechanism; in soft_aes_decrypt_final() local
/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() local
95 crypto_mechanism_t mech; in k5_ef_mac() local
/illumos-gate/usr/src/test/crypto-tests/tests/common/
H A Dcryptotest_pkcs.c41 CK_MECHANISM_TYPE mech; member
145 CK_MECHANISM mech; in sign_init() local
232 CK_MECHANISM mech; in verify_init() local
292 CK_MECHANISM mech; in encrypt_init() local
356 CK_MECHANISM mech; in decrypt_init() local
420 CK_MECHANISM mech; in digest_init() local
/illumos-gate/usr/src/test/crypto-tests/tests/longhash/
H A Dlonghash.c62 test_update_32(uint64_t mech, void *buf, size_t len, uint32_t c0, uint32_t c1) in test_update_32()
108 test_update_64(uint64_t mech, void *buf, size_t len, uint64_t c0, uint64_t c1) in test_update_64()
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dkey_mgr.c60 CK_MECHANISM * mech, in key_mgr_generate_key_pair()
234 CK_MECHANISM * mech, in key_mgr_wrap_key()
350 CK_MECHANISM * mech, in key_mgr_unwrap_key()

123456