Home
last modified time | relevance | path

Searched refs:param_len (Results 1 – 14 of 14) sorted by relevance

/freebsd/crypto/openssl/crypto/ec/
H A Dec_curve.c28 seed_len, param_len; member
3143 int seed_len, param_len; in ec_group_new_from_data() local
3160 param_len = data->param_len; in ec_group_new_from_data()
3164 if ((p = BN_bin2bn(params + 0 * param_len, param_len, NULL)) == NULL in ec_group_new_from_data()
3165 || (a = BN_bin2bn(params + 1 * param_len, param_len, NULL)) == NULL in ec_group_new_from_data()
3166 || (b = BN_bin2bn(params + 2 * param_len, param_len, NULL)) == NULL) { in ec_group_new_from_data()
3202 if ((x = BN_bin2bn(params + 3 * param_len, param_len, NULL)) == NULL in ec_group_new_from_data()
3203 || (y = BN_bin2bn(params + 4 * param_len, param_len, NULL)) == NULL) { in ec_group_new_from_data()
3211 if ((order = BN_bin2bn(params + 5 * param_len, param_len, NULL)) == NULL in ec_group_new_from_data()
3345 int ret = -1, nid, len, field_type, param_len; in ossl_ec_curve_nid_from_params() local
[all …]
/freebsd/sys/contrib/openzfs/module/icp/io/
H A Daes.c122 size_t param_len; in aes_check_mech_param() local
128 param_len = sizeof (CK_AES_CCM_PARAMS); in aes_check_mech_param()
132 param_len = sizeof (CK_AES_GCM_PARAMS); in aes_check_mech_param()
139 mechanism->cm_param_len != param_len) { in aes_check_mech_param()
/freebsd/sys/cam/scsi/
H A Dscsi_cd.c3033 int param_len; in cdgetmode() local
3044 param_len = sizeof(struct cd_mode_data); in cdgetmode()
3046 param_len = sizeof(struct cd_mode_data_10); in cdgetmode()
3049 param_len = min(param_len, data->alloc_len); in cdgetmode()
3059 /* param_len */ param_len, in cdgetmode()
3132 int cdb_size, param_len; in cdsetmode() local
3173 param_len = data_len + sizeof(mode_header->data_length); in cdsetmode()
3180 param_len = mode_header->data_length + 1; in cdsetmode()
3192 param_len = min(param_len, data->alloc_len); in cdsetmode()
3201 /* param_len */ param_len, in cdsetmode()
[all …]
H A Dscsi_all.c7710 int dbd, uint8_t pc, uint8_t page, uint8_t *param_buf, uint32_t param_len, in scsi_mode_sense() argument
7715 pc, page, 0, param_buf, param_len, 0, sense_len, timeout); in scsi_mode_sense()
7721 int dbd, uint8_t pc, uint8_t page, uint8_t *param_buf, uint32_t param_len, in scsi_mode_sense_len() argument
7726 pc, page, 0, param_buf, param_len, minimum_cmd_size, in scsi_mode_sense_len()
7734 uint32_t param_len, int minimum_cmd_size, uint8_t sense_len, in scsi_mode_sense_subpage() argument
7742 if ((param_len < 256) in scsi_mode_sense_subpage()
7756 scsi_cmd->length = param_len; in scsi_mode_sense_subpage()
7771 scsi_ulto2b(param_len, scsi_cmd->length); in scsi_mode_sense_subpage()
7780 param_len, in scsi_mode_sense_subpage()
7790 uint8_t *param_buf, uint32_t param_len, uint8_t sense_len, in scsi_mode_select() argument
[all …]
H A Dscsi_cd.h313 uint8_t param_len[2]; member
768 uint8_t param_len; member
H A Dscsi_all.h646 uint8_t param_len; member
4103 uint8_t *param_buf, uint32_t param_len,
4109 uint8_t *param_buf, uint32_t param_len,
4117 uint8_t *param_buf, uint32_t param_len,
4125 uint32_t param_len, uint8_t sense_len,
4133 uint32_t param_len, int minimum_cmd_size,
4141 uint32_t param_len, uint8_t sense_len,
4149 uint32_t param_len, uint8_t sense_len,
H A Dscsi_sa.c1418 list->param_len) { in saparamsetlist()
1421 __func__, list->param_len, sizeof(struct mtparamset), in saparamsetlist()
1432 params = malloc(list->param_len, M_SCSISA, M_WAITOK | M_ZERO); in saparamsetlist()
1433 error = copyin(list->params, params, list->param_len); in saparamsetlist()
1500 error1 = copyout(params, list->params, list->param_len); in saparamsetlist()
1783 list.param_len = sizeof(*ps); in saioctl()
/freebsd/usr.bin/mt/
H A Dmt.c1084 size_t param_len; in mt_set_param() local
1086 param_len = strlen(param_value) + 1; in mt_set_param()
1087 if (param_len > sizeof(param_set.value.value_fixed_str)) { in mt_set_param()
1095 param_set.value_len = param_len; in mt_set_param()
1298 param_list.param_len = sizeof(params); in mt_protect()
/freebsd/sys/sys/
H A Dmtio.h281 int param_len; member
/freebsd/sys/netinet/
H A Dsctp_input.c3954 uint16_t remaining_length, param_len, ptype; in sctp_handle_stream_reset() local
4011 param_len = ntohs(ph->param_length); in sctp_handle_stream_reset()
4012 if ((param_len > remaining_length) || in sctp_handle_stream_reset()
4013 (param_len < (sizeof(struct sctp_paramhdr) + sizeof(uint32_t)))) { in sctp_handle_stream_reset()
4017 ph = (struct sctp_paramhdr *)sctp_m_getptr(m, offset, min(param_len, sizeof(cstore)), in sctp_handle_stream_reset()
4025 if (param_len > sizeof(cstore)) { in sctp_handle_stream_reset()
4037 if (param_len < sizeof(struct sctp_stream_reset_out_request)) { in sctp_handle_stream_reset()
4053 if (param_len < sizeof(struct sctp_stream_reset_add_strm)) { in sctp_handle_stream_reset()
4062 if (param_len < sizeof(struct sctp_stream_reset_add_strm)) { in sctp_handle_stream_reset()
4089 if (param_len < sizeof(struct sctp_stream_reset_response)) { in sctp_handle_stream_reset()
[all …]
/freebsd/sys/cam/ctl/
H A Dctl.c6228 int bd_len, i, header_size, param_len, rtd; in ctl_mode_select() local
6239 param_len = cdb->length; in ctl_mode_select()
6249 param_len = scsi_2btoul(cdb->length); in ctl_mode_select()
6260 if (param_len != 0) { in ctl_mode_select()
6288 if (param_len == 0) { in ctl_mode_select()
6298 if (param_len < header_size) { in ctl_mode_select()
6311 ctsio->kern_data_ptr = malloc(param_len, M_CTL, M_WAITOK); in ctl_mode_select()
6312 ctsio->kern_data_len = param_len; in ctl_mode_select()
6313 ctsio->kern_total_len = param_len; in ctl_mode_select()
6342 if (param_len < (header_size + bd_len)) { in ctl_mode_select()
[all …]
/freebsd/sys/net80211/
H A Dieee80211.h438 uint8_t param_len; member
/freebsd/sys/dev/ocs_fc/
H A Dsli4.c2851 uint32_t param_len, in sli_cmd_common_set_features() argument
2872 cmd->param_len = param_len; in sli_cmd_common_set_features()
2873 ocs_memcpy(cmd->params, parameter, param_len); in sli_cmd_common_set_features()
H A Dsli4.h2548 uint32_t param_len; member