Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/sys/crypto/
H A Dapi.h37 typedef void *crypto_context_t; typedef
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 *);
80 extern int crypto_digest_update(crypto_context_t ctx, crypto_data_t *data,
82 extern int crypto_digest_final(crypto_context_t ctx, crypto_data_t *digest,
101 crypto_ctx_template_t tmpl, crypto_context_t *ctxp, crypto_call_req_t *cr);
104 crypto_context_t *, crypto_call_req_t *);
105 extern int crypto_mac_update(crypto_context_t ctx, crypto_data_t *data,
107 extern int crypto_mac_final(crypto_context_t ctx, crypto_data_t *data,
120 crypto_ctx_template_t tmpl, crypto_context_t *ctxp, crypto_call_req_t *cr);
[all …]
H A Dimpl.h1242 extern int crypto_digest_single(crypto_context_t, crypto_data_t *,
1245 extern int crypto_mac_single(crypto_context_t, crypto_data_t *,
1248 extern int crypto_encrypt_single(crypto_context_t, crypto_data_t *,
1251 extern int crypto_decrypt_single(crypto_context_t, crypto_data_t *,
1256 extern int crypto_digest_key_prov(crypto_context_t, crypto_key_t *,
1260 extern int crypto_sign_single(crypto_context_t, crypto_data_t *,
1263 extern int crypto_sign_recover_single(crypto_context_t, crypto_data_t *,
1267 extern int crypto_verify_single(crypto_context_t, crypto_data_t *,
1270 extern int crypto_verify_recover_single(crypto_context_t, crypto_data_t *,
1274 extern int crypto_digest_encrypt_update(crypto_context_t, crypto_context_t,
[all …]
/titanic_41/usr/src/uts/common/io/net80211/
H A Dnet80211_crypto_wep.c72 int rc4_init(crypto_context_t *, const uint8_t *, int);
73 int rc4_crypt(crypto_context_t, const uint8_t *, uint8_t *, int);
74 int rc4_final(crypto_context_t, uint8_t *, int);
231 crypto_context_t ctx; in wep_encrypt()
278 crypto_context_t ctx; in wep_decrypt()
323 rc4_init(crypto_context_t *ctx, const uint8_t *key, int keylen) in rc4_init()
354 rc4_crypt(crypto_context_t ctx, const uint8_t *inbuf, in rc4_crypt()
393 rc4_final(crypto_context_t ctx, uint8_t *outbuf, int buflen) in rc4_final()
H A Dnet80211_crypto_tkip.c96 extern int rc4_init(crypto_context_t *, const uint8_t *, int);
97 extern int rc4_crypt(crypto_context_t, const uint8_t *, uint8_t *, int);
98 extern int rc4_final(crypto_context_t, uint8_t *, int);
505 crypto_context_t ctx; in wep_encrypt()
534 crypto_context_t ctx; in wep_decrypt()
/titanic_41/usr/src/uts/common/crypto/api/
H A Dkcf_cipher.c107 crypto_spi_ctx_template_t tmpl, crypto_context_t *ctxp, in crypto_cipher_init_prov()
214 *ctxp = (crypto_context_t)ctx; in crypto_cipher_init_prov()
230 crypto_ctx_template_t tmpl, crypto_context_t *ctxp, in crypto_cipher_init()
432 crypto_ctx_template_t tmpl, crypto_context_t *ctxp, in crypto_encrypt_init_prov()
446 crypto_ctx_template_t tmpl, crypto_context_t *ctxp, in crypto_encrypt_init()
473 crypto_encrypt_update(crypto_context_t context, crypto_data_t *plaintext, in crypto_encrypt_update()
533 crypto_encrypt_final(crypto_context_t context, crypto_data_t *ciphertext, in crypto_encrypt_final()
714 crypto_ctx_template_t tmpl, crypto_context_t *ctxp, in crypto_decrypt_init_prov()
728 crypto_ctx_template_t tmpl, crypto_context_t *ctxp, in crypto_decrypt_init()
755 crypto_decrypt_update(crypto_context_t context, crypto_data_t *ciphertext, in crypto_decrypt_update()
[all …]
H A Dkcf_sign.c48 crypto_context_t *ctxp, crypto_call_req_t *crq) in crypto_sign_init_prov()
81 *ctxp = (crypto_context_t)ctx; in crypto_sign_init_prov()
92 crypto_ctx_template_t tmpl, crypto_context_t *ctxp, crypto_call_req_t *crq) in crypto_sign_init()
146 crypto_sign_single(crypto_context_t context, crypto_data_t *data, in crypto_sign_single()
174 crypto_sign_update(crypto_context_t context, crypto_data_t *data, in crypto_sign_update()
201 crypto_sign_final(crypto_context_t context, crypto_data_t *signature, in crypto_sign_final()
388 crypto_ctx_template_t tmpl, crypto_context_t *ctxp, crypto_call_req_t *crq) in crypto_sign_recover_init_prov()
421 *ctxp = (crypto_context_t)ctx; in crypto_sign_recover_init_prov()
431 crypto_sign_recover_single(crypto_context_t context, crypto_data_t *data, in crypto_sign_recover_single()
H A Dkcf_verify.c48 crypto_context_t *ctxp, crypto_call_req_t *crq) in crypto_verify_init_prov()
81 *ctxp = (crypto_context_t)ctx; in crypto_verify_init_prov()
93 crypto_ctx_template_t tmpl, crypto_context_t *ctxp, crypto_call_req_t *crq) in crypto_verify_init()
147 crypto_verify_single(crypto_context_t context, crypto_data_t *data, in crypto_verify_single()
175 crypto_verify_update(crypto_context_t context, crypto_data_t *data, in crypto_verify_update()
203 crypto_verify_final(crypto_context_t context, crypto_data_t *signature, in crypto_verify_final()
390 crypto_ctx_template_t tmpl, crypto_context_t *ctxp, crypto_call_req_t *crq) in crypto_verify_recover_init_prov()
423 *ctxp = (crypto_context_t)ctx; in crypto_verify_recover_init_prov()
433 crypto_verify_recover_single(crypto_context_t context, crypto_data_t *signature, in crypto_verify_recover_single()
H A Dkcf_digest.c210 crypto_mechanism_t *mech, crypto_context_t *ctxp, crypto_call_req_t *crq) in crypto_digest_init_prov()
256 *ctxp = (crypto_context_t)ctx; in crypto_digest_init_prov()
272 crypto_digest_init(crypto_mechanism_t *mech, crypto_context_t *ctxp, in crypto_digest_init()
336 crypto_digest_update(crypto_context_t context, crypto_data_t *data, in crypto_digest_update()
385 crypto_digest_final(crypto_context_t context, crypto_data_t *digest, in crypto_digest_final()
422 crypto_digest_key_prov(crypto_context_t context, crypto_key_t *key, in crypto_digest_key_prov()
456 crypto_digest_single(crypto_context_t context, crypto_data_t *data, in crypto_digest_single()
H A Dkcf_dual.c418 crypto_ctx_template_t mac_tmpl, crypto_context_t *ctxp, in crypto_encrypt_mac_init_prov()
538 *ctxp = (crypto_context_t)ctx; in crypto_encrypt_mac_init_prov()
555 crypto_ctx_template_t mac_tmpl, crypto_context_t *ctxp, in crypto_encrypt_mac_init()
664 crypto_context_t mac_context; in crypto_encrypt_mac_init()
688 (crypto_context_t *)&ctx, NULL); in crypto_encrypt_mac_init()
729 *ctxp = (crypto_context_t)ctx; in crypto_encrypt_mac_init()
777 *ctxp = (crypto_context_t)ctx; in crypto_encrypt_mac_init()
853 *ctxp = (crypto_context_t)ctx; in crypto_encrypt_mac_init()
867 crypto_encrypt_mac_update(crypto_context_t context, in crypto_encrypt_mac_update()
930 error = crypto_mac_update((crypto_context_t)mac_ctx, in crypto_encrypt_mac_update()
[all …]
H A Dkcf_mac.c373 crypto_context_t *ctxp, crypto_call_req_t *crq) in crypto_mac_init_prov()
419 *ctxp = (crypto_context_t)ctx; in crypto_mac_init_prov()
435 crypto_ctx_template_t tmpl, crypto_context_t *ctxp, in crypto_mac_init()
522 crypto_mac_update(crypto_context_t context, crypto_data_t *data, in crypto_mac_update()
571 crypto_mac_final(crypto_context_t context, crypto_data_t *mac, in crypto_mac_final()
607 crypto_mac_single(crypto_context_t context, crypto_data_t *data, in crypto_mac_single()
/titanic_41/usr/src/uts/common/smbsrv/
H A Dsmb_signing.h31 typedef crypto_context_t smb_sign_ctx_t;
/titanic_41/usr/src/uts/common/crypto/core/
H A Dkcf_callprov.c1696 (crypto_context_t *)&mac_ctx, NULL); in kcf_emulate_dual()
1741 err = crypto_mac_update((crypto_context_t)mac_ctx, in kcf_emulate_dual()
1754 crypto_context_t mac_context = mac_ctx; in kcf_emulate_dual()
1813 (crypto_context_t *)&mac_ctx, NULL); in kcf_emulate_dual()
1830 crypto_cancel_ctx((crypto_context_t)mac_ctx); in kcf_emulate_dual()
1848 err = crypto_mac_update((crypto_context_t)mac_ctx, in kcf_emulate_dual()
1863 err = crypto_decrypt_update((crypto_context_t)ctx, in kcf_emulate_dual()
1877 err = crypto_mac_final((crypto_context_t)mac_ctx, in kcf_emulate_dual()
1887 err = crypto_decrypt_final((crypto_context_t)ctx, pt, in kcf_emulate_dual()
H A Dkcf_sched.c1668 crypto_cancel_ctx(crypto_context_t ctx) in crypto_cancel_ctx()
/titanic_41/usr/src/uts/common/sys/
H A Dcryptmod.h188 crypto_context_t ctx;
/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/crypto/hash_provider/
H A Dhash_kef_generic.c25 crypto_context_t ctxp; in k5_ef_hash()
/titanic_41/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_sign.c86 crypto_context_t crypto_ctx; in smb_compute_MAC()
/titanic_41/usr/src/uts/common/inet/kssl/
H A Dksslproto.h273 crypto_context_t cipher_ctx;
H A Dksslrec.c1079 crypto_context_t ctx; in kssl_tls_P_hash()
/titanic_41/usr/src/uts/common/crypto/io/
H A Dcrypto.c87 crypto_ctx_template_t, crypto_context_t *, crypto_call_req_t *));
89 static int common_digest(dev_t, caddr_t, int, int (*)(crypto_context_t,
92 static int cipher(dev_t, caddr_t, int, int (*)(crypto_context_t,
95 static int cipher_update(dev_t, caddr_t, int, int (*)(crypto_context_t,
98 static int common_final(dev_t, caddr_t, int, int (*)(crypto_context_t,
103 crypto_ctx_template_t, crypto_context_t *, crypto_call_req_t *));
106 int (*)(crypto_context_t, crypto_data_t *, crypto_call_req_t *));
2604 crypto_ctx_template_t, crypto_context_t *, crypto_call_req_t *)) in cipher_init() argument
2613 crypto_context_t cc; in cipher_init()
2742 int (*single)(crypto_context_t, crypto_data_t *, crypto_data_t *, in cipher() argument
[all …]
H A Ddprov.c1648 crypto_context_t dc_ctx;
1659 crypto_context_t cd_cipher_ctx;
1660 crypto_context_t cd_mac_ctx;
4267 crypto_context_t context = DPROV_CTX_SINGLE(ctx); in dprov_free_context()
4278 crypto_context_t cipher_context = in dprov_free_context()
4280 crypto_context_t mac_context = DPROV_CTX_DUAL_MAC(ctx); in dprov_free_context()