/trusted-firmware-m-3.4.0/platform/ext/cmsis/ |
D | cmsis_iccarm.h | 588 uint32_t res; in __get_APSR() local 589 __asm("MRS %0,APSR" : "=r" (res)); in __get_APSR() 590 return res; in __get_APSR() 658 uint32_t res; in __get_MSPLIM() local 662 res = 0U; in __get_MSPLIM() 664 __asm volatile("MRS %0,MSPLIM" : "=r" (res)); in __get_MSPLIM() 666 return res; in __get_MSPLIM() 682 uint32_t res; in __get_PSPLIM() local 686 res = 0U; in __get_PSPLIM() 688 __asm volatile("MRS %0,PSPLIM" : "=r" (res)); in __get_PSPLIM() [all …]
|
/trusted-firmware-m-3.4.0/platform/ext/accelerator/cc312/cc312-rom/ |
D | cc3xx_hash.c | 173 cc3xx_err_t cc3xx_hash_sha256_finish(uint8_t *res, size_t length) { in cc3xx_hash_sha256_finish() argument 199 ((uint32_t*)res)[0] = bswap_32(*CC3XX_REG_HASH_HASH_H0); in cc3xx_hash_sha256_finish() 200 ((uint32_t*)res)[1] = bswap_32(*CC3XX_REG_HASH_HASH_H1); in cc3xx_hash_sha256_finish() 201 ((uint32_t*)res)[2] = bswap_32(*CC3XX_REG_HASH_HASH_H2); in cc3xx_hash_sha256_finish() 202 ((uint32_t*)res)[3] = bswap_32(*CC3XX_REG_HASH_HASH_H3); in cc3xx_hash_sha256_finish() 203 ((uint32_t*)res)[4] = bswap_32(*CC3XX_REG_HASH_HASH_H4); in cc3xx_hash_sha256_finish() 204 ((uint32_t*)res)[5] = bswap_32(*CC3XX_REG_HASH_HASH_H5); in cc3xx_hash_sha256_finish() 205 ((uint32_t*)res)[6] = bswap_32(*CC3XX_REG_HASH_HASH_H6); in cc3xx_hash_sha256_finish() 206 ((uint32_t*)res)[7] = bswap_32(*CC3XX_REG_HASH_HASH_H7); in cc3xx_hash_sha256_finish()
|
D | cc3xx_hash.h | 24 cc3xx_err_t cc3xx_hash_sha256_finish(uint8_t *res, size_t length);
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/mbedtls_api/ |
D | platform_alt.c | 43 void *res; in tests_CC_libInit() local 68 rc = pthread_join(threadId, (void**)&res); in tests_CC_libInit() 70 if (rc != 0 || res == NULL) { in tests_CC_libInit() 74 rc = *((int *)*&res); in tests_CC_libInit() 79 free(res); in tests_CC_libInit()
|
/trusted-firmware-m-3.4.0/secure_fw/partitions/initial_attestation/ |
D | attest_core.c | 64 enum psa_attest_err_t res; in attest_init() local 66 res = attest_boot_data_init(); in attest_init() 68 return error_mapping_to_psa_status_t(res); in attest_init() 248 int32_t res; in attest_add_security_lifecycle_claim() local 261 res = get_uint(claim_value.ptr, claim_value.len, &slc_value); in attest_add_security_lifecycle_claim() 262 if (res) { in attest_add_security_lifecycle_claim() 361 enum tfm_plat_err_t res; in attest_add_boot_seed_claim() local 376 res = tfm_plat_get_boot_seed(sizeof(boot_seed), boot_seed); in attest_add_boot_seed_claim() 377 if (res != TFM_PLAT_ERR_SUCCESS) { in attest_add_boot_seed_claim() 401 enum psa_attest_err_t res; in attest_add_caller_id_claim() local [all …]
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/host/src/tests/common/ |
D | tst_common.c | 117 void *res; in tests_CC_libInit() local 136 rc = pthread_join(threadId, (void**)&res); in tests_CC_libInit()
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/rnd_dma/ |
D | llf_rnd.c | 80 uint64_t res=0; in Mult32x32() local 82 res = (((a>>16)*(b>>16)) + (((a>>16)*(b&0xffff))>>16) + (((b>>16)*(a&0xffff))>>16)); in Mult32x32() 83 res <<= 32; in Mult32x32() 84 …res += (uint64_t)((a&0xffff)*(b&0xffff)) + (((a>>16)*(b&0xffff))<<16) + (((b>>16)*(a&0xffff))<<16); in Mult32x32() 86 return res; in Mult32x32()
|
D | llf_rnd_trng90b.c | 526 uint32_t res = 0; in getBitsFromUint32Array() local 532 res = arr[byteOffset] >> bitOffset; in getBitsFromUint32Array() 538 res &= (0xFFFFFFFF >> (UINT32_SIZE_IN_BITS - numOfBits)); in getBitsFromUint32Array() 543 …res |= (arr[byteOffset + 1] & (0xFFFFFFFF >> (UINT32_SIZE_IN_BITS - numOfBits))) << (UINT32_SIZE_I… in getBitsFromUint32Array() 546 return res; in getBitsFromUint32Array()
|
/trusted-firmware-m-3.4.0/platform/ext/target/nxp/common/Native_Driver/drivers/ |
D | fsl_casper.h | 375 void CASPER_ECC_equal(int *res, uint32_t *op1, uint32_t *op2); 376 void CASPER_ECC_equal_to_zero(int *res, uint32_t *op1);
|
D | fsl_casper.c | 1119 void CASPER_ECC_equal(int *res, uint32_t *op1, uint32_t *op2) in CASPER_ECC_equal() argument 1137 *res = (int32_t)c; in CASPER_ECC_equal() 1140 void CASPER_ECC_equal_to_zero(int *res, uint32_t *op1) in CASPER_ECC_equal_to_zero() argument 1156 *res = (int32_t)c; in CASPER_ECC_equal_to_zero()
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/common/ |
D | pka.h | 221 #define PKA_MOD_INV_W_EXP(res,a,nm2) {\ argument 223 PKA_MOD_EXP(LEN_ID_N_BITS,(res),(a),(nm2)); \
|