| /lib/crypto/ |
| A D | rsa_helper.c | 25 const void *value, size_t vlen) in rsa_get_n() argument 29 const u8 *ptr = value; in rsa_get_n() 34 if (!value || !vlen) in rsa_get_n() 52 key->n = value; in rsa_get_n() 67 key->e = value; in rsa_get_e() 82 key->d = value; in rsa_get_d() 97 key->p = value; in rsa_get_p() 112 key->q = value; in rsa_get_q() 127 key->dp = value; in rsa_get_dp() 142 key->dq = value; in rsa_get_dq() [all …]
|
| A D | x509_cert_parser.c | 196 ctx->cert->tbs = value - hdrlen; in x509_note_tbs_certificate() 286 value++; in x509_note_signature() 290 ctx->cert->raw_sig = value; in x509_note_signature() 303 ctx->cert->raw_serial = value; in x509_note_serial() 420 ctx->cert->raw_issuer = value; in x509_note_issuer() 430 ctx->cert->raw_subject = value; in x509_note_subject() 451 ctx->params = value - hdrlen; in x509_note_params() 477 ctx->key = value + 1; in x509_extract_key_data() 613 tag, (int)vlen, value); in x509_decode_time() 617 tag, (int)vlen, value); in x509_decode_time() [all …]
|
| A D | pkcs7_parser.c | 191 const void *value, size_t vlen) in pkcs7_note_OID() argument 328 version = *(const u8 *)value; in pkcs7_note_signerinfo_version() 379 value -= hdrlen; in pkcs7_extract_cert() 382 if (((u8*)value)[1] == 0x80) in pkcs7_extract_cert() 447 ctx->msg->data = value; in pkcs7_note_data() 486 hdrlen, tag, value, vlen); 493 sinfo->msgdigest = value; 577 ctx->raw_serial = value; 590 ctx->raw_issuer = value; 600 const void *value, size_t vlen) argument [all …]
|
| A D | mscode_parser.c | 44 const void *value, size_t vlen) in mscode_note_content_type() argument 48 oid = look_up_OID(value, vlen); in mscode_note_content_type() 52 sprint_oid(value, vlen, buffer, sizeof(buffer)); in mscode_note_content_type() 76 const void *value, size_t vlen) in mscode_note_digest_algo() argument 82 oid = look_up_OID(value, vlen); in mscode_note_digest_algo() 107 sprint_oid(value, vlen, buffer, sizeof(buffer)); in mscode_note_digest_algo() 124 const void *value, size_t vlen) in mscode_note_digest() argument 128 ctx->digest = kmemdup(value, vlen, GFP_KERNEL); in mscode_note_digest()
|
| /lib/lwip/lwip/src/apps/snmp/ |
| A D | snmp_asn1.c | 301 if (value < 0) { in snmp_asn1_enc_s32t_cnt() 302 value = ~value; in snmp_asn1_enc_s32t_cnt() 304 if (value < 0x80L) { in snmp_asn1_enc_s32t_cnt() 430 *value = data; in snmp_asn1_dec_u32t() 437 *value <<= 8; in snmp_asn1_dec_u32t() 468 *value = -1; in snmp_asn1_dec_s32t() 469 *value = (*value << 8) | data; in snmp_asn1_dec_s32t() 472 *value = data; in snmp_asn1_dec_s32t() 478 *value = (*value << 8) | data; in snmp_asn1_dec_s32t() 653 *value = data; in snmp_asn1_dec_u64t() [all …]
|
| A D | snmp_mib2_ip.c | 64 s32_t *sint_ptr = (s32_t *)value; in ip_get_value() 65 u32_t *uint_ptr = (u32_t *)value; in ip_get_value() 194 LWIP_UNUSED_ARG(value); in ip_set_value() 240 value->u32 = 0; in ip_AddrTable_get_cell_value_core() 328 value->u32 = tmp.addr; in ip_RouteTable_get_cell_value_core() 344 value->s32 = -1; /* none */ in ip_RouteTable_get_cell_value_core() 366 value->u32 = 2; /* local */ in ip_RouteTable_get_cell_value_core() 370 value->u32 = 0; in ip_RouteTable_get_cell_value_core() 382 value->s32 = -1; /* none */ in ip_RouteTable_get_cell_value_core() 499 value->ptr = ethaddr; in ip_NetToMediaTable_get_cell_value_core() [all …]
|
| A D | snmp_mib2_tcp.c | 64 u32_t *uint_ptr = (u32_t *)value; in tcp_get_value() 65 s32_t *sint_ptr = (s32_t *)value; in tcp_get_value() 128 *((u64_t *)value) = val64; in tcp_get_value() 134 *((u64_t *)value) = val64; in tcp_get_value() 172 value->u32 = pcb->state + 1; in tcp_ConnTable_get_cell_value_core() 178 value->u32 = pcb->local_port; in tcp_ConnTable_get_cell_value_core() 182 value->u32 = IP4_ADDR_ANY4->addr; in tcp_ConnTable_get_cell_value_core() 189 value->u32 = 0; in tcp_ConnTable_get_cell_value_core() 191 value->u32 = pcb->remote_port; in tcp_ConnTable_get_cell_value_core() 317 value->u32 = pcb->state + 1; in tcp_ConnectionTable_get_cell_value_core() [all …]
|
| A D | snmp_mib2_udp.c | 61 udp_get_value(struct snmp_node_instance *instance, void *value) in udp_get_value() argument 63 u32_t *uint_ptr = (u32_t *)value; in udp_get_value() 82 *((u64_t *)value) = val64; in udp_get_value() 88 *((u64_t *)value) = val64; in udp_get_value() 103 udp_endpointTable_get_cell_value_core(const u32_t *column, union snmp_variant_value *value) in udp_endpointTable_get_cell_value_core() argument 108 value->u32 = 0; /* not supported */ in udp_endpointTable_get_cell_value_core() 155 return udp_endpointTable_get_cell_value_core(column, value); in udp_endpointTable_get_cell_value() 205 return udp_endpointTable_get_cell_value_core(column, value); in udp_endpointTable_get_next_cell_instance_and_value() 233 value->u32 = ip_2_ip4(&pcb->local_ip)->addr; in udp_Table_get_cell_value_core() 237 value->u32 = pcb->local_port; in udp_Table_get_cell_value_core() [all …]
|
| A D | snmp_asn1.h | 85 err_t snmp_asn1_dec_u32t(struct snmp_pbuf_stream *pbuf_stream, u16_t len, u32_t *value); 86 err_t snmp_asn1_dec_s32t(struct snmp_pbuf_stream *pbuf_stream, u16_t len, s32_t *value); 93 void snmp_asn1_enc_u32t_cnt(u32_t value, u16_t *octets_needed); 94 void snmp_asn1_enc_s32t_cnt(s32_t value, u16_t *octets_needed); 97 err_t snmp_asn1_enc_s32t(struct snmp_pbuf_stream *pbuf_stream, u16_t octets_needed, s32_t value); 98 err_t snmp_asn1_enc_u32t(struct snmp_pbuf_stream *pbuf_stream, u16_t octets_needed, u32_t value); 102 err_t snmp_asn1_dec_u64t(struct snmp_pbuf_stream *pbuf_stream, u16_t len, u64_t *value); 103 void snmp_asn1_enc_u64t_cnt(u64_t value, u16_t *octets_needed); 104 err_t snmp_asn1_enc_u64t(struct snmp_pbuf_stream *pbuf_stream, u16_t octets_needed, u64_t value);
|
| A D | snmp_mib2_interfaces.c | 62 interfaces_get_value(struct snmp_node_instance *instance, void *value) in interfaces_get_value() argument 65 s32_t *sint_ptr = (s32_t *)value; in interfaces_get_value() 157 interfaces_Table_get_value(struct snmp_node_instance *instance, void *value) in interfaces_Table_get_value() argument 160 u32_t *value_u32 = (u32_t *)value; in interfaces_Table_get_value() 161 s32_t *value_s32 = (s32_t *)value; in interfaces_Table_get_value() 171 MEMCPY(value, netif->name, value_len); in interfaces_Table_get_value() 187 MEMCPY(value, &netif->hwaddr, value_len); in interfaces_Table_get_value() 264 MEMCPY(value, snmp_zero_dot_zero.id, value_len); in interfaces_Table_get_value() 276 interfaces_Table_set_test(struct snmp_node_instance *instance, u16_t len, void *value) in interfaces_Table_set_test() argument 278 s32_t *sint_ptr = (s32_t *)value; in interfaces_Table_set_test() [all …]
|
| A D | snmp_threadsync.c | 59 …etval.s16 = call_data->proxy_instance.get_value(&call_data->proxy_instance, call_data->arg1.value); in threadsync_get_value_synced() 68 threadsync_get_value(struct snmp_node_instance *instance, void *value) in threadsync_get_value() argument 72 call_data->arg1.value = value; in threadsync_get_value() 84 …a->proxy_instance.set_test(&call_data->proxy_instance, call_data->arg2.len, call_data->arg1.value); in threadsync_set_test_synced() 93 threadsync_set_test(struct snmp_node_instance *instance, u16_t len, void *value) in threadsync_set_test() argument 97 call_data->arg1.value = value; in threadsync_set_test() 110 …->proxy_instance.set_value(&call_data->proxy_instance, call_data->arg2.len, call_data->arg1.value); in threadsync_set_value_synced() 119 threadsync_set_value(struct snmp_node_instance *instance, u16_t len, void *value) in threadsync_set_value() argument 123 call_data->arg1.value = value; in threadsync_set_value()
|
| /lib/mbedtls/external/mbedtls/scripts/ |
| A D | config.py | 37 self.value = value 105 self.settings[name].value = value 115 if value is not None: 116 self.settings[name].value = value 119 self.settings[name] = Setting(True, name, value=value) 448 value = setting.value 449 if value is None: 450 value = '' 455 if value: 578 if value: [all …]
|
| /lib/mbedtls/external/mbedtls/tests/suites/ |
| A D | test_suite_debug.data | 16 Debug print return value #1 17 mbedtls_debug_print_ret:"MyFile":999:"Test return value":0:"MyFile(0999)\: Test return value() retu… 19 Debug print return value #2 20 mbedtls_debug_print_ret:"MyFile":999:"Test return value":-0x1000:"MyFile(0999)\: Test return value(… 22 Debug print return value #3 23 mbedtls_debug_print_ret:"MyFile":999:"Test return value":-0xFFFF:"MyFile(0999)\: Test return value(… 26 mbedtls_debug_print_buf:"MyFile":999:"Test return value":"":"MyFile(0999)\: dumping 'Test return va… 29 …bedtls_debug_print_buf:"MyFile":999:"Test return value":"00":"MyFile(0999)\: dumping 'Test return … 32 …int_buf:"MyFile":999:"Test return value":"000102030405060708090A0B0C0D0E0F":"MyFile(0999)\: dumpin… 41 mbedtls_debug_print_mpi:"":"MyFile":999:"VALUE":"MyFile(0999)\: value of 'VALUE' (0 bits) is\:\nMyF… [all …]
|
| /lib/lwip/lwip/contrib/apps/LwipMibCompiler/Mibs/ |
| A D | SNMPv2-SMI | 78 Text ::= value(IA5String) 102 Text ::= value(IA5String) 146 string-value 149 objectID-value 163 ipAddress-value 166 counter-value 169 timeticks-value 172 arbitrary-value 175 big-counter-value 305 Text ::= value(IA5String) [all …]
|
| A D | SNMPv2-CONF | 17 value(VALUE OBJECT IDENTIFIER) 25 value(ObjectName) 37 Text ::= value(IA5String) 59 value(NotificationName) 71 Text ::= value(IA5String) 114 value(OBJECT IDENTIFIER) 125 value(OBJECT IDENTIFIER) 180 Text ::= value(IA5String) 295 value(ObjectName) 303 value(ObjectSyntax) [all …]
|
| A D | IF-MIB | 101 additional value of zero. the value zero is object-specific 126 contains a zero value." 144 given by the value of ifNumber." 324 zero value." 339 times as indicated by the value of 910 ifIndex value. 938 object contains a zero value." 1024 this object has the value 0." 1056 contains a zero value." 1178 included value of ifOperStatus." [all …]
|
| A D | RFC-1215 | 9 TYPE NOTATION ::= "ENTERPRISE" value 14 VALUE NOTATION ::= value (VALUE INTEGER) 22 value (vartype ObjectName) 25 "DESCRIPTION" value (description DisplayString) 29 "REFERENCE" value (reference DisplayString)
|
| /lib/mbedtls/external/mbedtls/tests/scripts/ |
| A D | psa_collect_statuses.py | 42 value, function, tail = line.split(':', 2) 46 if value not in self.functions[function]: 47 fdata[value] = [] 48 fdata[value].append(tail) 49 self.codes.add(int(value)) 53 values = [str(value) for value in self.codes] 56 for value, name in zip(values, output.rstrip().split('\n')): 57 self.status_names[value] = name 66 names = [self.status_names[value] for value in fdata.keys()]
|
| /lib/mbedtls/external/mbedtls/tests/data_files/ |
| A D | test_certs.h.jinja2 | 11 {% for mode, name, value in macros %} 13 /* This is taken from {{value}}. */ 14 /* BEGIN FILE string macro {{name}} {{value}} */ 16 {% for line in value | read_lines %} 24 /* This is generated from {{value}}. */ 25 /* BEGIN FILE binary macro {{name}} {{value}} */ 27 {% for line in value | read_as_c_array %} 39 #define {{name}} "{{value}}"
|
| /lib/mbedtls/external/mbedtls/programs/psa/ |
| A D | psa_constant_names.c | 57 unsigned long value) in append_integer() argument 200 long value = strtol(*argp, &end, 0); in process_signed() local 205 if (value < min || (errno == ERANGE && value < 0)) { in process_signed() 209 if (value > max || (errno == ERANGE && value > 0)) { in process_signed() 217 (psa_status_t) value); in process_signed() 239 unsigned long value = strtoul(*argp, &end, 0); in process_unsigned() local 244 if (value > max || errno == ERANGE) { in process_unsigned() 252 (psa_algorithm_t) value); in process_unsigned() 260 (psa_dh_family_t) value); in process_unsigned() 264 (psa_key_type_t) value); in process_unsigned() [all …]
|
| /lib/lwip/lwip/contrib/examples/snmp/snmp_private_mib/ |
| A D | lwip_prvmib.c | 104 s32_t value; member 242 sensors[i].value = 11 * (i+1); in lwip_privmib_init() 250 sensor_count_get_value(struct snmp_node_instance* instance, void* value) in sensor_count_get_value() argument 253 u32_t *uint_ptr = (u32_t*)value; in sensor_count_get_value() 341 sensor_table_get_value(struct snmp_node_instance* instance, void* value) in sensor_table_get_value() argument 344 s32_t *temperature = (s32_t *)value; in sensor_table_get_value() 363 *temperature = sensors[i].value; in sensor_table_get_value() 367 MEMCPY(value, sensors[i].file, strlen(sensors[i].file)); in sensor_table_get_value() 375 sensor_table_set_value(struct snmp_node_instance* instance, u16_t len, void *value) in sensor_table_set_value() argument 378 s32_t *temperature = (s32_t *)value; in sensor_table_set_value() [all …]
|
| /lib/mbedtls/external/mbedtls/library/ |
| A D | oid.c | 928 unsigned int value = 0; in FN_OID_TYPED_FROM_ASN1() local 942 if (value > (UINT_MAX >> 7)) { in FN_OID_TYPED_FROM_ASN1() 950 value <<= 7; in FN_OID_TYPED_FROM_ASN1() 951 value |= oid->p[i] & 0x7F; in FN_OID_TYPED_FROM_ASN1() 959 if (value >= 80) { in FN_OID_TYPED_FROM_ASN1() 978 value = 0; in FN_OID_TYPED_FROM_ASN1() 982 if (value != 0) { in FN_OID_TYPED_FROM_ASN1() 1013 value >>= 7; in oid_subidentifier_num_bytes() 1015 } while (value != 0); in oid_subidentifier_num_bytes() 1030 value >>= 7; in oid_subidentifier_encode_into() [all …]
|
| A D | base64.c | 26 unsigned char mbedtls_ct_base64_enc_char(unsigned char value) in mbedtls_ct_base64_enc_char() argument 32 digit |= mbedtls_ct_uchar_in_range_if(0, 25, value, 'A' + value); in mbedtls_ct_base64_enc_char() 33 digit |= mbedtls_ct_uchar_in_range_if(26, 51, value, 'a' + value - 26); in mbedtls_ct_base64_enc_char() 34 digit |= mbedtls_ct_uchar_in_range_if(52, 61, value, '0' + value - 52); in mbedtls_ct_base64_enc_char() 35 digit |= mbedtls_ct_uchar_in_range_if(62, 62, value, '+'); in mbedtls_ct_base64_enc_char() 36 digit |= mbedtls_ct_uchar_in_range_if(63, 63, value, '/'); in mbedtls_ct_base64_enc_char()
|
| /lib/lwip/lwip/doc/doxygen/ |
| A D | lwip.Doxyfile | 11 # TAG = value [value, ...] 13 # TAG += value [value, ...] 227 # Minimum value: 1, maximum value: 16, default value: 4. 310 # Minimum value: 0, maximum value: 99, default value: 0. 422 # Minimum value: 0, maximum value: 9, default value: 0. 660 # Minimum value: 0, maximum value: 10000, default value: 30. 1085 # Minimum value: 1, maximum value: 20, default value: 5. 1468 # Minimum value: 0, maximum value: 20, default value: 4. 1491 # Minimum value: 8, maximum value: 50, default value: 10. 2248 # Minimum value: 0, maximum value: 32, default value: 0. [all …]
|
| A D | lwip.Doxyfile.cmake.in | 11 # TAG = value [value, ...] 13 # TAG += value [value, ...] 227 # Minimum value: 1, maximum value: 16, default value: 4. 310 # Minimum value: 0, maximum value: 99, default value: 0. 422 # Minimum value: 0, maximum value: 9, default value: 0. 660 # Minimum value: 0, maximum value: 10000, default value: 30. 1085 # Minimum value: 1, maximum value: 20, default value: 5. 1468 # Minimum value: 0, maximum value: 20, default value: 4. 1491 # Minimum value: 8, maximum value: 50, default value: 10. 2248 # Minimum value: 0, maximum value: 32, default value: 0. [all …]
|