/titanic_44/usr/src/uts/common/crypto/api/ |
H A D | kcf_dual.c | 275 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 D | kcf_mac.c | 176 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(¶ms, KCF_OP_SINGLE, pd->pd_sid, in crypto_mac_single()
|
H A D | kcf_cipher.c | 268 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(¶ms, 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(¶ms, KCF_OP_ATOMIC, pd->pd_sid, in crypto_decrypt() 873 KCF_WRAP_ENCRYPT_OPS_PARAMS(¶ms, KCF_OP_SINGLE, pd->pd_sid, in crypto_encrypt_single() 908 KCF_WRAP_DECRYPT_OPS_PARAMS(¶ms, KCF_OP_SINGLE, pd->pd_sid, in crypto_decrypt_single()
|
H A D | kcf_digest.c | 153 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(¶ms, KCF_OP_SINGLE, pd->pd_sid, in crypto_digest_single()
|
H A D | kcf_sign.c | 129 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(¶ms, op, pd->pd_sid, in sign_sr_atomic_common()
|
H A D | kcf_verify.c | 130 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(¶ms, op, pd->pd_sid, in verify_vr_atomic_common()
|
H A D | kcf_random.c | 230 (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 D | kcf_callprov.c | 1682 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 D | kcf_sched.c | 545 ctx->cc_session = new_pd->pd_sid; in kcf_resubmit_request()
|
/titanic_44/usr/src/cmd/mdb/common/modules/crypto/ |
H A D | impl.c | 102 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 D | kcf_spi.c | 282 KCF_OP_SESSION_OPEN, &prov_desc->pd_sid, 0, in crypto_register_provider()
|
/titanic_44/usr/src/uts/common/sys/crypto/ |
H A D | impl.h | 214 crypto_session_id_t pd_sid; member
|