Home
last modified time | relevance | path

Searched refs:id (Results 1 – 25 of 82) sorted by relevance

1234

/trusted-firmware-m-3.5.0/platform/ext/common/template/
Dotp_flash.c26 static enum tfm_plat_err_t write_to_output(enum tfm_otp_element_id_t id, in write_to_output() argument
34 err = tfm_plat_otp_get_size(id, &value_size); in write_to_output()
49 enum tfm_plat_err_t tfm_plat_otp_read(enum tfm_otp_element_id_t id, in tfm_plat_otp_read() argument
52 switch (id) { in tfm_plat_otp_read()
54 … return write_to_output(id, offsetof(struct flash_otp_nv_counters_region_t, huk), out_len, out); in tfm_plat_otp_read()
56 … return write_to_output(id, offsetof(struct flash_otp_nv_counters_region_t, iak), out_len, out); in tfm_plat_otp_read()
58 …return write_to_output(id, offsetof(struct flash_otp_nv_counters_region_t, iak_len), out_len, out); in tfm_plat_otp_read()
60 …return write_to_output(id, offsetof(struct flash_otp_nv_counters_region_t, iak_type), out_len, out… in tfm_plat_otp_read()
62 … return write_to_output(id, offsetof(struct flash_otp_nv_counters_region_t, iak_id), out_len, out); in tfm_plat_otp_read()
65 …return write_to_output(id, offsetof(struct flash_otp_nv_counters_region_t, boot_seed), out_len, ou… in tfm_plat_otp_read()
[all …]
Dtfm_rotpk.c13 static enum tfm_plat_err_t get_rotpk_hash(enum tfm_otp_element_id_t id, in get_rotpk_hash() argument
20 err = tfm_plat_otp_read(id, *rotpk_hash_size, rotpk_hash); in get_rotpk_hash()
25 err = tfm_plat_otp_get_size(id, &otp_size); in get_rotpk_hash()
Dnv_counters.c53 static enum tfm_plat_err_t read_nv_counter_otp(enum tfm_otp_element_id_t id, in read_nv_counter_otp() argument
63 err = tfm_plat_otp_get_size(id, &counter_size); in read_nv_counter_otp()
70 err = tfm_plat_otp_read(id, counter_size, counter_value); in read_nv_counter_otp()
162 static enum tfm_plat_err_t set_nv_counter_otp(enum tfm_otp_element_id_t id, in set_nv_counter_otp() argument
170 err = tfm_plat_otp_get_size(id, &counter_size); in set_nv_counter_otp()
187 err = tfm_plat_otp_write(id, counter_size, counter_value); in set_nv_counter_otp()
/trusted-firmware-m-3.5.0/platform/ext/target/cypress/psoc64/libs/core-lib/docs/html/
Ddynsections.js54 var l = this.id.split('_').length-1;
55 var i = $('#img'+this.id.substring(3));
56 var a = $('#arr'+this.id.substring(3));
72 function toggleFolder(id) argument
75 var currentRow = $('#row_'+id);
80 var re = new RegExp('^row_'+id+'\\d+_$', "i"); //only one sub
83 var childRows = rows.filter(function() { return this.id.match(re); });
91 rows.filter("[id^=row_"+id+"]").hide(); // hide all children
107 function toggleInherit(id) argument
109 var rows = $('tr.inherit.'+id);
[all …]
/trusted-firmware-m-3.5.0/secure_fw/partitions/crypto/
Dcrypto_init.c49 static void tfm_crypto_set_caller_id(int32_t id) in tfm_crypto_set_caller_id() argument
51 g_client_id = id; in tfm_crypto_set_caller_id()
54 psa_status_t tfm_crypto_get_caller_id(int32_t *id) in tfm_crypto_get_caller_id() argument
56 *id = g_client_id; in tfm_crypto_get_caller_id()
101 static psa_status_t tfm_crypto_set_scratch_owner(int32_t id) in tfm_crypto_set_scratch_owner() argument
103 scratch.owner = id; in tfm_crypto_set_scratch_owner()
107 static psa_status_t tfm_crypto_get_scratch_owner(int32_t *id) in tfm_crypto_get_scratch_owner() argument
109 *id = scratch.owner; in tfm_crypto_get_scratch_owner()
138 static void tfm_crypto_set_caller_id(int32_t id) in tfm_crypto_set_caller_id() argument
141 (void)tfm_crypto_set_scratch_owner(id); in tfm_crypto_set_caller_id()
[all …]
Dcrypto_library.c126 core->MBEDTLS_PRIVATE(id) = mbedtls_svc_key_id_make(client_id, client_key_attr->id); in tfm_crypto_core_library_key_attributes_from_client()
151 client_key_attr->id = MBEDTLS_SVC_KEY_ID_GET_KEY_ID(core.MBEDTLS_PRIVATE(id)); in tfm_crypto_core_library_key_attributes_to_client()
/trusted-firmware-m-3.5.0/platform/ext/target/arm/rss/common/
Dnv_counters.c33 static enum tfm_plat_err_t read_nv_counter_otp(enum tfm_otp_element_id_t id, in read_nv_counter_otp() argument
42 err = tfm_plat_otp_get_size(id, &counter_size); in read_nv_counter_otp()
50 err = tfm_plat_otp_read(id, counter_size, (uint8_t *)counter_value); in read_nv_counter_otp()
103 static enum tfm_plat_err_t set_nv_counter_otp(enum tfm_otp_element_id_t id, in set_nv_counter_otp() argument
111 err = tfm_plat_otp_get_size(id, &counter_size); in set_nv_counter_otp()
127 err = tfm_plat_otp_write(id, sizeof(counter_value), in set_nv_counter_otp()
/trusted-firmware-m-3.5.0/platform/ext/target/cypress/psoc64/libs/core-lib/docs/html/search/
Dsearch.js239 this.SelectItemCount = function(id) argument
254 this.SelectItemSet = function(id) argument
264 if (j==id)
279 this.OnSelectItem = function(id) argument
281 this.searchIndex = id;
282 this.SelectItemSet(id);
435 this.FindChildElement = function(id) argument
437 var parentElement = document.getElementById(id);
471 this.Toggle = function(id) argument
473 var element = this.FindChildElement(id);
[all …]
/trusted-firmware-m-3.5.0/platform/include/
Dtfm_plat_otp.h119 enum tfm_plat_err_t tfm_plat_otp_read(enum tfm_otp_element_id_t id,
149 enum tfm_plat_err_t tfm_plat_otp_write(enum tfm_otp_element_id_t id,
162 enum tfm_plat_err_t tfm_plat_otp_get_size(enum tfm_otp_element_id_t id,
/trusted-firmware-m-3.5.0/secure_fw/partitions/initial_attestation/
DKconfig.comp18 bool "Include COSE key-id"
21 COSE key-id is an optional field in the COSE unprotected header.
22 Key-id is calculated and added to the COSE header based on the value of this option.
/trusted-firmware-m-3.5.0/lib/ext/mbedcrypto/
D0005-CC3XX-Manually-enforce-no-software-builtin-fallback-.patch171 switch( operation->id )
186 switch( operation->id )
204 switch( operation->id )
220 switch( operation->id )
265 target_operation->id = PSA_CRYPTO_MBED_TLS_DRIVER_ID;
357 operation->id = PSA_CRYPTO_MBED_TLS_DRIVER_ID;
375 operation->id = PSA_CRYPTO_MBED_TLS_DRIVER_ID;
388 switch( operation->id )
404 switch( operation->id )
420 switch( operation->id )
[all …]
D0003-Driver-wrapper-entry-points-for-CC3XX.patch119 /* END-driver id */
367 + operation->id = PSA_CRYPTO_CC3XX_DRIVER_ID;
384 + operation->id = PSA_CRYPTO_CC3XX_DRIVER_ID;
484 + operation->id = PSA_CRYPTO_CC3XX_DRIVER_ID;
494 operation->id = PSA_CRYPTO_MBED_TLS_DRIVER_ID;
505 switch( source_operation->id )
509 - target_operation->id = PSA_CRYPTO_MBED_TLS_DRIVER_ID;
516 target_operation->id = MBEDTLS_TEST_TRANSPARENT_DRIVER_ID;
524 + target_operation->id = PSA_CRYPTO_CC3XX_DRIVER_ID;
533 + target_operation->id = PSA_CRYPTO_MBED_TLS_DRIVER_ID;
[all …]
/trusted-firmware-m-3.5.0/lib/ext/cryptocell-312-runtime/codesafe/src/mbedtls_api/
Decp_common.c153 int ecp_grp_id_to_domain_id (const mbedtls_ecp_group_id id, CCEcpkiDomainID_t *domain_id) in ecp_grp_id_to_domain_id() argument
155 switch (id) in ecp_grp_id_to_domain_id()
183 CC_PAL_LOG_ERR("Error - ecp_grp_id_to_domain_id, group id %d is not supported\n", id); in ecp_grp_id_to_domain_id()
/trusted-firmware-m-3.5.0/interface/include/psa/
Dcrypto_struct.h142 attributes->client.id = (psa_key_id_t)key; in psa_set_key_id()
156 return (mbedtls_svc_key_id_t)attributes->client.id; in psa_get_key_id()
165 attributes->client.id = 0; in psa_set_key_lifetime()
/trusted-firmware-m-3.5.0/lib/ext/cryptocell-312-runtime/utils/src/cc3x_boot_cert/examples/key_cert/
Dsb_key_cert.cfg13 # hbk-id = The ID of the OTP memory HBK field for verification of the public key: 0 =…
14 # hbk-id is required if this is the:
25 hbk-id = 2
Dsb_key_cert_hbk0.cfg13 # hbk-id = The ID of the OTP memory HBK field for verification of the public key: 0 =…
14 # hbk-id is required if this is the:
25 hbk-id = 0
Dsb_key_cert_hbk1.cfg13 # hbk-id = The ID of the OTP memory HBK field for verification of the public key: 0 =…
14 # hbk-id is required if this is the:
25 hbk-id = 1
/trusted-firmware-m-3.5.0/lib/ext/cryptocell-312-runtime/utils/src/cc3x_boot_cert/examples/enabler_cert/
Dsb_enabler_dbg_cert_rma.cfg20 #hbk-id = The ID of the OTP memory HBK field for verification of the public key: 0 =…
21 … if debug-mask is defined, either hbk-id or key-cert-pkg must be defined. hbk-id
41 hbk-id = 2
Dx509_sb_enabler_dbg_cert_rma.cfg20 #hbk-id = The ID of the OTP memory HBK field for verification of the public key: 0 =…
21 … if debug-mask is defined, either hbk-id or key-cert-pkg must be defined. hbk-id
41 hbk-id = 2
Dsb_enabler_dbg_cert.cfg20 #hbk-id = The ID of the OTP memory HBK field for verification of the public key: 0 =…
21 … if debug-mask is defined, either hbk-id or key-cert-pkg must be defined. hbk-id
43 hbk-id = 2
Dsb_enabler_dbg_cert_no_pwd.cfg20 #hbk-id = The ID of the OTP memory HBK field for verification of the public key: 0 =…
21 … if debug-mask is defined, either hbk-id or key-cert-pkg must be defined. hbk-id
42 hbk-id = 2
Dsb_enabler_dbg_cert_rma_no_pwd.cfg20 #hbk-id = The ID of the OTP memory HBK field for verification of the public key: 0 =…
21 … if debug-mask is defined, either hbk-id or key-cert-pkg must be defined. hbk-id
42 hbk-id = 2
Dx509_sb_enabler_dbg_cert.cfg20 #hbk-id = The ID of the OTP memory HBK field for verification of the public key: 0 =…
21 … if debug-mask is defined, either hbk-id or key-cert-pkg must be defined. hbk-id
43 hbk-id = 2
/trusted-firmware-m-3.5.0/lib/ext/cryptocell-312-runtime/utils/src/cc3x_asset_prov_rt/examples/
Dasset_prov_se_512.cfg13 #asset-id = The ICV asset ID in 32 bits hex format (e.g. 0x7000000f).
19 asset-id = 0x00112233
/trusted-firmware-m-3.5.0/lib/ext/cryptocell-312-runtime/host/src/tests/integration_cc3x/runtime_integration_test/tests/
Drun_integration_ecdsa.c68 …mbedtls_ecp_group_id id = RUNIT_ECDSA_TEST_R521 ? MBEDTLS_ECP_DP_SECP521R1 : MBEDTLS_ECP_DP_SECP25… in runIt_ecdsaPrimRandomTest() local
94 RUNIT_ASSERT(mbedtls_ecp_group_load(pGrp, id) == 0); in runIt_ecdsaPrimRandomTest()
111 … RUNIT_SUB_TEST_RESULT_W_PARAMS(TEST_NAME, "ID[%s]", mbedtls_ecp_curve_info_from_grp_id(id)->name); in runIt_ecdsaPrimRandomTest()
266 mbedtls_ecp_group_id id = MBEDTLS_ECP_DP_SECP521R1; in runIt_ecdsaDetVectorsTest() local
273 mbedtls_ecp_group_id id = ECP_GROUP_ID; in runIt_ecdsaDetVectorsTest() local
322 RUNIT_ASSERT(mbedtls_ecp_group_load(pGrp, id) == 0); in runIt_ecdsaDetVectorsTest()
369 …T_W_PARAMS(TEST_NAME, "ID[%s] MD[%s]", (mbedtls_ecp_curve_info_from_grp_id(id)->name), mbedtls_md_… in runIt_ecdsaDetVectorsTest()

1234