/titanic_50/usr/src/uts/common/crypto/api/ |
H A D | kcf_dual.c | 52 crypto_data_t *pt, crypto_key_t *encr_key, crypto_key_t *mac_key, in crypto_encrypt_mac_prov() argument 73 mac_mech->cm_type, mac_key, pd, &real_provider, in crypto_encrypt_mac_prov() 135 &lencr_mech, encr_key, &lmac_mech, mac_key, pt, ct, in crypto_encrypt_mac_prov() 141 sid, encr_key, mac_key, pt, ct, mac, spi_encr_tmpl, in crypto_encrypt_mac_prov() 174 crypto_key_t *encr_key, crypto_key_t *mac_key, in crypto_encrypt_mac() argument 197 pd = kcf_get_dual_provider(encr_mech, encr_key, mac_mech, mac_key, in crypto_encrypt_mac() 264 KCF_OP_ATOMIC, NULL, mac_mech, mac_key, in crypto_encrypt_mac() 309 mac_key, mac_tmpl, mac, (crq == NULL) ? NULL : in crypto_encrypt_mac() 374 &lencr_mech, encr_key, &lmac_mech, mac_key, pt, ct, in crypto_encrypt_mac() 380 pd->pd_sid, encr_key, mac_key, pt, ct, mac, spi_encr_tmpl, in crypto_encrypt_mac() [all …]
|
/titanic_50/usr/src/uts/common/sys/crypto/ |
H A D | api.h | 212 crypto_key_t *encr_key, crypto_key_t *mac_key, 222 crypto_key_t *mac_key, crypto_ctx_template_t encr_tmpl, 239 crypto_key_t *mac_key, crypto_key_t *decr_key, 244 crypto_dual_data_t *ct, crypto_key_t *mac_key, crypto_key_t *decr_key, 249 crypto_key_t *mac_key, crypto_key_t *decr_key, 255 crypto_key_t *mac_key, crypto_key_t *decr_key, 259 crypto_mechanism_t *decr_mech, crypto_key_t *mac_key, 265 crypto_mechanism_t *decr_mech, crypto_key_t *mac_key,
|
H A D | impl.h | 925 mac_key, encr_ctx_template, mac_ctx_template, req) ( \ argument 929 ctx, encr_mech, encr_key, mac_mech, mac_key, encr_ctx_template, \ 955 mac_mech, mac_key, plaintext, ciphertext, mac, \ argument 961 mac_mech, mac_key, plaintext, ciphertext, mac, \ 965 #define KCF_PROV_MAC_DECRYPT_INIT(pd, ctx, mac_mech, mac_key, decr_mech, \ argument 970 ctx, mac_mech, mac_key, decr_mech, decr_key, mac_ctx_template, \ 995 #define KCF_PROV_MAC_DECRYPT_ATOMIC(pd, session, mac_mech, mac_key, \ argument 1001 (pd)->pd_prov_handle, session, mac_mech, mac_key, \ 1006 #define KCF_PROV_MAC_VERIFY_DECRYPT_ATOMIC(pd, session, mac_mech, mac_key, \ argument 1013 (pd)->pd_prov_handle, session, mac_mech, mac_key, \
|
/titanic_50/usr/src/uts/common/crypto/io/ |
H A D | dprov.c | 3211 crypto_key_t *mac_key, crypto_spi_ctx_template_t encr_ctx_template, in dprov_encrypt_mac_init() argument 3244 softc, req, ctx, 0, encrypt_mech, encrypt_key, mac_mech, mac_key, in dprov_encrypt_mac_init() 3336 crypto_key_t *mac_key, crypto_data_t *plaintext, in dprov_encrypt_mac_atomic() argument 3371 mac_key, ciphertext, plaintext, mac, KM_SLEEP); in dprov_encrypt_mac_atomic() 3381 crypto_key_t *mac_key, crypto_mechanism_t *decrypt_mech, in dprov_mac_decrypt_init() argument 3415 softc, req, ctx, 0, decrypt_mech, decrypt_key, mac_mech, mac_key, in dprov_mac_decrypt_init() 3502 crypto_key_t *mac_key, crypto_mechanism_t *decrypt_mech, in dprov_mac_decrypt_atomic() argument 3538 mac_key, ciphertext, plaintext, mac, KM_SLEEP); in dprov_mac_decrypt_atomic() 3549 crypto_key_t *mac_key, crypto_mechanism_t *decrypt_mech, in dprov_mac_verify_decrypt_atomic() argument 3585 mac_key, ciphertext, plaintext, mac, KM_SLEEP); in dprov_mac_verify_decrypt_atomic() [all …]
|