/titanic_44/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | decr_mgr.c | 91 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 D | encr_mgr.c | 91 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 D | sess_mgr.c | 787 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 D | sign_mgr.c | 139 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 D | verify_mgr.c | 163 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 D | dig_mgr.c | 339 ctx->mech.ulParameterLen = mech->ulParameterLen; in digest_mgr_init() 361 ctx->mech.ulParameterLen = 0; in digest_mgr_cleanup()
|
H A D | mech_rsa.c | 429 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 D | mech_md5.c | 377 digest_mech.ulParameterLen = 0; in md5_hmac_sign() 418 digest_mech.ulParameterLen = 0; in md5_hmac_sign()
|
H A D | mech_sha.c | 109 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 D | softMAC.c | 109 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 D | softDecryptUtil.c | 131 (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 D | softEncryptUtil.c | 154 (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 D | softKeysUtil.c | 195 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 D | softDigestUtil.c | 93 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 D | metaUtil.c | 49 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 D | metaKeys.c | 281 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 D | d3_cbc.c | 64 mechanism.ulParameterLen = sizeof(mit_des_cblock); in mit_des3_cbc_encrypt() 66 mechanism.ulParameterLen = 0; in mit_des3_cbc_encrypt()
|
H A D | f_cbc.c | 67 mechanism.ulParameterLen = MIT_DES_BLOCK_LENGTH; 69 mechanism.ulParameterLen = 0;
|
/titanic_44/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_crypt.c | 92 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 D | crypt.c | 94 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 D | hash_md5.c | 50 mechanism.ulParameterLen = 0; in k5_md5_hash()
|
H A D | hash_sha1.c | 46 mechanism.ulParameterLen = 0; in k5_sha1_hash()
|
/titanic_44/usr/src/uts/common/gssapi/mechs/krb5/crypto/enc_provider/ |
H A D | aes_provider.c | 330 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 D | fksmb_sign_pkcs.c | 40 mech->ulParameterLen = 0; in smb_md5_getmech()
|
/titanic_44/usr/src/lib/gss_mechs/mech_krb5/crypto/keyhash_provider/ |
H A D | k5_md5des.c | 101 mechanism.ulParameterLen = 0; in k5_md5des_hash() 227 mechanism.ulParameterLen = 0; in k5_md5des_verify()
|