Home
last modified time | relevance | path

Searched refs:tmp_data (Results 1 – 5 of 5) sorted by relevance

/titanic_41/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Dradius_packet.c170 uint8_t *tmp_data; in rcv_radius_response() local
177 tmp_data = kmem_zalloc(MAX_RAD_PACKET_LEN, KM_SLEEP); in rcv_radius_response()
179 iov[0].iov_base = (char *)tmp_data; in rcv_radius_response()
193 kmem_free(tmp_data, MAX_RAD_PACKET_LEN); in rcv_radius_response()
199 packet = (radius_packet_t *)tmp_data; in rcv_radius_response()
210 kmem_free(tmp_data, MAX_RAD_PACKET_LEN); in rcv_radius_response()
213 kmem_free(tmp_data, MAX_RAD_PACKET_LEN); in rcv_radius_response()
222 kmem_free(tmp_data, MAX_RAD_PACKET_LEN); in rcv_radius_response()
225 kmem_free(tmp_data, MAX_RAD_PACKET_LEN); in rcv_radius_response()
234 kmem_free(tmp_data, MAX_RAD_PACKET_LEN); in rcv_radius_response()
[all …]
/titanic_41/usr/src/uts/common/io/comstar/port/iscsit/
H A Discsit_radiuspacket.c174 uint8_t *tmp_data; in iscsit_rcv_radius_response() local
182 tmp_data = kmem_zalloc(MAX_RAD_PACKET_LEN, KM_SLEEP); in iscsit_rcv_radius_response()
183 iov[0].iov_base = (char *)tmp_data; in iscsit_rcv_radius_response()
198 kmem_free(tmp_data, MAX_RAD_PACKET_LEN); in iscsit_rcv_radius_response()
207 kmem_free(tmp_data, MAX_RAD_PACKET_LEN); in iscsit_rcv_radius_response()
210 kmem_free(tmp_data, MAX_RAD_PACKET_LEN); in iscsit_rcv_radius_response()
214 packet = (radius_packet_t *)tmp_data; in iscsit_rcv_radius_response()
223 kmem_free(tmp_data, MAX_RAD_PACKET_LEN); in iscsit_rcv_radius_response()
232 kmem_free(tmp_data, MAX_RAD_PACKET_LEN); in iscsit_rcv_radius_response()
235 kmem_free(tmp_data, MAX_RAD_PACKET_LEN); in iscsit_rcv_radius_response()
[all …]
/titanic_41/usr/src/uts/common/crypto/io/
H A Drsa.c597 uchar_t tmp_data[MAX_RSA_KEYLENGTH_IN_BYTES]; in rsa_encrypt_common() local
623 ASSERT(plaintext->cd_length <= sizeof (tmp_data)); in rsa_encrypt_common()
624 if ((rv = crypto_get_input_data(plaintext, &ptptr, tmp_data)) in rsa_encrypt_common()
744 uchar_t tmp_data[MAX_RSA_KEYLENGTH_IN_BYTES]; in rsa_decrypt_common() local
757 ASSERT(ciphertext->cd_length <= sizeof (tmp_data)); in rsa_decrypt_common()
758 if ((rv = crypto_get_input_data(ciphertext, &ctptr, tmp_data)) in rsa_decrypt_common()
1057 uchar_t tmp_data[MAX_RSA_KEYLENGTH_IN_BYTES]; in rsa_sign_common() local
1083 ASSERT(data->cd_length <= sizeof (tmp_data)); in rsa_sign_common()
1084 if ((rv = crypto_get_input_data(data, &dataptr, tmp_data)) in rsa_sign_common()
1271 uchar_t tmp_data[MAX_RSA_KEYLENGTH_IN_BYTES]; in rsa_verify_common() local
[all …]
H A Decc.c647 uchar_t tmp_data[EC_MAX_DIGEST_LEN]; in ecc_sign_common() local
660 if (data->cd_length > sizeof (tmp_data)) in ecc_sign_common()
663 if ((rv = crypto_get_input_data(data, &digest_item.data, tmp_data)) in ecc_sign_common()
849 uchar_t tmp_data[EC_MAX_DIGEST_LEN]; in ecc_verify_common() local
872 if (data->cd_length > sizeof (tmp_data)) in ecc_verify_common()
875 if ((rv = crypto_get_input_data(data, &digest_item.data, tmp_data)) in ecc_verify_common()
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dpreauth2.c1047 krb5_data tmp_data; in pa_sam_2() local
1064 tmp_data.length = in_padata->length; in pa_sam_2()
1065 tmp_data.data = (char *)in_padata->contents; in pa_sam_2()
1067 if ((retval = decode_krb5_sam_challenge_2(&tmp_data, &sc2))) in pa_sam_2()