Lines Matching refs:setup_info
802 struct cr_info_t setup_info; in configure_stream() local
808 setup_info.crypto_method = CRYPT_METHOD_DES_CBC_CRC; in configure_stream()
811 setup_info.crypto_method = CRYPT_METHOD_DES_CBC_MD5; in configure_stream()
814 setup_info.crypto_method = CRYPT_METHOD_DES_CBC_NULL; in configure_stream()
817 setup_info.crypto_method = CRYPT_METHOD_DES3_CBC_SHA1; in configure_stream()
820 setup_info.crypto_method = CRYPT_METHOD_ARCFOUR_HMAC_MD5; in configure_stream()
823 setup_info.crypto_method = CRYPT_METHOD_ARCFOUR_HMAC_MD5_EXP; in configure_stream()
826 setup_info.crypto_method = CRYPT_METHOD_AES128; in configure_stream()
829 setup_info.crypto_method = CRYPT_METHOD_AES256; in configure_stream()
838 (void) memset(&setup_info.ivec, 0, sizeof (setup_info.ivec)); in configure_stream()
843 setup_info.iveclen = KRB5_MIT_DES_KEYSIZE; in configure_stream()
845 setup_info.iveclen = 0; in configure_stream()
847 (void) memcpy(&setup_info.ivec, ivec->data, ivec->length); in configure_stream()
848 setup_info.iveclen = ivec->length; in configure_stream()
851 setup_info.ivec_usage = iv_usage; in configure_stream()
852 (void) memcpy(&setup_info.key, skey->contents, skey->length); in configure_stream()
854 setup_info.keylen = skey->length; in configure_stream()
855 setup_info.direction_mask = dir; in configure_stream()
861 setup_info.option_mask = (kcmd_protocol == KCMD_OLD_PROTOCOL ? in configure_stream()
867 crioc.ic_len = sizeof (setup_info); in configure_stream()
868 crioc.ic_dp = (char *)&setup_info; in configure_stream()