/optee_os/ta/pkcs11/src/ |
A D | object.c | 96 TEE_Free(obj->attributes); in cleanup_volatile_obj_ref() 181 obj->attributes = head; in create_obj_instance() 246 obj->attributes->attrs_size; in create_object() 259 obj->attributes, size, in create_object() 288 obj->attributes = NULL; in create_object() 466 TEE_Free(find_ctx->attributes); in release_find_obj_context() 603 if (!obj->attributes) { in entry_find_objects_init() 613 if (!obj->attributes || in entry_find_objects_init() 615 obj->attributes) || in entry_find_objects_init() 638 find_ctx->attributes = req_attrs; in entry_find_objects_init() [all …]
|
A D | processing.c | 128 struct obj_attrs *attrs = obj->attributes; in get_object_key_bit_size() 644 obj->attributes); in entry_processing_init() 649 obj->attributes); in entry_processing_init() 736 obj->attributes); in entry_processing_step() 908 parent->attributes); in entry_processing_key() 936 parent->attributes, in entry_processing_key() 1167 wrapping_key->attributes); in entry_wrap_key() 1182 wrapping_key->attributes); in entry_wrap_key() 1186 switch (get_class(key->attributes)) { in entry_wrap_key() 1197 if (!get_bool(key->attributes, PKCS11_CKA_EXTRACTABLE)) { in entry_wrap_key() [all …]
|
A D | processing_digest.c | 162 if (get_class(obj->attributes) != PKCS11_CKO_SECRET_KEY) in step_digest_operation() 165 key_type = get_key_type(obj->attributes); in step_digest_operation() 171 rc = get_attribute_ptr(obj->attributes, PKCS11_CKA_VALUE, in step_digest_operation()
|
A D | object.h | 29 struct obj_attrs *attributes; member 49 enum pkcs11_rc create_object(void *session, struct obj_attrs *attributes,
|
A D | persistent_token.c | 477 if (obj->attributes) in load_persistent_object_attributes() 524 obj->attributes = attr; in load_persistent_object_attributes() 540 TEE_Free(obj->attributes); in release_persistent_object_attributes() 541 obj->attributes = NULL; in release_persistent_object_attributes() 551 assert(obj && obj->attributes); in update_persistent_object_attributes() 561 size = sizeof(struct obj_attrs) + obj->attributes->attrs_size; in update_persistent_object_attributes() 563 res = TEE_WriteObjectData(hdl, obj->attributes, size); in update_persistent_object_attributes()
|
A D | pkcs11_attributes.c | 1836 rc = get_attribute(obj->attributes, PKCS11_CKA_SENSITIVE, in attribute_is_exportable() 1875 return get_bool(obj->attributes, attr->id); in attr_is_modifiable_secret_key() 1879 return !get_bool(obj->attributes, attr->id); in attr_is_modifiable_secret_key() 1933 return get_bool(obj->attributes, attr->id); in attr_is_modifiable_private_key() 1937 return !get_bool(obj->attributes, attr->id); in attr_is_modifiable_private_key() 1955 rc = get_attribute(obj->attributes, PKCS11_CKA_TRUSTED, in attr_is_modifiable_certificate() 1977 switch (get_certificate_type(obj->attributes)) { in attr_is_modifiable_certificate() 2023 return get_bool(obj->attributes, req_attr->id); in attribute_is_modifiable() 2067 class = get_class(obj->attributes); in check_attrs_against_modification() 2084 if (get_attribute_ptr(obj->attributes, cli_ref.id, NULL, in check_attrs_against_modification() [all …]
|
A D | sub.mk | 1 srcs-y += attributes.c
|
A D | processing_asymm.c | 150 enum pkcs11_class_id class = get_class(obj->attributes); in pkcs2tee_key_type() 151 enum pkcs11_key_type type = get_key_type(obj->attributes); in pkcs2tee_key_type() 251 enum pkcs11_class_id __maybe_unused class = get_class(obj->attributes); in load_tee_key() 252 enum pkcs11_key_type type = get_key_type(obj->attributes); in load_tee_key()
|
A D | pkcs11_helpers.c | 560 if (get_attribute_ptr(obj->attributes, PKCS11_CKA_EC_PARAMS, in pkcs2tee_load_attr() 575 if (get_attribute_ptr(obj->attributes, PKCS11_CKA_EC_POINT, in pkcs2tee_load_attr() 636 if (get_attribute_ptr(obj->attributes, pkcs11_id, &a_ptr, &a_size)) in pkcs2tee_load_attr() 661 rc = get_attribute_ptr(obj->attributes, pkcs11_id, &a_ptr, &a_size); in pkcs2tee_load_hashed_attr()
|
A D | processing_rsa.c | 359 assert(get_key_type(obj->attributes) == PKCS11_CKK_RSA); in load_tee_rsa_key_attrs() 361 switch (get_class(obj->attributes)) { in load_tee_rsa_key_attrs() 406 rc = get_attribute_ptr(obj->attributes, PKCS11_CKA_PRIME_1, in load_tee_rsa_key_attrs()
|
A D | processing_ec.c | 330 assert(get_key_type(obj->attributes) == PKCS11_CKK_EC); in load_tee_ec_key_attrs() 332 switch (get_class(obj->attributes)) { in load_tee_ec_key_attrs()
|
/optee_os/out/arm/ta/pkcs11/src/ |
A D | .attributes.o.cmd | 1 …attributes.o := /usr/bin/ccache /home/test/workspace/code/optee_3.16/build/../toolchains/aarch32/b…
|
A D | .attributes.o.d | 1 out/arm/ta/pkcs11/src/attributes.o: ta/pkcs11/src/attributes.c \ 28 out/arm/export-ta_arm32/include/util.h ta/pkcs11/src/attributes.h \
|
/optee_os/lib/libmbedtls/mbedtls/library/ |
A D | pk.c | 157 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in mbedtls_pk_setup_opaque() local 164 if( PSA_SUCCESS != psa_get_key_attributes( key, &attributes ) ) in mbedtls_pk_setup_opaque() 166 type = psa_get_key_type( &attributes ); in mbedtls_pk_setup_opaque() 167 psa_reset_key_attributes( &attributes ); in mbedtls_pk_setup_opaque() 607 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in mbedtls_pk_wrap_as_opaque() 625 psa_set_key_type( &attributes, key_type ); in mbedtls_pk_wrap_as_opaque() 626 psa_set_key_bits( &attributes, bits ); in mbedtls_pk_wrap_as_opaque() 627 psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_SIGN_HASH ); in mbedtls_pk_wrap_as_opaque() 628 psa_set_key_algorithm( &attributes, PSA_ALG_ECDSA(hash_alg) ); in mbedtls_pk_wrap_as_opaque() 631 if( PSA_SUCCESS != psa_import_key( &attributes, d, d_len, key ) ) in mbedtls_pk_wrap_as_opaque()
|
A D | pk_wrap.c | 545 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in ecdsa_verify_wrap() local 574 psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_VERIFY_HASH ); in ecdsa_verify_wrap() 575 psa_set_key_algorithm( &attributes, psa_sig_md ); in ecdsa_verify_wrap() 577 status = psa_import_key( &attributes, in ecdsa_verify_wrap() 890 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in pk_opaque_get_bitlen() local 892 if( PSA_SUCCESS != psa_get_key_attributes( *key, &attributes ) ) in pk_opaque_get_bitlen() 895 bits = psa_get_key_bits( &attributes ); in pk_opaque_get_bitlen() 896 psa_reset_key_attributes( &attributes ); in pk_opaque_get_bitlen() 1012 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in pk_opaque_sign_wrap() 1025 status = psa_get_key_attributes( *key, &attributes ); in pk_opaque_sign_wrap() [all …]
|
A D | pkwrite.c | 266 psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; in mbedtls_pk_write_pubkey_der() local 273 if( PSA_SUCCESS != psa_get_key_attributes( key_id, &attributes ) ) in mbedtls_pk_write_pubkey_der() 275 key_type = psa_get_key_type( &attributes ); in mbedtls_pk_write_pubkey_der() 276 bits = psa_get_key_bits( &attributes ); in mbedtls_pk_write_pubkey_der() 277 psa_reset_key_attributes( &attributes ); in mbedtls_pk_write_pubkey_der()
|
/optee_os/core/drivers/scmi-msg/ |
A D | common.h | 46 uint32_t attributes; member 57 uint32_t attributes; member
|
A D | voltage_domain.h | 33 uint32_t attributes; member 44 uint32_t attributes; member
|
A D | clock.h | 44 uint32_t attributes; member 104 uint32_t attributes; member
|
A D | clock.c | 91 .attributes = SCMI_CLOCK_PROTOCOL_ATTRIBUTES(1, clk_count), in report_attributes() 108 .attributes = 0, in report_message_attributes() 154 return_values.attributes = plat_scmi_clock_get_state(msg->channel_id, in scmi_clock_attributes() 236 enable = in_args->attributes & SCMI_CLOCK_CONFIG_SET_ENABLE_MASK; in scmi_clock_config_set()
|
A D | base.c | 40 .attributes = SCMI_BASE_PROTOCOL_ATTRIBUTES(protocol_count, 0), in report_attributes() 57 .attributes = 0, in report_message_attributes()
|
A D | reset_domain.c | 62 .attributes = plat_scmi_rd_count(msg->channel_id), in report_attributes() 79 .attributes = 0, in report_message_attributes()
|
A D | reset_domain.h | 47 uint32_t attributes; member
|
/optee_os/out/arm/ta/pkcs11/ |
A D | fd02c9da-306c-48c7-a49c-bbd827ae86ee.map | 4207 .ARM.attributes 4209 .ARM.attributes 4211 .ARM.attributes 4213 .ARM.attributes 4215 .ARM.attributes 4217 .ARM.attributes 4219 .ARM.attributes 4221 .ARM.attributes 4223 .ARM.attributes 4225 .ARM.attributes [all …]
|
/optee_os/core/arch/arm/plat-totalcompute/fdts/ |
A D | optee_sp_manifest.dts | 33 attributes = <0x3>; /* read-write */
|