/Zephyr-latest/modules/openthread/platform/ |
D | crypto_psa.c | 140 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in otPlatCryptoImportKey() local 174 psa_set_key_type(&attributes, toPsaKeyType(aKeyType)); in otPlatCryptoImportKey() 175 psa_set_key_algorithm(&attributes, toPsaAlgorithm(aKeyAlgorithm)); in otPlatCryptoImportKey() 176 psa_set_key_usage_flags(&attributes, toPsaKeyUsage(aKeyUsage)); in otPlatCryptoImportKey() 180 psa_set_key_lifetime(&attributes, PSA_KEY_LIFETIME_PERSISTENT); in otPlatCryptoImportKey() 181 psa_set_key_id(&attributes, *aKeyRef); in otPlatCryptoImportKey() 184 psa_set_key_lifetime(&attributes, PSA_KEY_LIFETIME_VOLATILE); in otPlatCryptoImportKey() 188 status = psa_import_key(&attributes, aKey, aKeyLen, aKeyRef); in otPlatCryptoImportKey() 189 psa_reset_key_attributes(&attributes); in otPlatCryptoImportKey() 211 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in otPlatCryptoHasKey() local [all …]
|
/Zephyr-latest/tests/net/lib/wifi_credentials_backend_psa/src/ |
D | normalized_crypto.h | 29 psa_status_t psa_import_key(const psa_key_attributes_t *attributes, const uint8_t *data, 36 void psa_set_key_id(psa_key_attributes_t *attributes, mbedtls_svc_key_id_t key); 37 void psa_set_key_bits(psa_key_attributes_t *attributes, size_t bits); 38 void psa_set_key_type(psa_key_attributes_t *attributes, psa_key_type_t type); 39 void psa_set_key_algorithm(psa_key_attributes_t *attributes, psa_algorithm_t alg); 40 void psa_set_key_lifetime(psa_key_attributes_t *attributes, psa_key_lifetime_t lifetime); 42 void psa_set_key_usage_flags(psa_key_attributes_t *attributes, psa_key_usage_t usage_flags);
|
D | main.c | 82 static void custom_psa_set_key_id(psa_key_attributes_t *attributes, mbedtls_svc_key_id_t key) in custom_psa_set_key_id() argument 87 void custom_psa_set_key_bits(psa_key_attributes_t *attributes, size_t bits) in custom_psa_set_key_bits() argument 92 void custom_psa_set_key_type(psa_key_attributes_t *attributes, psa_key_type_t type) in custom_psa_set_key_type() argument 97 void custom_psa_set_key_algorithm(psa_key_attributes_t *attributes, psa_algorithm_t alg) in custom_psa_set_key_algorithm() argument 102 void custom_psa_set_key_lifetime(psa_key_attributes_t *attributes, psa_key_lifetime_t lifetime) in custom_psa_set_key_lifetime() argument 107 void custom_psa_set_key_usage_flags(psa_key_attributes_t *attributes, psa_key_usage_t usage_flags) in custom_psa_set_key_usage_flags() argument
|
/Zephyr-latest/subsys/net/lib/coap/ |
D | coap_link_format.c | 118 static bool match_attributes(const char * const *attributes, in match_attributes() argument 127 for (attr = attributes; attr && *attr; attr++) { in match_attributes() 147 const char * const *attributes = NULL; in match_queries_resource() local 154 if (meta && meta->attributes) { in match_queries_resource() 155 attributes = meta->attributes; in match_queries_resource() 158 if (!attributes) { in match_queries_resource() 171 return match_attributes(attributes, query); in match_queries_resource() 307 static int format_attributes(const char * const *attributes, in format_attributes() argument 315 if (!attributes) { in format_attributes() 320 for (attr = attributes; *attr; attr++) { in format_attributes() [all …]
|
/Zephyr-latest/soc/espressif/esp32/ |
D | gdbstub.c | 21 .attributes = GDB_MEM_REGION_RW, 28 .attributes = GDB_MEM_REGION_RW, 35 .attributes = GDB_MEM_REGION_RW, 42 .attributes = GDB_MEM_REGION_RO, 49 .attributes = GDB_MEM_REGION_RW, 56 .attributes = GDB_MEM_REGION_RO, 63 .attributes = GDB_MEM_REGION_RW, 70 .attributes = GDB_MEM_REGION_RW, 77 .attributes = GDB_MEM_REGION_RW, 87 .attributes = GDB_MEM_REGION_RO, [all …]
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | crypto_psa.c | 184 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in bt_mesh_sha256_hmac_raw_key() local 191 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_SIGN_MESSAGE); in bt_mesh_sha256_hmac_raw_key() 192 psa_set_key_lifetime(&attributes, PSA_KEY_LIFETIME_VOLATILE); in bt_mesh_sha256_hmac_raw_key() 193 psa_set_key_algorithm(&attributes, PSA_ALG_HMAC(PSA_ALG_SHA_256)); in bt_mesh_sha256_hmac_raw_key() 194 psa_set_key_type(&attributes, PSA_KEY_TYPE_HMAC); in bt_mesh_sha256_hmac_raw_key() 195 psa_set_key_bits(&attributes, 256); in bt_mesh_sha256_hmac_raw_key() 197 status = psa_import_key(&attributes, key, 32, &key_id); in bt_mesh_sha256_hmac_raw_key() 203 psa_reset_key_attributes(&attributes); in bt_mesh_sha256_hmac_raw_key() 306 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in bt_mesh_dhkey_gen() local 309 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_DERIVE); in bt_mesh_dhkey_gen() [all …]
|
/Zephyr-latest/include/zephyr/drivers/firmware/scmi/ |
D | pinctrl.h | 29 #define SCMI_PINCTRL_ATTRIBUTES_CONFIG_NUM(attributes)\ argument 30 (((attributes) & GENMASK(9, 2)) >> 2) 89 uint32_t attributes; member
|
D | clk.h | 36 uint32_t attributes; member 86 uint32_t *attributes);
|
/Zephyr-latest/drivers/firmware/scmi/ |
D | clk.c | 17 uint32_t attributes; member 203 if (cfg->attributes & SCMI_CLK_CONFIG_EA_MASK) { in scmi_clock_config_set() 208 if (SCMI_CLK_CONFIG_ENABLE_DISABLE(cfg->attributes) == 3) { in scmi_clock_config_set() 213 if (SCMI_CLK_CONFIG_ENABLE_DISABLE(cfg->attributes) == 2) { in scmi_clock_config_set() 238 int scmi_clock_protocol_attributes(struct scmi_protocol *proto, uint32_t *attributes) in scmi_clock_protocol_attributes() argument 245 if (!proto || !attributes) { in scmi_clock_protocol_attributes() 272 *attributes = reply_buffer.attributes; in scmi_clock_protocol_attributes()
|
/Zephyr-latest/drivers/clock_control/ |
D | clock_control_arm_scmi.c | 37 cfg.attributes = SCMI_CLK_CONFIG_ENABLE_DISABLE(on); in scmi_clock_on_off() 82 uint32_t attributes; in scmi_clock_init() local 87 ret = scmi_clock_protocol_attributes(proto, &attributes); in scmi_clock_init() 93 data->clk_num = SCMI_CLK_ATTRIBUTES_CLK_NUM(attributes); in scmi_clock_init()
|
/Zephyr-latest/scripts/footprint/ |
D | size_report | 82 if 'DW_AT_location' in die.attributes: 83 loc_attr = die.attributes['DW_AT_location'] 96 if 'DW_AT_low_pc' in die.attributes: 97 low = die.attributes['DW_AT_low_pc'].value 99 high_pc = die.attributes['DW_AT_high_pc'] 274 file_index = die.attributes['DW_AT_decl_file'].value 335 if 'DW_AT_location' in die.attributes: 341 if ('DW_AT_abstract_origin' in die.attributes) or ( 342 'DW_AT_specification' in die.attributes): 347 elif 'DW_AT_low_pc' in die.attributes: [all …]
|
/Zephyr-latest/samples/subsys/usb/common/ |
D | sample_usbd_init.c | 46 static const uint8_t attributes = (IS_ENABLED(CONFIG_SAMPLE_USBD_SELF_POWERED) ? variable 53 attributes, 58 attributes, 162 usbd_self_powered(&sample_usbd, attributes & USB_SCD_SELF_POWERED); in sample_usbd_setup_device()
|
/Zephyr-latest/subsys/usb/device_next/app/ |
D | cdc_acm_serial.c | 35 static const uint8_t attributes = IS_ENABLED(CONFIG_CDC_ACM_SERIAL_SELF_POWERED) ? variable 39 attributes, 43 attributes,
|
/Zephyr-latest/drivers/mm/ |
D | mm_drv_intel_adsp_regions.c | 24 uint32_t attributes, uint32_t position, uint32_t *total_size) in append_region() argument 28 virtual_memory_regions[position].attr = attributes; in append_region()
|
/Zephyr-latest/include/zephyr/linker/ |
D | debug-sections.ld | 12 SECTION_PROLOGUE(.gnu.build.attributes, 0,) { *(.gnu.build.attributes .gnu.build.attributes.*) }
|
/Zephyr-latest/scripts/build/ |
D | gen_kobject_list.py | 163 fileinfo = files[die.attributes["DW_AT_decl_file"].value - 1] 168 lineno = die.attributes["DW_AT_decl_line"].value 359 if 'DW_AT_specification' not in die.attributes: 362 spec_val = die.attributes["DW_AT_specification"].value 371 if 'DW_AT_name' not in die.attributes: 376 return die.attributes["DW_AT_name"].value.decode("utf-8") 380 if 'DW_AT_type' not in die.attributes: 385 return die.attributes["DW_AT_type"].value + die.cu.cu_offset 389 if 'DW_AT_byte_size' not in die.attributes: 392 return die.attributes["DW_AT_byte_size"].value [all …]
|
/Zephyr-latest/scripts/generate_usb_vif/ |
D | generate_vif.py | 45 def add_attributes_to_xml_element(xml_ele, attributes): argument 46 for key, value in attributes.items(): 50 def add_element_to_xml(xml_ele, name, text=None, attributes=None): argument 54 if attributes: 55 add_attributes_to_xml_element(new_xml_ele, attributes) 62 attributes = elements[element_name].get(other_constants.ATTRIBUTES, 65 attributes)
|
/Zephyr-latest/doc/services/mem_mgmt/ |
D | index.rst | 6 It is possible in the devicetree to mark the memory regions with attributes by 11 The set of general attributes that can be specified in the property are defined 34 architecture-specific and software-specific custom attributes that can be 53 marked with attributes is by using the provided ``mem-attr`` helper library by 55 list of memory regions and their attributes are compiled in a user-accessible 57 and act on regions and attributes (see next section for more details). 97 memory from with certain attributes / capabilities. 100 with one of the memory attributes listed in 103 certain attributes. 105 Here a non exhaustive list of possible attributes: [all …]
|
/Zephyr-latest/samples/net/sockets/coap_server/src/ |
D | core.c | 64 .attributes = core_1_attributes, 79 .attributes = core_2_attributes,
|
/Zephyr-latest/drivers/pinctrl/ |
D | pinctrl_imx_scmi.c | 35 settings.attributes = in scmi_pinctrl_configure_pin() 44 settings.attributes = SCMI_PINCTRL_CONFIG_ATTRIBUTES(0x0, 0x1, SCMI_PINCTRL_SELECTOR_PIN); in scmi_pinctrl_configure_pin()
|
/Zephyr-latest/drivers/usb/udc/ |
D | udc_common.c | 233 static uint8_t ep_attrib_get_transfer(uint8_t attributes) in ep_attrib_get_transfer() argument 235 return attributes & USB_EP_TRANSFER_TYPE_MASK; in ep_attrib_get_transfer() 241 const uint8_t attributes, in ep_check_config() argument 269 switch (ep_attrib_get_transfer(attributes)) { in ep_check_config() 303 const uint8_t attributes, in ep_update_mps() argument 315 switch (ep_attrib_get_transfer(attributes)) { in ep_update_mps() 333 const uint8_t attributes, in udc_ep_try_config() argument 348 ret = ep_check_config(dev, cfg, ep, attributes, *mps, interval); in udc_ep_try_config() 350 ep_update_mps(dev, cfg, attributes, mps); in udc_ep_try_config() 360 const uint8_t attributes, in udc_ep_enable_internal() argument [all …]
|
/Zephyr-latest/doc/kernel/memory_management/ |
D | shared_multi_heap.rst | 8 attributes (cacheable, non-cacheable, etc...). 62 correct set of attributes for the needed memory. The framework will take 75 Adding new attributes 78 The API does not enforce any attributes, but at least it defines the two most
|
/Zephyr-latest/scripts/logging/dictionary/ |
D | database_gen.py | 309 return die.attributes['DW_AT_name'].value.decode('ascii'), is_const 312 if not 'DW_AT_type' in die.attributes: 320 type_attr = die.attributes['DW_AT_type'] 361 if ('DW_AT_type' in die.attributes 362 and 'DW_AT_location' in die.attributes 367 loc_attr = die.attributes['DW_AT_location'] 380 'name': die.attributes['DW_AT_name'].value,
|
/Zephyr-latest/include/zephyr/net/ |
D | coap_link_format.h | 74 const char * const *attributes; member
|
/Zephyr-latest/samples/bluetooth/peripheral_hids/ |
D | Kconfig | 11 read and write attributes as authentication required.
|