Home
last modified time | relevance | path

Searched refs:verify_ctx (Results 1 – 7 of 7) sorted by relevance

/titanic_50/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dsess_mgr.c601 if (sess->verify_ctx.context) in session_mgr_close_session()
602 free(sess->verify_ctx.context); in session_mgr_close_session()
604 if (sess->verify_ctx.mech.pParameter) in session_mgr_close_session()
605 free(sess->verify_ctx.mech.pParameter); in session_mgr_close_session()
678 if (sess->verify_ctx.context) in session_mgr_close_all_sessions()
679 free(sess->verify_ctx.context); in session_mgr_close_all_sessions()
681 if (sess->verify_ctx.mech.pParameter) in session_mgr_close_all_sessions()
682 free(sess->verify_ctx.mech.pParameter); in session_mgr_close_all_sessions()
942 if (sess->verify_ctx.active == TRUE) { in session_mgr_get_op_state()
948 sess->verify_ctx.context_len + in session_mgr_get_op_state()
[all …]
H A Dmech_rsa.c534 SIGN_VERIFY_CONTEXT verify_ctx; in rsa_hash_pkcs_verify() local
544 (void) memset(&verify_ctx, 0x0, sizeof (verify_ctx)); in rsa_hash_pkcs_verify()
588 rc = verify_mgr_init(sess, &verify_ctx, &verify_mech, FALSE, ctx->key); in rsa_hash_pkcs_verify()
592 rc = verify_mgr_verify(sess, &verify_ctx, ber_data, in rsa_hash_pkcs_verify()
599 (void) sign_mgr_cleanup(&verify_ctx); in rsa_hash_pkcs_verify()
743 SIGN_VERIFY_CONTEXT verify_ctx; in rsa_hash_pkcs_verify_final() local
759 (void) memset(&verify_ctx, 0x0, sizeof (verify_ctx)); in rsa_hash_pkcs_verify_final()
786 rc = verify_mgr_init(sess, &verify_ctx, &verify_mech, FALSE, ctx->key); in rsa_hash_pkcs_verify_final()
790 rc = verify_mgr_verify(sess, &verify_ctx, ber_data, in rsa_hash_pkcs_verify_final()
796 (void) verify_mgr_cleanup(&verify_ctx); in rsa_hash_pkcs_verify_final()
H A Dnew_host.c1953 if (sess->verify_ctx.active == TRUE) { in SC_VerifyInit()
1958 rc = verify_mgr_init(sess, &sess->verify_ctx, pMechanism, FALSE, hKey); in SC_VerifyInit()
1989 if (sess->verify_ctx.active == FALSE) { in SC_Verify()
1995 &sess->verify_ctx, pData, ulDataLen, in SC_Verify()
1999 (void) verify_mgr_cleanup(&sess->verify_ctx); in SC_Verify()
2029 if (sess->verify_ctx.active == FALSE) { in SC_VerifyUpdate()
2034 rc = verify_mgr_verify_update(sess, &sess->verify_ctx, in SC_VerifyUpdate()
2038 (void) verify_mgr_cleanup(&sess->verify_ctx); in SC_VerifyUpdate()
2068 if (sess->verify_ctx.active == FALSE) { in SC_VerifyFinal()
2073 rc = verify_mgr_verify_final(sess, &sess->verify_ctx, in SC_VerifyFinal()
[all …]
H A Dtpmtok_int.h319 SIGN_VERIFY_CONTEXT verify_ctx; member
/titanic_50/usr/src/uts/common/sys/crypto/
H A Dimpl.h912 #define KCF_PROV_DECRYPT_VERIFY_UPDATE(decrypt_ctx, verify_ctx, ciphertext, \ argument
917 decrypt_ctx, verify_ctx, ciphertext, plaintext, req) : \
/titanic_50/usr/src/uts/common/crypto/api/
H A Dkcf_dual.c2193 crypto_context_t verify_ctx, crypto_data_t *ciphertext, in crypto_decrypt_verify_update() argument
/titanic_50/usr/src/uts/common/crypto/io/
H A Ddprov.c3177 dprov_decrypt_verify_update(crypto_ctx_t *decrypt_ctx, crypto_ctx_t *verify_ctx, in dprov_decrypt_verify_update() argument
3191 if (decrypt_ctx->cc_provider != verify_ctx->cc_provider) in dprov_decrypt_verify_update()
3196 softc, req, verify_ctx, decrypt_ctx, plaintext, ciphertext); in dprov_decrypt_verify_update()