Home
last modified time | relevance | path

Searched refs:smb_crypto_mech_t (Results 1 – 20 of 20) sorted by relevance

/illumos-gate/usr/src/uts/common/smbsrv/
H A Dsmb_kcrypt.h54 typedef crypto_mechanism_t smb_crypto_mech_t; typedef
63 smb_crypto_mech_t mech;
73 typedef CK_MECHANISM smb_crypto_mech_t;
82 smb_crypto_mech_t mech;
93 int smb_md5_getmech(smb_crypto_mech_t *);
94 int smb_md5_init(smb_sign_ctx_t *, smb_crypto_mech_t *);
105 int smb2_hmac_getmech(smb_crypto_mech_t *);
106 int smb2_hmac_init(smb_sign_ctx_t *, smb_crypto_mech_t *, uint8_t *, size_t);
110 int smb2_hmac_one(smb_crypto_mech_t *mech, uint8_t *key, size_t key_len,
113 int smb3_cmac_getmech(smb_crypto_mech_t *);
[all …]
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dnsmb_kcrypt.h58 typedef crypto_mechanism_t smb_crypto_mech_t; typedef
69 smb_crypto_mech_t mech;
78 typedef CK_MECHANISM smb_crypto_mech_t;
88 smb_crypto_mech_t mech;
99 int nsmb_md5_getmech(smb_crypto_mech_t *);
100 int nsmb_md5_init(smb_sign_ctx_t *, smb_crypto_mech_t *);
111 int nsmb_hmac_getmech(smb_crypto_mech_t *);
112 int nsmb_hmac_init(smb_sign_ctx_t *, smb_crypto_mech_t *, uint8_t *, size_t);
116 int nsmb_hmac_one(smb_crypto_mech_t *mech, uint8_t *key, size_t key_len,
119 int nsmb_cmac_getmech(smb_crypto_mech_t *);
[all …]
H A Dnsmb_sign_kcf.c43 find_mech(smb_crypto_mech_t *mech, const char *name) in find_mech()
62 nsmb_md5_getmech(smb_crypto_mech_t *mech) in nsmb_md5_getmech()
71 nsmb_md5_init(smb_sign_ctx_t *ctxp, smb_crypto_mech_t *mech) in nsmb_md5_init()
131 nsmb_hmac_getmech(smb_crypto_mech_t *mech) in nsmb_hmac_getmech()
140 nsmb_hmac_init(smb_sign_ctx_t *ctxp, smb_crypto_mech_t *mech, in nsmb_hmac_init()
210 nsmb_hmac_one(smb_crypto_mech_t *mech, in nsmb_hmac_one()
248 nsmb_cmac_getmech(smb_crypto_mech_t *mech) in nsmb_cmac_getmech()
257 nsmb_cmac_init(smb_sign_ctx_t *ctxp, smb_crypto_mech_t *mech, in nsmb_cmac_init()
H A Dsmb3_crypt.c57 smb_crypto_mech_t *mech; in nsmb_crypt_init_mech()
79 smb_crypto_mech_t *mech; in nsmb_crypt_free_mech()
157 ctx.mech = *((smb_crypto_mech_t *)vcp->vc3_crypt_mech); in smb3_msg_encrypt()
279 ctx.mech = *((smb_crypto_mech_t *)vcp->vc3_crypt_mech); in smb3_msg_decrypt()
H A Dnsmb_crypt_kcf.c43 find_mech(smb_crypto_mech_t *mech, const char *name) in find_mech()
62 nsmb_aes_ccm_getmech(smb_crypto_mech_t *mech) in nsmb_aes_ccm_getmech()
68 nsmb_aes_gcm_getmech(smb_crypto_mech_t *mech) in nsmb_aes_gcm_getmech()
H A Dnsmb_kdf.c106 smb_crypto_mech_t mech; in nsmb_kdf()
H A Dsmb_conn.h229 smb_crypto_mech_t vc_signmech;
244 smb_crypto_mech_t *vc3_crypt_mech;
H A Dsmb2_sign.c60 int (*mac_init)(smb_sign_ctx_t *, smb_crypto_mech_t *,
/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()
72 smb_crypto_mech_t *mech; in smb31_preauth_fini()
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()
/illumos-gate/usr/src/lib/smbclnt/libfknsmb/common/
H A Dfksmb_sign_pkcs.c41 find_mech(smb_crypto_mech_t *mech, ulong_t mid) in find_mech()
69 nsmb_md5_getmech(smb_crypto_mech_t *mech) in nsmb_md5_getmech()
78 nsmb_md5_init(smb_sign_ctx_t *ctxp, smb_crypto_mech_t *mech) in nsmb_md5_init()
130 nsmb_hmac_getmech(smb_crypto_mech_t *mech) in nsmb_hmac_getmech()
139 nsmb_hmac_init(smb_sign_ctx_t *ctxp, smb_crypto_mech_t *mech, in nsmb_hmac_init()
200 nsmb_hmac_one(smb_crypto_mech_t *mech, in nsmb_hmac_one()
258 nsmb_cmac_getmech(smb_crypto_mech_t *mech) in nsmb_cmac_getmech()
267 nsmb_cmac_init(smb_sign_ctx_t *ctxp, smb_crypto_mech_t *mech, in nsmb_cmac_init()
H A Dfksmb_crypt_pkcs.c67 nsmb_aes_ccm_getmech(smb_crypto_mech_t *mech) in nsmb_aes_ccm_getmech()
80 nsmb_aes_gcm_getmech(smb_crypto_mech_t *mech) in nsmb_aes_gcm_getmech()
/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()
74 smb_crypto_mech_t *mech; in smb31_preauth_fini()
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()
H A Dsmb2_signing.c53 int (*mac_init)(smb_sign_ctx_t *, smb_crypto_mech_t *,
91 smb_crypto_mech_t *mech; in smb2_sign_fini()
125 smb_crypto_mech_t *mech; in smb2_sign_init_mech()
126 int (*get_mech)(smb_crypto_mech_t *); in smb2_sign_init_mech()
H A Dsmb3_encrypt.c83 smb_crypto_mech_t *mech; in smb3_encrypt_init_mech()
398 ctx.mech = *((smb_crypto_mech_t *)s->enc_mech); in smb3_decrypt_sr()
561 ctx.mech = *((smb_crypto_mech_t *)s->enc_mech); in smb3_encrypt_sr()
648 smb_crypto_mech_t *mech; in smb3_encrypt_ssn_fini()
H A Dsmb3_kdf.c106 smb_crypto_mech_t mech; in smb3_kdf()
H A Dsmb_signing.c108 smb_crypto_mech_t *mech; in smb_sign_fini()
129 smb_crypto_mech_t *mech; in smb_sign_begin()