| /titanic_41/usr/src/uts/i86pc/os/ |
| H A D | fakebop.c | 1220 int value_len; in build_boot_properties() local 1316 value_len = 0; in build_boot_properties() 1321 while (value[value_len] && !ISSPACE(value[value_len])) { in build_boot_properties() 1322 ++value_len; in build_boot_properties() 1328 value += value_len; in build_boot_properties() 1334 bcopy(value, propbuf, value_len); in build_boot_properties() 1335 propbuf[value_len] = 0; in build_boot_properties() 1356 value += value_len; in build_boot_properties() 1365 value_len = 0; in build_boot_properties() 1366 while (value[value_len] && !ISSPACE(value[value_len])) in build_boot_properties() [all …]
|
| /titanic_41/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
| H A D | softAttributeUtil.c | 5152 uchar_t *value, uint32_t *value_len) argument 5170 if (len == 0 || len > *value_len) { 5173 *value_len = len; 5177 *value_len); 5193 if (len == 0 || len > *value_len) { 5196 *value_len = len; 5200 *value_len); 5233 if (len == 0 || len > *value_len) { 5236 *value_len = len; 5241 *value_len); [all …]
|
| H A D | softEC.c | 220 uint32_t value_len = sizeof (value); in soft_ec_key_derive() local 236 template.ulValueLen = value_len; in soft_ec_key_derive() 241 value_len = template.ulValueLen; in soft_ec_key_derive() 243 private_value_item.len = value_len; in soft_ec_key_derive() 475 uint_t value_len; in soft_ecc_sign() local 490 value_len = EC_MAX_VALUE_LEN; in soft_ecc_sign() 491 rv = soft_get_private_value(key, CKA_VALUE, value, &value_len); in soft_ecc_sign() 497 ECkey.privateValue.len = value_len; in soft_ecc_sign()
|
| H A D | softDSA.c | 406 uchar_t *value, uint32_t value_len, boolean_t public) in soft_genDSAkey_set_attribute() argument 447 value_len--; in soft_genDSAkey_set_attribute() 450 if ((rv = dup_bigint_attr(&src, value, value_len)) != CKR_OK) in soft_genDSAkey_set_attribute()
|
| /titanic_41/usr/src/lib/udapl/libdat/common/ |
| H A D | udat_sr_parser.c | 98 DAT_OS_SIZE value_len; member 1167 token->value_len = 0; in dat_sr_read_token() 1172 token->value_len = 0; in dat_sr_read_token() 1259 token->value_len = sizeof (char) * (token_len + 1); in dat_sr_read_str() 1260 if (NULL == (token->value = dat_os_alloc(token->value_len))) { in dat_sr_read_str() 1265 dat_os_free(token->value, token->value_len); in dat_sr_read_str() 1271 token->value[token->value_len - 1] = '\0'; in dat_sr_read_str() 1301 token->value_len = sizeof (char) * (str_len - num_escape_seq + 1); in dat_sr_read_quoted_str() 1303 if (NULL == (token->value = dat_os_alloc(token->value_len))) { in dat_sr_read_quoted_str() 1337 token->value[token->value_len - 1] = '\0'; in dat_sr_read_quoted_str() [all …]
|
| /titanic_41/usr/src/lib/libdscfg/common/ |
| H A D | cfg.h | 48 int cfg_get_cstring(CFGFILE *cfg, const char *key, void *value, int value_len); 49 int cfg_put_cstring(CFGFILE *cfg, const char *key, void *value, int value_len);
|
| H A D | cfg.c | 392 cfg_get_cstring(CFGFILE *cfg, const char *key, void *value, int value_len) in cfg_get_cstring() argument 493 strncpy(value, buf, value_len); in cfg_get_cstring() 508 if (strlen(p) > value_len) { in cfg_get_cstring() 518 strncpy(value, p, value_len); in cfg_get_cstring()
|
| /titanic_41/usr/src/uts/common/crypto/io/ |
| H A D | dprov.c | 7340 size_t value_len = 0; in nostore_copy_attribute() local 7369 &value, &value_len); in nostore_copy_attribute() 7373 if (value_len < dprov_attribute_size) in nostore_copy_attribute() 7431 ulong_t value_len; in dprov_key_task() local 7480 &value_len) != CRYPTO_SUCCESS) { in dprov_key_task() 7484 if (value_len >= AES_MAX_KEY_LEN) { in dprov_key_task() 7488 key_len = value_len; in dprov_key_task() 7500 &value_len) != CRYPTO_SUCCESS) { in dprov_key_task() 7504 if (value_len >= BLOWFISH_MAX_KEY_LEN) { in dprov_key_task() 7508 key_len = value_len; in dprov_key_task() [all …]
|
| H A D | ecc.c | 307 uint_t nattr, uint64_t attr_type, void *value, size_t value_len) in get_template_attr_scalar_common() argument 317 if (oa_value_len != value_len) { in get_template_attr_scalar_common() 349 ssize_t value_len; in check_mech_and_key() local 372 &value_len)) != CRYPTO_SUCCESS) { in check_mech_and_key() 375 if (value_len < CRYPTO_BITS2BYTES(EC_MIN_KEY_LEN) || in check_mech_and_key() 376 value_len > CRYPTO_BITS2BYTES(EC_MAX_KEY_LEN)) in check_mech_and_key()
|
| H A D | crypto.c | 2241 size_t value_len; in copyin_attributes() local 2305 value_len = STRUCT_FGET(oa, oa_value_len); in copyin_attributes() 2306 if (value != NULL && value_len != 0 && copyin_value) { in copyin_attributes() 2307 if (copyin(value, p, value_len) != 0) { in copyin_attributes() 2317 p += roundup(value_len, sizeof (caddr_t)); in copyin_attributes() 2321 k_attrs[i].oa_value_len = value_len; in copyin_attributes() 4481 size_t value_len; in copyout_attributes() local 4498 value_len = k_attrs[i].oa_value_len; in copyout_attributes() 4500 STRUCT_FSET(oa, oa_value_len, (ssize_t)value_len); in copyout_attributes() 4502 if ((valuep != NULL) && (value_len != (size_t)-1)) { in copyout_attributes() [all …]
|
| /titanic_41/usr/src/lib/libfsmgt/common/ |
| H A D | fs_mounts.c | 882 size_t value_len; in is_option() local 887 value_len = opt_string_len - opt_len; in is_option() 889 value = (char *)calloc((size_t)(value_len+1), in is_option() 901 while (counter <= (value_len-1)) { in is_option()
|
| /titanic_41/usr/src/cmd/svc/configd/ |
| H A D | object.c | 627 uint32_t value_len; in tx_cmd_value() local 642 value_len = *(uint32_t *)bp; in tx_cmd_value() 643 bp += sizeof (uint32_t) + TX_SIZE(value_len); in tx_cmd_value()
|
| /titanic_41/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
| H A D | kernelUtil.c | 783 ssize_t value_len; in process_object_attributes() local 808 value_len = sizeof (ulong_t); in process_object_attributes() 810 (pTemplate[i].ulValueLen < value_len)) { in process_object_attributes() 817 value_len = pTemplate[i].ulValueLen; in process_object_attributes() 821 cur_attr->oa_value_len = value_len; in process_object_attributes()
|
| /titanic_41/usr/src/uts/common/crypto/core/ |
| H A D | kcf_prov_lib.c | 544 uchar_t **value, ssize_t *value_len) in crypto_get_key_attr() argument 552 *value_len = key->ck_attrs[i].oa_value_len; in crypto_get_key_attr()
|
| /titanic_41/usr/src/uts/common/io/scsi/adapters/iscsi/ |
| H A D | iscsi_login.c | 1826 int value_len = 0; in iscsi_add_text() local 1837 value_len = strlen(value); in iscsi_add_text() 1839 length = param_len + 1 + value_len + 1; in iscsi_add_text() 1857 (void) strncpy(text, value, value_len); in iscsi_add_text() 1858 text += value_len; in iscsi_add_text()
|
| /titanic_41/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/ |
| H A D | pkcs11_spi.c | 225 CK_ULONG subject_len, value_len, issuer_len, serno_len, id_len; in PK11Cert2KMFCert() local 249 subject_len = issuer_len = serno_len = id_len = value_len = 0; in PK11Cert2KMFCert() 259 SETATTR(templ, i, CKA_VALUE, NULL, value_len); in PK11Cert2KMFCert() 276 value_len = templ[4].ulValueLen; in PK11Cert2KMFCert() 285 serno_len == 0 || value_len == 0) { in PK11Cert2KMFCert() 292 value = malloc(value_len); in PK11Cert2KMFCert() 298 SETATTR(templ, i, CKA_VALUE, value, value_len); in PK11Cert2KMFCert() 312 kmfcert->certificate.Length = value_len; in PK11Cert2KMFCert() 2744 CK_ULONG value_len = 0; in get_raw_sym() local 2749 sym_attr[0].ulValueLen = value_len; in get_raw_sym()
|