Home
last modified time | relevance | path

Searched refs:core (Results 1 – 25 of 56) sorted by relevance

123

/openthread-3.5.0/third_party/mbedtls/repo/include/psa/
Dcrypto_struct.h324 psa_core_key_attributes_t core; member
347 psa_key_lifetime_t lifetime = attributes->core.lifetime; in psa_set_key_id()
349 attributes->core.id = key; in psa_set_key_id()
353 attributes->core.lifetime = in psa_set_key_id()
363 return( attributes->core.id ); in psa_get_key_id()
370 attributes->core.id.owner = owner; in mbedtls_set_key_owner_id()
377 attributes->core.lifetime = lifetime; in psa_set_key_lifetime()
381 attributes->core.id.key_id = 0; in psa_set_key_lifetime()
383 attributes->core.id = 0; in psa_set_key_lifetime()
391 return( attributes->core.lifetime ); in psa_get_key_lifetime()
[all …]
Dcrypto_extra.h75 attributes->core.policy.alg2 = alg2; in psa_set_key_enrollment_algorithm()
87 return( attributes->core.policy.alg2 ); in psa_get_key_enrollment_algorithm()
145 attributes->core.flags |= MBEDTLS_PSA_KA_FLAG_HAS_SLOT_NUMBER; in psa_set_key_slot_number()
158 attributes->core.flags &= ~MBEDTLS_PSA_KA_FLAG_HAS_SLOT_NUMBER; in psa_clear_key_slot_number()
/openthread-3.5.0/tests/toranj/
Dbuild.sh112 -DOT_PROJECT_CONFIG=../tests/toranj/openthread-core-toranj-config-simulation.h \
125 -DOT_PROJECT_CONFIG=../tests/toranj/openthread-core-toranj-config-simulation.h \
139 -DOT_PROJECT_CONFIG=../tests/toranj/openthread-core-toranj-config-simulation.h \
153 -DOT_PROJECT_CONFIG=../tests/toranj/openthread-core-toranj-config-simulation.h \
166 -DOT_PROJECT_CONFIG=../tests/toranj/openthread-core-toranj-config-simulation.h \
179 -DOT_PROJECT_CONFIG=../tests/toranj/openthread-core-toranj-config-simulation.h \
193 -DOT_PROJECT_CONFIG=../tests/toranj/openthread-core-toranj-config-simulation.h \
207 -DOT_PROJECT_CONFIG=../tests/toranj/openthread-core-toranj-config-simulation.h \
220 -DOT_PROJECT_CONFIG=../tests/toranj/openthread-core-toranj-config-simulation.h \
232 -DOT_PROJECT_CONFIG=../tests/toranj/openthread-core-toranj-config-posix.h \
[all …]
/openthread-3.5.0/third_party/mbedtls/repo/library/
Dpsa_crypto_ecp.c177 status = mbedtls_psa_ecp_load_representation( attributes->core.type, in mbedtls_psa_ecp_import_key()
178 attributes->core.bits, in mbedtls_psa_ecp_import_key()
185 if( PSA_KEY_TYPE_ECC_GET_FAMILY( attributes->core.type ) == in mbedtls_psa_ecp_import_key()
194 status = mbedtls_psa_ecp_export_key( attributes->core.type, in mbedtls_psa_ecp_import_key()
267 attributes->core.type, attributes->core.bits, in mbedtls_psa_ecp_export_public_key()
274 PSA_KEY_TYPE_ECC_GET_FAMILY( attributes->core.type ) ), in mbedtls_psa_ecp_export_public_key()
294 attributes->core.type ); in mbedtls_psa_ecp_generate_key()
296 mbedtls_ecc_group_of_psa( curve, attributes->core.bits, 0 ); in mbedtls_psa_ecp_generate_key()
348 status = mbedtls_psa_ecp_load_representation( attributes->core.type, in mbedtls_psa_ecdsa_sign_hash()
349 attributes->core.bits, in mbedtls_psa_ecdsa_sign_hash()
[all …]
Dpsa_crypto_driver_wrappers.c121 PSA_KEY_LIFETIME_GET_LOCATION( attributes->core.lifetime ); in psa_driver_wrapper_sign_message()
195 PSA_KEY_LIFETIME_GET_LOCATION( attributes->core.lifetime ); in psa_driver_wrapper_verify_message()
265 if( psa_get_se_driver( attributes->core.lifetime, &drv, &drv_context ) ) in psa_driver_wrapper_sign_hash()
282 PSA_KEY_LIFETIME_GET_LOCATION( attributes->core.lifetime ); in psa_driver_wrapper_sign_hash()
349 if( psa_get_se_driver( attributes->core.lifetime, &drv, &drv_context ) ) in psa_driver_wrapper_verify_hash()
366 PSA_KEY_LIFETIME_GET_LOCATION( attributes->core.lifetime ); in psa_driver_wrapper_verify_hash()
439 psa_key_location_t location = PSA_KEY_LIFETIME_GET_LOCATION( attributes->core.lifetime ); in psa_driver_wrapper_get_key_buffer_size()
440 psa_key_type_t key_type = attributes->core.type; in psa_driver_wrapper_get_key_buffer_size()
441 size_t key_bits = attributes->core.bits; in psa_driver_wrapper_get_key_buffer_size()
476 PSA_KEY_LIFETIME_GET_LOCATION(attributes->core.lifetime); in psa_driver_wrapper_generate_key()
[all …]
Dpsa_crypto_rsa.c142 status = mbedtls_psa_rsa_load_representation( attributes->core.type, in mbedtls_psa_rsa_import_key()
155 status = mbedtls_psa_rsa_export_key( attributes->core.type, in mbedtls_psa_rsa_import_key()
233 attributes->core.type, key_buffer, key_buffer_size, &rsa ); in mbedtls_psa_rsa_export_public_key()
298 (unsigned int)attributes->core.bits, in mbedtls_psa_rsa_generate_key()
303 status = mbedtls_psa_rsa_export_key( attributes->core.type, in mbedtls_psa_rsa_generate_key()
361 status = mbedtls_psa_rsa_load_representation( attributes->core.type, in mbedtls_psa_rsa_sign_hash()
457 status = mbedtls_psa_rsa_load_representation( attributes->core.type, in mbedtls_psa_rsa_verify_hash()
Dpsa_crypto_aead.c88 key_bits = attributes->core.bits; in psa_aead_setup()
91 attributes->core.type, key_bits, in psa_aead_setup()
105 if( PSA_BLOCK_CIPHER_BLOCK_LENGTH( attributes->core.type ) != 16 ) in psa_aead_setup()
124 if( PSA_BLOCK_CIPHER_BLOCK_LENGTH( attributes->core.type ) != 16 ) in psa_aead_setup()
159 if( PSA_AEAD_TAG_LENGTH( attributes->core.type, in psa_aead_setup()
164 operation->tag_length = PSA_AEAD_TAG_LENGTH( attributes->core.type, in psa_aead_setup()
Dpsa_crypto.c623 psa_key_type_t type = attributes->core.type; in psa_import_key_into_slot()
1265 attributes->core = slot->attr; in psa_get_key_attributes()
1266 attributes->core.flags &= ( MBEDTLS_PSA_KA_MASK_EXTERNAL_ONLY | in psa_get_key_attributes()
1323 if( attributes->core.flags & MBEDTLS_PSA_KA_FLAG_HAS_SLOT_NUMBER ) in psa_get_key_slot_number()
1353 psa_key_type_t type = attributes->core.type; in psa_export_key_internal()
1403 .core = slot->attr in psa_export_key()
1422 psa_key_type_t type = attributes->core.type; in psa_export_public_key_internal()
1509 .core = slot->attr in psa_export_public_key()
1592 status = psa_validate_key_policy( &attributes->core.policy ); in psa_validate_key_attributes()
1604 if( attributes->core.flags & ~ ( MBEDTLS_PSA_KA_MASK_EXTERNAL_ONLY | in psa_validate_key_attributes()
[all …]
Dpsa_crypto_client.c65 attributes->core.type = type; in psa_set_key_domain_parameters()
/openthread-3.5.0/third_party/mbedtls/repo/docs/proposed/
Dpsa-driver-interface.md14 …tation of the PSA Cryptography API is composed of a **core** and zero or more **drivers**. The cor…
16 Functions in the PSA Cryptography API invoke functions in the core. Code from the core calls driver…
31 [Req.compile] It is possible to compile the code of each driver and of the core separately, and lin…
35 [Req.portable] The interface between drivers and the core does not involve any platform-specific co…
39 …and that a fallback to core code may be necessary. Conversely, if an accelerator fully supports cr…
55 …ns may allow drivers to be provided as source files and compiled with the core instead of being pr…
65 PSA Cryptography core implementations should support multiple drivers. The driver description files…
73 …directory on the compiler's include path when compiling glue code between the core and the drivers.
88 …ly. An entry point is a function defined by the driver. If specified, the core will invoke this ca…
89 … specified, the core will invoke this capability of the driver only when performing one of the spe…
[all …]
/openthread-3.5.0/
DBUILD.gn70 deps = [ "src/core:libopenthread-ftd" ]
75 deps = [ "src/core:libopenthread-mtd" ]
80 deps = [ "src/core:libopenthread-radio" ]
104 group("lib-ot-core") {
107 "src/core:libopenthread-ftd",
DCONTRIBUTING.md138 ##### Analyze core dumps in failed checks
140core dumps for crashed programs are uploaded as artifacts in a failed check. Besides core dumps, b…
151 |-- ot-core-dump
162 2. Run `gdb build/cmake/openthread-simulation-1.2/examples/apps/cli/ot-cli-ftd ./ot-core-dump/coref…
/openthread-3.5.0/script/
Dcheck-gn-build44 test -f gn-out/obj/src/core/libopenthread-ftd.a
53 test -f gn-out/obj/src/core/libopenthread-ftd.a
/openthread-3.5.0/third_party/mbedtls/repo/docs/architecture/
Dpsa-crypto-implementation-structure.md11core and PSA drivers as defined in the PSA driver interface. The key point is that software crypto…
15 …tations through the same C interface reduces the core code size and its call graph complexity. The…
20 ## The Mbed TLS PSA Cryptography API implementation core
22core implements all the APIs as defined in the PSA Cryptography API specification but does not pe…
23 perform the cryptographic operations. The core is responsible for:
60 Key creation implementation in Mbed TLS PSA core is articulated around three internal functions: ps…
/openthread-3.5.0/third_party/mbedtls/repo/tests/suites/
Dtest_suite_psa_crypto_se_driver_hal_mocks.function368 mock_import_data.attributes.core.id, id ) );
373 mock_import_data.attributes.core.id ) == 0 );
375 mock_import_data.attributes.core.id ) == 0 );
378 TEST_ASSERT( mock_import_data.attributes.core.lifetime ==
380 TEST_ASSERT( mock_import_data.attributes.core.policy.usage ==
382 TEST_ASSERT( mock_import_data.attributes.core.type ==
487 mock_generate_data.attributes.core.id, id ) );
492 mock_generate_data.attributes.core.id ) == 0 );
494 mock_generate_data.attributes.core.id ) == 0 );
497 TEST_ASSERT( mock_generate_data.attributes.core.lifetime ==
[all …]
/openthread-3.5.0/src/posix/platform/
DCMakeLists.txt39 # We have to add this definition to `ot-config` because openthread core
40 # libraries will set config file to "openthrad-core-posix-config.h" which
42 # PLATFORM_NETIF and PLATFORM_UDP features. Otherwise, openthread core and
95 set(OT_PLATFORM_CONFIG "openthread-core-posix-config.h" PARENT_SCOPE)
175 ${PROJECT_SOURCE_DIR}/src/core
191 ${PROJECT_SOURCE_DIR}/src/core
/openthread-3.5.0/tools/ot-fct/
DCMakeLists.txt36 ${OPENTHREAD_DIR}/src/core
44 ${OPENTHREAD_DIR}/src/core/common/string.cpp
45 ${OPENTHREAD_DIR}/src/core/utils/parse_cmdline.cpp
/openthread-3.5.0/src/posix/
DREADME.md3 OpenThread supports running its core on POSIX and transmits radio frames through a radio transceive…
42 …). You can also perform radio diagnostics using the command [diag](../../src/core/diags/README.md).
125 …Disable the Mass Storage feature on the device, so that it does not interfere with the core RCP fu…
144 OpenThread Posix Daemon mode uses a unix socket as input and output, so that OpenThread core can ru…
147 # build daemon mode core stack for POSIX
/openthread-3.5.0/etc/docker/android-trusty/
DDockerfile59 RUN ln -s build/core/main.mk Makefile
76 RUN mkdir -p system/core/include/arch/linux-arm \
77 && touch system/core/include/arch/linux-arm/AndroidConfig.h \
78 && mkdir -p system/core/include/arch/linux-x86 \
79 && touch system/core/include/arch/linux-x86/AndroidConfig.h \
/openthread-3.5.0/src/ncp/
DBUILD.gn54 "../core:libopenthread-ftd",
64 "../core:libopenthread-mtd",
74 "../core:libopenthread-radio",
/openthread-3.5.0/third_party/mbedtls/repo/tests/src/drivers/
Dtest_driver_signature.c69 if( attributes->core.type == PSA_KEY_TYPE_RSA_KEY_PAIR ) in sign_hash()
96 else if( PSA_KEY_TYPE_IS_ECC( attributes->core.type ) ) in sign_hash()
145 if( PSA_KEY_TYPE_IS_RSA( attributes->core.type ) ) in verify_hash()
172 else if( PSA_KEY_TYPE_IS_ECC( attributes->core.type ) ) in verify_hash()
/openthread-3.5.0/src/lib/spinel/
DBUILD.gn72 "../../core:libopenthread_core_headers",
82 "../../core:libopenthread_core_headers",
/openthread-3.5.0/src/cli/
DBUILD.gn75 public_deps = [ "../core:libopenthread-ftd" ]
82 public_deps = [ "../core:libopenthread-mtd" ]
/openthread-3.5.0/examples/platforms/simulation/
DCMakeLists.txt49 set(OT_PLATFORM_CONFIG "openthread-core-simulation-config.h" PARENT_SCOPE)
100 ${PROJECT_SOURCE_DIR}/src/core
/openthread-3.5.0/src/
DCMakeLists.txt30 add_subdirectory(core)

123