Home
last modified time | relevance | path

Searched refs:attributes (Results 1 – 25 of 130) sorted by relevance

123456

/Zephyr-latest/modules/openthread/platform/
Dcrypto_psa.c140 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/
Dnormalized_crypto.h29 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);
Dmain.c84 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
89 void custom_psa_set_key_bits(psa_key_attributes_t *attributes, size_t bits) in custom_psa_set_key_bits() argument
94 void custom_psa_set_key_type(psa_key_attributes_t *attributes, psa_key_type_t type) in custom_psa_set_key_type() argument
99 void custom_psa_set_key_algorithm(psa_key_attributes_t *attributes, psa_algorithm_t alg) in custom_psa_set_key_algorithm() argument
104 void custom_psa_set_key_lifetime(psa_key_attributes_t *attributes, psa_key_lifetime_t lifetime) in custom_psa_set_key_lifetime() argument
109 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/drivers/firmware/scmi/
Dclk.c17 uint32_t attributes; member
80 if (cfg->attributes & SCMI_CLK_CONFIG_EA_MASK) { in scmi_clock_config_set()
85 if (SCMI_CLK_CONFIG_ENABLE_DISABLE(cfg->attributes) == 3) { in scmi_clock_config_set()
90 if (SCMI_CLK_CONFIG_ENABLE_DISABLE(cfg->attributes) == 2) { in scmi_clock_config_set()
115 int scmi_clock_protocol_attributes(struct scmi_protocol *proto, uint32_t *attributes) in scmi_clock_protocol_attributes() argument
122 if (!proto || !attributes) { in scmi_clock_protocol_attributes()
149 *attributes = reply_buffer.attributes; in scmi_clock_protocol_attributes()
/Zephyr-latest/subsys/net/lib/coap/
Dcoap_link_format.c134 static bool match_attributes(const char * const *attributes, in match_attributes() argument
143 for (attr = attributes; attr && *attr; attr++) { in match_attributes()
163 const char * const *attributes = NULL; in match_queries_resource() local
170 if (meta && meta->attributes) { in match_queries_resource()
171 attributes = meta->attributes; in match_queries_resource()
174 if (!attributes) { in match_queries_resource()
187 return match_attributes(attributes, query); in match_queries_resource()
323 static int format_attributes(const char * const *attributes, in format_attributes() argument
331 if (!attributes) { in format_attributes()
336 for (attr = attributes; *attr; attr++) { in format_attributes()
[all …]
/Zephyr-latest/soc/espressif/esp32/
Dgdbstub.c21 .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/
Dcrypto_psa.c183 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in bt_mesh_sha256_hmac_raw_key() local
190 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_SIGN_MESSAGE); in bt_mesh_sha256_hmac_raw_key()
191 psa_set_key_lifetime(&attributes, PSA_KEY_LIFETIME_VOLATILE); in bt_mesh_sha256_hmac_raw_key()
192 psa_set_key_algorithm(&attributes, PSA_ALG_HMAC(PSA_ALG_SHA_256)); in bt_mesh_sha256_hmac_raw_key()
193 psa_set_key_type(&attributes, PSA_KEY_TYPE_HMAC); in bt_mesh_sha256_hmac_raw_key()
194 psa_set_key_bits(&attributes, 256); in bt_mesh_sha256_hmac_raw_key()
196 status = psa_import_key(&attributes, key, 32, &key_id); in bt_mesh_sha256_hmac_raw_key()
202 psa_reset_key_attributes(&attributes); in bt_mesh_sha256_hmac_raw_key()
305 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in bt_mesh_dhkey_gen() local
308 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_DERIVE); in bt_mesh_dhkey_gen()
[all …]
/Zephyr-latest/include/zephyr/drivers/firmware/scmi/
Dpinctrl.h29 #define SCMI_PINCTRL_ATTRIBUTES_CONFIG_NUM(attributes)\ argument
30 (((attributes) & GENMASK(9, 2)) >> 2)
89 uint32_t attributes; member
Dclk.h31 uint32_t attributes; member
69 uint32_t *attributes);
/Zephyr-latest/drivers/clock_control/
Dclock_control_arm_scmi.c37 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/
Dsize_report82 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']
267 file_index = die.attributes['DW_AT_decl_file'].value
328 if 'DW_AT_location' in die.attributes:
334 if ('DW_AT_abstract_origin' in die.attributes) or (
335 'DW_AT_specification' in die.attributes):
340 elif 'DW_AT_low_pc' in die.attributes:
[all …]
/Zephyr-latest/drivers/mm/
Dmm_drv_intel_adsp_regions.c24 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/scripts/build/
Dgen_kobject_list.py163 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/include/zephyr/linker/
Ddebug-sections.ld12 SECTION_PROLOGUE(.gnu.build.attributes, 0,) { *(.gnu.build.attributes .gnu.build.attributes.*) }
/Zephyr-latest/scripts/generate_usb_vif/
Dgenerate_vif.py45 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/
Dindex.rst6 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/subsys/usb/common/
Dsample_usbd_init.c40 static const uint8_t attributes = (IS_ENABLED(CONFIG_SAMPLE_USBD_SELF_POWERED) ? variable
47 attributes,
52 attributes,
/Zephyr-latest/samples/net/sockets/coap_server/src/
Dcore.c64 .attributes = core_1_attributes,
79 .attributes = core_2_attributes,
/Zephyr-latest/drivers/pinctrl/
Dpinctrl_imx_scmi.c35 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/
Dudc_common.c233 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/
Dshared_multi_heap.rst8 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/
Ddatabase_gen.py309 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/doc/connectivity/bluetooth/api/
Dgatt.rst12 attributes the service contains. The helper macro :c:macro:`BT_GATT_SERVICE()`
71 field only attributes which matches will be discovered, in contrast setting it
72 to NULL allows all attributes to be discovered.
75 Caching discovered attributes is not supported.
79 more attributes can be set, though setting multiple handles requires the option:
/Zephyr-latest/include/zephyr/net/
Dcoap_link_format.h74 const char * const *attributes; member
/Zephyr-latest/samples/bluetooth/peripheral_hids/
DKconfig11 read and write attributes as authentication required.

123456