Home
last modified time | relevance | path

Searched refs:pd_sid (Results 1 – 12 of 12) sorted by relevance

/titanic_44/usr/src/uts/common/crypto/api/
H A Dkcf_dual.c275 pd->pd_sid, encr_mech, encr_key, in crypto_encrypt_mac()
279 pd->pd_sid, encr_mech, encr_key, pt, in crypto_encrypt_mac()
373 error = KCF_PROV_ENCRYPT_MAC_ATOMIC(pd, pd->pd_sid, in crypto_encrypt_mac()
380 pd->pd_sid, encr_key, mac_key, pt, ct, mac, spi_encr_tmpl, in crypto_encrypt_mac()
640 ctx = kcf_new_ctx(cr, pd, pd->pd_sid); in crypto_encrypt_mac_init()
686 error = crypto_encrypt_init_prov(pd, pd->pd_sid, in crypto_encrypt_mac_init()
740 pd->pd_sid, encr_key, mac_key, NULL, NULL, NULL, in crypto_encrypt_mac_init()
801 ctx = kcf_new_ctx(cr, pd, pd->pd_sid); in crypto_encrypt_mac_init()
830 pd->pd_sid, encr_key, mac_key, NULL, NULL, NULL, in crypto_encrypt_mac_init()
943 pd->pd_sid, NULL, NULL, pt, ct, NULL, NULL, NULL) in crypto_encrypt_mac_update()
[all …]
H A Dkcf_mac.c176 error = KCF_PROV_MAC_ATOMIC(pd, pd->pd_sid, &lmech, key, data, in crypto_mac()
192 pd->pd_sid, mech, key, data, mac, spi_ctx_tmpl); in crypto_mac()
300 error = KCF_PROV_MAC_VERIFY_ATOMIC(pd, pd->pd_sid, &lmech, key, in crypto_mac_verify()
311 KCF_OP_MAC_VERIFY_ATOMIC, pd->pd_sid, mech, in crypto_mac_verify()
486 error = crypto_mac_init_prov(pd, pd->pd_sid, mech, key, in crypto_mac_init()
629 KCF_WRAP_MAC_OPS_PARAMS(&params, KCF_OP_SINGLE, pd->pd_sid, in crypto_mac_single()
H A Dkcf_cipher.c268 error = crypto_cipher_init_prov(pd, pd->pd_sid, mech, key, in crypto_cipher_init()
401 error = KCF_PROV_ENCRYPT_ATOMIC(pd, pd->pd_sid, &lmech, key, in crypto_encrypt()
405 KCF_WRAP_ENCRYPT_OPS_PARAMS(&params, KCF_OP_ATOMIC, pd->pd_sid, in crypto_encrypt()
683 error = KCF_PROV_DECRYPT_ATOMIC(pd, pd->pd_sid, &lmech, key, in crypto_decrypt()
687 KCF_WRAP_DECRYPT_OPS_PARAMS(&params, KCF_OP_ATOMIC, pd->pd_sid, in crypto_decrypt()
873 KCF_WRAP_ENCRYPT_OPS_PARAMS(&params, KCF_OP_SINGLE, pd->pd_sid, in crypto_encrypt_single()
908 KCF_WRAP_DECRYPT_OPS_PARAMS(&params, KCF_OP_SINGLE, pd->pd_sid, in crypto_decrypt_single()
H A Dkcf_digest.c153 error = KCF_PROV_DIGEST_ATOMIC(pd, pd->pd_sid, &lmech, data, in crypto_digest()
163 pd->pd_sid, mech, NULL, data, digest); in crypto_digest()
300 error = crypto_digest_init_prov(pd, pd->pd_sid, in crypto_digest_init()
477 KCF_WRAP_DIGEST_OPS_PARAMS(&params, KCF_OP_SINGLE, pd->pd_sid, in crypto_digest_single()
H A Dkcf_sign.c129 error = crypto_sign_init_prov(pd, pd->pd_sid, mech, key, spi_ctx_tmpl, in crypto_sign_init()
304 error = KCF_PROV_SIGN_ATOMIC(pd, pd->pd_sid, &lmech, in sign_sr_atomic_common()
308 error = KCF_PROV_SIGN_RECOVER_ATOMIC(pd, pd->pd_sid, in sign_sr_atomic_common()
316 KCF_WRAP_SIGN_OPS_PARAMS(&params, op, pd->pd_sid, in sign_sr_atomic_common()
H A Dkcf_verify.c130 error = crypto_verify_init_prov(pd, pd->pd_sid, mech, key, spi_ctx_tmpl, in crypto_verify_init()
306 error = KCF_PROV_VERIFY_ATOMIC(pd, pd->pd_sid, &lmech, in verify_vr_atomic_common()
311 error = KCF_PROV_VERIFY_RECOVER_ATOMIC(pd, pd->pd_sid, in verify_vr_atomic_common()
319 KCF_WRAP_VERIFY_OPS_PARAMS(&params, op, pd->pd_sid, in verify_vr_atomic_common()
H A Dkcf_random.c230 (void) KCF_PROV_SEED_RANDOM(pd, pd->pd_sid, buf, len, in rngprov_seed()
266 pd->pd_sid, ptr, need, 0, 0); in rngprov_getbytes()
364 pd->pd_sid, rndbuf, MINEXTRACTBYTES, 0, 0); in rngprov_getbytes_nblk()
375 pd->pd_sid, ptr, len, 0, 0); in rngprov_getbytes_nblk()
/titanic_44/usr/src/uts/common/crypto/core/
H A Dkcf_callprov.c1682 pd->pd_sid, &cmops->em_encr_mech, in kcf_emulate_dual()
1715 pd->pd_sid, NULL, NULL, pt, (crypto_data_t *)ct, in kcf_emulate_dual()
1757 pd->pd_sid, NULL, NULL, NULL, (crypto_data_t *)ct, in kcf_emulate_dual()
1821 pd->pd_sid, &mdops->md_decr_mech, in kcf_emulate_dual()
H A Dkcf_sched.c545 ctx->cc_session = new_pd->pd_sid; in kcf_resubmit_request()
/titanic_44/usr/src/cmd/mdb/common/modules/crypto/
H A Dimpl.c102 mdb_printf("pd_sid:\t\t\t%u\n", desc.pd_sid); in kcf_provider_desc()
/titanic_44/usr/src/uts/common/crypto/spi/
H A Dkcf_spi.c282 KCF_OP_SESSION_OPEN, &prov_desc->pd_sid, 0, in crypto_register_provider()
/titanic_44/usr/src/uts/common/sys/crypto/
H A Dimpl.h214 crypto_session_id_t pd_sid; member