Home
last modified time | relevance | path

Searched refs:ulParameterLen (Results 1 – 25 of 49) sorted by relevance

12

/titanic_44/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Ddecr_mgr.c91 if (mech->ulParameterLen != 0) in decr_mgr_init()
115 if (mech->ulParameterLen > 0) { in decr_mgr_init()
116 ptr = (CK_BYTE *)malloc(mech->ulParameterLen); in decr_mgr_init()
120 (void) memcpy(ptr, mech->pParameter, mech->ulParameterLen); in decr_mgr_init()
124 ctx->mech.ulParameterLen = mech->ulParameterLen; in decr_mgr_init()
140 ctx->mech.ulParameterLen = 0; in decr_mgr_cleanup()
H A Dencr_mgr.c91 if (mech->ulParameterLen != 0) { in encr_mgr_init()
114 if (mech->ulParameterLen > 0) { in encr_mgr_init()
115 ptr = (CK_BYTE *)malloc(mech->ulParameterLen); in encr_mgr_init()
119 (void) memcpy(ptr, mech->pParameter, mech->ulParameterLen); in encr_mgr_init()
123 ctx->mech.ulParameterLen = mech->ulParameterLen; in encr_mgr_init()
139 ctx->mech.ulParameterLen = 0; in encr_mgr_cleanup()
H A Dsess_mgr.c787 sess->encr_ctx.mech.ulParameterLen; in session_mgr_get_op_state()
813 if (sess->encr_ctx.mech.ulParameterLen != 0) { in session_mgr_get_op_state()
816 sess->encr_ctx.mech.ulParameterLen); in session_mgr_get_op_state()
828 sess->decr_ctx.mech.ulParameterLen; in session_mgr_get_op_state()
854 if (sess->decr_ctx.mech.ulParameterLen != 0) { in session_mgr_get_op_state()
857 sess->decr_ctx.mech.ulParameterLen); in session_mgr_get_op_state()
869 sess->digest_ctx.mech.ulParameterLen; in session_mgr_get_op_state()
894 if (sess->digest_ctx.mech.ulParameterLen != 0) { in session_mgr_get_op_state()
897 sess->digest_ctx.mech.ulParameterLen); in session_mgr_get_op_state()
909 sess->sign_ctx.mech.ulParameterLen; in session_mgr_get_op_state()
[all …]
H A Dsign_mgr.c139 if (mech->ulParameterLen != 0) { in sign_mgr_init()
166 if (mech->ulParameterLen != in sign_mgr_init()
200 if (mech->ulParameterLen > 0 && mech->pParameter == NULL) in sign_mgr_init()
203 if (mech->ulParameterLen > 0) { in sign_mgr_init()
204 ptr = (CK_BYTE *)malloc(mech->ulParameterLen); in sign_mgr_init()
208 (void) memcpy(ptr, mech->pParameter, mech->ulParameterLen); in sign_mgr_init()
212 ctx->mech.ulParameterLen = mech->ulParameterLen; in sign_mgr_init()
229 ctx->mech.ulParameterLen = 0; in sign_mgr_cleanup()
H A Dverify_mgr.c163 if (mech->ulParameterLen != in verify_mgr_init()
197 ctx->mech.ulParameterLen = mech->ulParameterLen; in verify_mgr_init()
214 ctx->mech.ulParameterLen = 0; in verify_mgr_cleanup()
H A Ddig_mgr.c339 ctx->mech.ulParameterLen = mech->ulParameterLen; in digest_mgr_init()
361 ctx->mech.ulParameterLen = 0; in digest_mgr_cleanup()
H A Dmech_rsa.c429 digest_mech.ulParameterLen = 0; in rsa_hash_pkcs_sign()
456 sign_mech.ulParameterLen = 0; in rsa_hash_pkcs_sign()
496 digest_mech.ulParameterLen = 0; in rsa_hash_pkcs_sign_update()
558 digest_mech.ulParameterLen = 0; in rsa_hash_pkcs_verify()
585 verify_mech.ulParameterLen = 0; in rsa_hash_pkcs_verify()
624 digest_mech.ulParameterLen = 0; in rsa_hash_pkcs_verify_update()
703 sign_mech.ulParameterLen = 0; in rsa_hash_pkcs_sign_final()
783 verify_mech.ulParameterLen = 0; in rsa_hash_pkcs_verify_final()
H A Dmech_md5.c377 digest_mech.ulParameterLen = 0; in md5_hmac_sign()
418 digest_mech.ulParameterLen = 0; in md5_hmac_sign()
H A Dmech_sha.c109 digest_mech.ulParameterLen = 0; in sha1_hmac_sign()
149 digest_mech.ulParameterLen = 0; in sha1_hmac_sign()
/titanic_44/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftMAC.c109 if ((pMechanism->ulParameterLen != in soft_hmac_sign_verify_init_common()
122 if ((pMechanism->ulParameterLen != in soft_hmac_sign_verify_init_common()
134 if ((pMechanism->ulParameterLen != in soft_hmac_sign_verify_init_common()
147 if ((pMechanism->ulParameterLen != in soft_hmac_sign_verify_init_common()
237 digest_mech.ulParameterLen = 0; in mac_init_ctx()
303 digest_mech.ulParameterLen = 0; in mac_init_ctx()
343 digest_mech.ulParameterLen = 0; in mac_init_ctx()
384 digest_mech.ulParameterLen = 0; in mac_init_ctx()
425 digest_mech.ulParameterLen = 0; in mac_init_ctx()
H A DsoftDecryptUtil.c131 (pMechanism->ulParameterLen != DES_BLOCK_LEN)) { in soft_decrypt_init()
186 (pMechanism->ulParameterLen != AES_BLOCK_LEN)) { in soft_decrypt_init()
232 pMechanism->ulParameterLen != sizeof (CK_AES_CTR_PARAMS)) { in soft_decrypt_init()
270 (pMechanism->ulParameterLen != BLOWFISH_BLOCK_LEN)) in soft_decrypt_init()
H A DsoftEncryptUtil.c154 (pMechanism->ulParameterLen != DES_BLOCK_LEN)) { in soft_encrypt_init()
208 (pMechanism->ulParameterLen != AES_BLOCK_LEN)) { in soft_encrypt_init()
252 pMechanism->ulParameterLen != sizeof (CK_AES_CTR_PARAMS)) { in soft_encrypt_init()
309 (pMechanism->ulParameterLen != BLOWFISH_BLOCK_LEN)) in soft_encrypt_init()
H A DsoftKeysUtil.c195 pMechanism->ulParameterLen != sizeof (CK_VERSION)) in soft_genkey()
218 pMechanism->ulParameterLen != in soft_genkey()
251 pMechanism->ulParameterLen != in soft_genkey()
640 digest_mech.ulParameterLen = 0; in soft_pkcs12_pbe()
881 pMechanism->ulParameterLen); in soft_derivekey()
913 pMechanism->ulParameterLen); in soft_derivekey()
1061 pMechanism->ulParameterLen != sizeof (CK_TLS_PRF_PARAMS) || in soft_derivekey()
H A DsoftDigestUtil.c93 session_p->digest.mech.ulParameterLen = in soft_digest_init()
94 pMechanism->ulParameterLen; in soft_digest_init()
/titanic_44/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaUtil.c49 if ((pMechanism->ulParameterLen > 0) && in meta_operation_init_defer()
52 malloc(pMechanism->ulParameterLen); in meta_operation_init_defer()
59 pMechanism->pParameter, pMechanism->ulParameterLen); in meta_operation_init_defer()
64 if ((pMechanism->ulParameterLen > 0) && in meta_operation_init_defer()
66 if (pMechanism->ulParameterLen != in meta_operation_init_defer()
67 session->init.pMech->ulParameterLen) { in meta_operation_init_defer()
71 malloc(pMechanism->ulParameterLen); in meta_operation_init_defer()
79 pMechanism->pParameter, pMechanism->ulParameterLen); in meta_operation_init_defer()
93 session->init.pMech->ulParameterLen = in meta_operation_init_defer()
94 pMechanism->ulParameterLen; in meta_operation_init_defer()
[all …]
H A DmetaKeys.c281 if ((keyparams == NULL) || (pMech->ulParameterLen in meta_DeriveKey()
323 if ((pMech->pParameter == NULL) || (pMech->ulParameterLen in meta_DeriveKey()
344 if ((pMech->pParameter == NULL) || (pMech->ulParameterLen in meta_DeriveKey()
364 if ((pMech->pParameter == NULL) || (pMech->ulParameterLen in meta_DeriveKey()
/titanic_44/usr/src/uts/common/gssapi/mechs/krb5/crypto/des/
H A Dd3_cbc.c64 mechanism.ulParameterLen = sizeof(mit_des_cblock); in mit_des3_cbc_encrypt()
66 mechanism.ulParameterLen = 0; in mit_des3_cbc_encrypt()
H A Df_cbc.c67 mechanism.ulParameterLen = MIT_DES_BLOCK_LENGTH;
69 mechanism.ulParameterLen = 0;
/titanic_44/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_crypt.c92 mechanism.ulParameterLen = 0; in smb_auth_hmac_md5()
170 mechanism.ulParameterLen = 0; in smb_auth_DES()
263 mechanism.ulParameterLen = 0; in smb_auth_RC4()
/titanic_44/usr/src/lib/libsmbfs/smb/
H A Dcrypt.c94 mechanism.ulParameterLen = 0; in smb_encrypt_DES()
185 mechanism.ulParameterLen = 0; in smb_encrypt_RC4()
/titanic_44/usr/src/lib/gss_mechs/mech_krb5/crypto/hash_provider/
H A Dhash_md5.c50 mechanism.ulParameterLen = 0; in k5_md5_hash()
H A Dhash_sha1.c46 mechanism.ulParameterLen = 0; in k5_sha1_hash()
/titanic_44/usr/src/uts/common/gssapi/mechs/krb5/crypto/enc_provider/
H A Daes_provider.c330 mechanism.ulParameterLen = sizeof (tmp_ivec); in krb5int_aes_encrypt()
333 mechanism.ulParameterLen = ivec->length; in krb5int_aes_encrypt()
777 mechanism.ulParameterLen = sizeof (tmp_ivec); in krb5int_aes_decrypt()
780 mechanism.ulParameterLen = ivec->length; in krb5int_aes_decrypt()
908 mechanism.ulParameterLen = sizeof (tmp_ivec_data); in krb5int_aes_decrypt()
962 mechanism.ulParameterLen = ivec->length; in krb5int_aes_decrypt()
/titanic_44/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfksmb_sign_pkcs.c40 mech->ulParameterLen = 0; in smb_md5_getmech()
/titanic_44/usr/src/lib/gss_mechs/mech_krb5/crypto/keyhash_provider/
H A Dk5_md5des.c101 mechanism.ulParameterLen = 0; in k5_md5des_hash()
227 mechanism.ulParameterLen = 0; in k5_md5des_verify()

12