Home
last modified time | relevance | path

Searched refs:cd_format (Results 1 – 25 of 38) sorted by relevance

12

/titanic_53/usr/src/cmd/mdb/common/modules/crypto/
H A Dcommon.c171 if ((data.cd_format >= CRYPTO_DATA_RAW) && in crypto_data()
172 (data.cd_format <= CRYPTO_DATA_MBLK)) in crypto_data()
173 mdb_printf("cm_format\t%s\n", cdstrings[data.cd_format]); in crypto_data()
175 mdb_printf("bad cm_format\t%d\n", data.cd_format); in crypto_data()
180 prt_cdu((crypto_data_union_t *)&data.cdu, data.cd_format, "cdu"); in crypto_data()
/titanic_53/usr/src/uts/common/fs/smbsrv/
H A Dsmb_sign_kcf.c71 data.cd_format = CRYPTO_DATA_RAW; in smb_md5_update()
91 out.cd_format = CRYPTO_DATA_RAW; in smb_md5_final()
148 data.cd_format = CRYPTO_DATA_RAW; in smb2_hmac_update()
170 out.cd_format = CRYPTO_DATA_RAW; in smb2_hmac_final()
/titanic_53/usr/src/uts/common/gssapi/mechs/krb5/crypto/hash_provider/
H A Dhash_kef_generic.c35 d2.cd_format = CRYPTO_DATA_RAW; in k5_ef_hash()
60 d1.cd_format = CRYPTO_DATA_RAW; in k5_ef_hash()
111 d2.cd_format = CRYPTO_DATA_RAW; in k5_ef_mac()
130 d1.cd_format = CRYPTO_DATA_RAW; in k5_ef_mac()
/titanic_53/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_sign.c136 key.cd_format = CRYPTO_DATA_RAW; in smb_compute_MAC()
147 data.cd_format = CRYPTO_DATA_RAW; in smb_compute_MAC()
158 data.cd_format = CRYPTO_DATA_MBLK; in smb_compute_MAC()
168 digest.cd_format = CRYPTO_DATA_RAW; in smb_compute_MAC()
/titanic_53/usr/src/uts/common/crypto/io/
H A Dmd4_mod.c539 switch (data->cd_format) { in md4_digest()
569 switch (digest->cd_format) { in md4_digest()
611 switch (data->cd_format) { in md4_digest_update()
654 switch (digest->cd_format) { in md4_digest_final()
706 switch (data->cd_format) { in md4_digest_atomic()
731 switch (digest->cd_format) { in md4_digest_atomic()
H A Dsha1_mod.c567 switch (data->cd_format) { in sha1_digest()
597 switch (digest->cd_format) { in sha1_digest()
639 switch (data->cd_format) { in sha1_digest_update()
682 switch (digest->cd_format) { in sha1_digest_final()
734 switch (data->cd_format) { in sha1_digest_atomic()
760 switch (digest->cd_format) { in sha1_digest_atomic()
925 switch (data->cd_format) { in sha1_mac_update()
985 switch (mac->cd_format) { in sha1_mac_final()
1031 switch (data->cd_format) { \
1126 switch (mac->cd_format) { in sha1_mac_atomic()
[all …]
H A Dmd5_mod.c624 switch (data->cd_format) { in md5_digest()
654 switch (digest->cd_format) { in md5_digest()
696 switch (data->cd_format) { in md5_digest_update()
739 switch (digest->cd_format) { in md5_digest_final()
791 switch (data->cd_format) { in md5_digest_atomic()
816 switch (digest->cd_format) { in md5_digest_atomic()
983 switch (data->cd_format) { in md5_mac_update()
1042 switch (mac->cd_format) { in md5_mac_final()
1088 switch (data->cd_format) { \
1184 switch (mac->cd_format) { in md5_mac_atomic()
[all …]
H A Dsha2_mod.c613 switch (data->cd_format) { in sha2_digest()
643 switch (digest->cd_format) { in sha2_digest()
684 switch (data->cd_format) { in sha2_digest_update()
742 switch (digest->cd_format) { in sha2_digest_final()
789 switch (data->cd_format) { in sha2_digest_atomic()
823 switch (digest->cd_format) { in sha2_digest_atomic()
1014 switch (data->cd_format) { in sha2_mac_update()
1092 switch (mac->cd_format) { in sha2_mac_final()
1137 switch (data->cd_format) { \
1259 switch (mac->cd_format) { in sha2_mac_atomic()
[all …]
H A Daes.c665 switch (plaintext->cd_format) { in aes_encrypt_update()
749 switch (ciphertext->cd_format) { in aes_decrypt_update()
806 if (data->cd_format != CRYPTO_DATA_RAW && in aes_encrypt_final()
807 data->cd_format != CRYPTO_DATA_UIO && in aes_encrypt_final()
808 data->cd_format != CRYPTO_DATA_MBLK) { in aes_encrypt_final()
866 if (data->cd_format != CRYPTO_DATA_RAW && in aes_decrypt_final()
867 data->cd_format != CRYPTO_DATA_UIO && in aes_decrypt_final()
868 data->cd_format != CRYPTO_DATA_MBLK) { in aes_decrypt_final()
1025 switch (plaintext->cd_format) { in aes_encrypt_atomic()
1160 switch (ciphertext->cd_format) { in aes_decrypt_atomic()
[all …]
H A Dblowfish.c449 switch (plaintext->cd_format) { in blowfish_encrypt_update()
512 switch (ciphertext->cd_format) { in blowfish_decrypt_update()
640 switch (plaintext->cd_format) { in blowfish_encrypt_atomic()
727 switch (ciphertext->cd_format) { in blowfish_decrypt_atomic()
H A Darcfour.c266 switch (input->cd_format) { in rc4_crypt_update()
373 switch (input->cd_format) { in rc4_crypt_update()
538 switch (out->cd_format) { in crypto_arcfour_crypt()
H A Ddca.c2754 ninput->cd_format = input->cd_format; in dca_dupcrypto()
2759 switch (input->cd_format) { in dca_dupcrypto()
2790 switch (input->cd_format) { in dca_verifyio()
2810 switch (output->cd_format) { in dca_verifyio()
2864 switch (data->cd_format) { in dca_getbufbytes()
2973 switch (data->cd_format) { in dca_sgcheck()
2999 switch (data->cd_format) { in dca_sgcheck()
3043 switch (data->cd_format) { in dca_sgcheck()
3096 switch (in->cd_format) { in dca_gather()
3251 switch (in->cd_format) { in dca_resid_gather()
[all …]
/titanic_53/usr/src/uts/common/gssapi/mechs/krb5/crypto/des/
H A Def_crypto.c33 d1.cd_format = CRYPTO_DATA_RAW; in k5_ef_crypto()
39 d2.cd_format = CRYPTO_DATA_RAW; in k5_ef_crypto()
/titanic_53/usr/src/uts/common/crypto/core/
H A Dkcf_prov_lib.c52 ASSERT(data->cd_format == CRYPTO_DATA_UIO); in crypto_uio_data()
138 ASSERT(data->cd_format == CRYPTO_DATA_MBLK); in crypto_mblk_data()
210 switch (output->cd_format) { in crypto_put_output_data()
246 switch (input->cd_format) { in crypto_get_input_data()
341 switch (data->cd_format) { in crypto_digest_data()
/titanic_53/usr/src/uts/common/io/net80211/
H A Dnet80211_crypto_ccmp.c263 d1.cd_format = CRYPTO_DATA_RAW; in aes_ccm_encrypt()
269 d2.cd_format = CRYPTO_DATA_RAW; in aes_ccm_encrypt()
316 d1.cd_format = CRYPTO_DATA_RAW; in aes_ccm_decrypt()
322 d2.cd_format = CRYPTO_DATA_RAW; in aes_ccm_decrypt()
H A Dnet80211_crypto_wep.c367 d1.cd_format = CRYPTO_DATA_RAW; in rc4_crypt()
373 d2.cd_format = CRYPTO_DATA_RAW; in rc4_crypt()
403 d2.cd_format = CRYPTO_DATA_RAW; in rc4_final()
/titanic_53/usr/src/common/crypto/modes/
H A Dmodes.c45 switch (out->cd_format) { in crypto_init_ptrs()
93 switch (out->cd_format) { in crypto_get_ptrs()
/titanic_53/usr/src/uts/common/gssapi/mechs/krb5/crypto/
H A Dhmac.c62 dd.cd_format = CRYPTO_DATA_RAW; in krb5_hmac()
68 mac.cd_format = CRYPTO_DATA_RAW; in krb5_hmac()
/titanic_53/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftAESCrypt.c352 out.cd_format = CRYPTO_DATA_RAW; in soft_aes_encrypt_common()
415 out.cd_format = CRYPTO_DATA_RAW; in soft_aes_encrypt_common()
694 out.cd_format = CRYPTO_DATA_RAW; in soft_aes_decrypt_common()
765 out.cd_format = CRYPTO_DATA_RAW; in soft_aes_decrypt_common()
H A DsoftBlowfishCrypt.c266 out.cd_format = CRYPTO_DATA_RAW; in soft_blowfish_encrypt_common()
433 out.cd_format = CRYPTO_DATA_RAW; in soft_blowfish_decrypt_common()
H A DsoftDecryptUtil.c581 out.cd_format = CRYPTO_DATA_RAW; in soft_decrypt_final()
690 out.cd_format = CRYPTO_DATA_RAW; in soft_decrypt_final()
770 out.cd_format = CRYPTO_DATA_RAW; in soft_decrypt_final()
H A DsoftEncryptUtil.c598 out.cd_format = CRYPTO_DATA_RAW; in soft_encrypt_final()
693 out.cd_format = CRYPTO_DATA_RAW; in soft_encrypt_final()
762 out.cd_format = CRYPTO_DATA_RAW; in soft_encrypt_final()
/titanic_53/usr/src/uts/common/io/
H A Dcryptmod.c680 d1.cd_format = CRYPTO_DATA_RAW; in kef_digest()
688 d2.cd_format = CRYPTO_DATA_RAW; in kef_digest()
992 dd.cd_format = CRYPTO_DATA_MBLK; in kef_decr_hmac()
1000 mac.cd_format = CRYPTO_DATA_RAW; in kef_decr_hmac()
1061 dd.cd_format = CRYPTO_DATA_MBLK; in kef_encr_hmac()
1069 mac.cd_format = CRYPTO_DATA_RAW; in kef_encr_hmac()
1142 d1.cd_format = fmt; in kef_crypt()
1198 dd.cd_format = CRYPTO_DATA_RAW; in do_hmac()
1206 mac.cd_format = CRYPTO_DATA_RAW; in do_hmac()
1269 pt.cd_format = CRYPTO_DATA_RAW; in aes_cbc_cts_encrypt()
[all …]
/titanic_53/usr/src/uts/common/sys/crypto/
H A Dcommon.h250 crypto_data_format_t cd_format; /* Format identifier */ member
277 #define dd_format dd_data.cd_format
/titanic_53/usr/src/uts/common/des/
H A Ddes_crypt.c641 switch (plaintext->cd_format) { in des_encrypt_update()
703 switch (ciphertext->cd_format) { in des_decrypt_update()
850 switch (plaintext->cd_format) { in des_encrypt_atomic()
953 switch (ciphertext->cd_format) { in des_decrypt_atomic()

12