Home
last modified time | relevance | path

Searched refs:usage_flags (Results 1 – 25 of 33) sorted by relevance

12

/third_party/mbedtls/include/psa/
Dcrypto_struct.h414 static inline void psa_extend_key_usage_flags(psa_key_usage_t *usage_flags) in psa_extend_key_usage_flags() argument
416 if (*usage_flags & PSA_KEY_USAGE_SIGN_HASH) { in psa_extend_key_usage_flags()
417 *usage_flags |= PSA_KEY_USAGE_SIGN_MESSAGE; in psa_extend_key_usage_flags()
420 if (*usage_flags & PSA_KEY_USAGE_VERIFY_HASH) { in psa_extend_key_usage_flags()
421 *usage_flags |= PSA_KEY_USAGE_VERIFY_MESSAGE; in psa_extend_key_usage_flags()
426 psa_key_usage_t usage_flags) in psa_set_key_usage_flags() argument
428 psa_extend_key_usage_flags(&usage_flags); in psa_set_key_usage_flags()
429 attributes->MBEDTLS_PRIVATE(core).MBEDTLS_PRIVATE(policy).MBEDTLS_PRIVATE(usage) = usage_flags; in psa_set_key_usage_flags()
Dcrypto.h239 psa_key_usage_t usage_flags);
/third_party/mbedtls/tests/src/
Dpsa_crypto_helpers.c126 psa_key_usage_t mbedtls_test_update_key_usage_flags(psa_key_usage_t usage_flags) in mbedtls_test_update_key_usage_flags() argument
128 psa_key_usage_t updated_usage = usage_flags; in mbedtls_test_update_key_usage_flags()
130 if (usage_flags & PSA_KEY_USAGE_SIGN_HASH) { in mbedtls_test_update_key_usage_flags()
134 if (usage_flags & PSA_KEY_USAGE_VERIFY_HASH) { in mbedtls_test_update_key_usage_flags()
/third_party/vk-gl-cts/external/amber/src/src/vulkan/
Dframe_buffer.cc67 const VkImageUsageFlags usage_flags = VK_IMAGE_USAGE_TRANSFER_SRC_BIT | in Initialize() local
72 VK_IMAGE_TYPE_2D, usage_flags, width_ << info->base_mip_level, in Initialize()
93 const VkImageUsageFlags usage_flags = in Initialize() local
99 VK_IMAGE_TYPE_2D, usage_flags, width_, height_, depth_, 1u, 0u, 1u, 1u); in Initialize()
109 const VkImageUsageFlags usage_flags = VK_IMAGE_USAGE_TRANSFER_SRC_BIT | in Initialize() local
114 VK_IMAGE_TYPE_2D, usage_flags, width_, height_, depth_, 1u, 0u, 1u, in Initialize()
/third_party/mbedtls/tests/scripts/
Dgenerate_psa_tests.py466 usage_flags = set(usage)
468 for flag in sorted(usage_flags):
470 usage_flags.add(self.IMPLICIT_USAGE_FLAGS[flag])
471 if usage_flags:
472 usage_expression = ' | '.join(sorted(usage_flags))
631 usage_flags: List[str],
641 expected_usage=usage_flags,
643 usage=usage_flags, alg=0, alg2=0,
681 usage_flags = ['PSA_KEY_USAGE_EXPORT']
686 usage_flags += alg.usage_flags(public=kt.is_public())
[all …]
/third_party/mbedtls/tests/suites/
Dtest_suite_psa_crypto_attributes.function18 psa_key_usage_t usage_flags = usage_flags_arg;
35 psa_set_key_usage_flags(&attributes, usage_flags);
43 TEST_EQUAL(psa_get_key_usage_flags(&attributes), usage_flags);
Dtest_suite_psa_crypto_slot_management.function115 psa_key_usage_t usage_flags = usage_arg;
133 psa_set_key_usage_flags(&attributes, usage_flags);
202 psa_key_usage_t usage_flags = usage_arg;
226 psa_set_key_usage_flags(&attributes, usage_flags);
243 mbedtls_test_update_key_usage_flags(usage_flags));
263 mbedtls_test_update_key_usage_flags(usage_flags));
297 mbedtls_test_update_key_usage_flags(usage_flags));
307 if (usage_flags & PSA_KEY_USAGE_EXPORT) {
/third_party/mesa3d/src/intel/vulkan/
Danv_utrace.c41 if (!(cmd_buffers[i]->usage_flags & VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT)) in command_buffers_count_utraces()
150 if (cmd_buffers[i]->usage_flags & VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT) { in anv_device_utrace_flush_cmd_buffers()
170 assert(cmd_buffers[i]->usage_flags & VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT); in anv_device_utrace_flush_cmd_buffers()
Danv_measure.c220 if (cmd_buffer->usage_flags & VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT) in state_changed()
498 if (secondary->usage_flags & VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT) { in _anv_measure_add_secondary()
Danv_cmd_buffer.c207 cmd_buffer->usage_flags = 0; in anv_cmd_buffer_reset()
Danv_private.h2852 VkCommandBufferUsageFlags usage_flags; member
2900 !(cmd_buffer->usage_flags & VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT); in anv_cmd_buffer_is_chainable()
DgenX_cmd_buffer.c1641 cmd_buffer->usage_flags = pBeginInfo->flags; in genX()
1653 cmd_buffer->usage_flags &= ~VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT; in genX()
1694 if (cmd_buffer->usage_flags & in genX()
1743 !(cmd_buffer->usage_flags & VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT)) in genX()
1885 if (secondary->usage_flags & in genX()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_dynamic_rendering.c145 if (!(old_cmds[i]->usage_flags & in tu_insert_dynamic_cmdbufs()
192 if (old_cmds[i]->usage_flags & in tu_insert_dynamic_cmdbufs()
Dtu_cmd_buffer.h541 VkCommandBufferUsageFlags usage_flags; member
616 VkCommandBufferUsageFlags usage_flags);
Dtu_autotune.c268 bool one_time_submit = cmdbuf->usage_flags & in queue_pending_results()
536 cmd_buffer->usage_flags & VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT; in tu_autotune_use_bypass()
Dtu_drm.c845 if (!(cmdbuf->usage_flags & VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT)) in tu_queue_submit_create_locked()
/third_party/mbedtls/tests/include/test/
Dpsa_crypto_helpers.h201 psa_key_usage_t mbedtls_test_update_key_usage_flags(psa_key_usage_t usage_flags);
/third_party/mesa3d/docs/relnotes/
D17.1.9.rst60 - radv: Actually set the cmd_buffer usage_flags.
D17.2.1.rst48 - radv: Actually set the cmd_buffer usage_flags.
/third_party/mbedtls/scripts/mbedtls_dev/
Dcrypto_knowledge.py545 def usage_flags(self, public: bool = False) -> List[str]: member in Algorithm
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_private.h768 VkCommandBufferUsageFlags usage_flags; member
/third_party/mesa3d/src/imagination/vulkan/
Dpvr_private.h919 VkCommandBufferUsageFlags usage_flags; member
Dpvr_cmd_buffer.c2514 cmd_buffer->usage_flags = pBeginInfo->flags; in pvr_BeginCommandBuffer()
2527 cmd_buffer->usage_flags &= in pvr_BeginCommandBuffer()
2531 if (cmd_buffer->usage_flags & in pvr_BeginCommandBuffer()
4011 cmd_buffer->usage_flags & VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT; in pvr_emit_ppp_state()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_cmd_buffer.c939 assert(cmd_buffer->usage_flags & VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT); in cmd_buffer_begin_render_pass_secondary()
1001 cmd_buffer->usage_flags = pBeginInfo->flags; in v3dv_BeginCommandBuffer()
1674 assert(!(secondary->usage_flags & in cmd_buffer_execute_outside_pass()
Dv3dv_private.h1497 VkCommandBufferUsageFlags usage_flags; member

12