Home
last modified time | relevance | path

Searched refs:res (Results 1 – 13 of 13) sorted by relevance

/trusted-firmware-m-3.6.0/platform/ext/accelerator/cc312/cc312-rom/
Dcc3xx_pka.h238 void cc3xx_pka_add(cc3xx_pka_reg_id_t r0, cc3xx_pka_reg_id_t r1, cc3xx_pka_reg_id_t res);
251 void cc3xx_pka_add_si(cc3xx_pka_reg_id_t r0, int32_t imm, cc3xx_pka_reg_id_t res);
264 void cc3xx_pka_sub(cc3xx_pka_reg_id_t r0, cc3xx_pka_reg_id_t r1, cc3xx_pka_reg_id_t res);
277 void cc3xx_pka_sub_si(cc3xx_pka_reg_id_t r0, int32_t imm, cc3xx_pka_reg_id_t res);
288 void cc3xx_pka_neg(cc3xx_pka_reg_id_t r0, cc3xx_pka_reg_id_t res);
304 void cc3xx_pka_mod_add(cc3xx_pka_reg_id_t r0, cc3xx_pka_reg_id_t r1, cc3xx_pka_reg_id_t res);
320 void cc3xx_pka_mod_add_si(cc3xx_pka_reg_id_t r0, int32_t imm, cc3xx_pka_reg_id_t res);
336 void cc3xx_pka_mod_sub(cc3xx_pka_reg_id_t r0, cc3xx_pka_reg_id_t r1, cc3xx_pka_reg_id_t res);
352 void cc3xx_pka_mod_sub_si(cc3xx_pka_reg_id_t r0, int32_t imm, cc3xx_pka_reg_id_t res);
366 void cc3xx_pka_mod_neg(cc3xx_pka_reg_id_t r0, cc3xx_pka_reg_id_t res);
[all …]
Dcc3xx_pka.c553 bool discard_result, uint32_t res) in opcode_construct() argument
571 assert(res >= 0); in opcode_construct()
572 assert(res < pka_reg_am_max); in opcode_construct()
573 assert(virt_regs[res].in_use); in opcode_construct()
575 ensure_virt_reg_is_mapped(res, PKA_MAPPING_SLOT_RES); in opcode_construct()
576 opcode |= (virt_regs[res].phys_reg & 0b11111) << 6; in opcode_construct()
698 void cc3xx_pka_add(cc3xx_pka_reg_id_t r0, cc3xx_pka_reg_id_t r1, cc3xx_pka_reg_id_t res) in cc3xx_pka_add() argument
704 false, r0, false, r1, false, res); in cc3xx_pka_add()
707 void cc3xx_pka_add_si(cc3xx_pka_reg_id_t r0, int32_t imm, cc3xx_pka_reg_id_t res) in cc3xx_pka_add_si() argument
719 false, r0, true, imm, false, res); in cc3xx_pka_add_si()
[all …]
Dcc3xx_hash.c169 void cc3xx_hash_finish(uint32_t *res, size_t length) in cc3xx_hash_finish() argument
172 assert(((uintptr_t)res & 0b11) == 0); in cc3xx_hash_finish()
197 get_hash_h(res, length); in cc3xx_hash_finish()
Dcc3xx_hash.h97 void cc3xx_hash_finish(uint32_t *res, size_t length);
/trusted-firmware-m-3.6.0/platform/ext/cmsis/
Dcmsis_iccarm.h588 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.6.0/lib/ext/cryptocell-312-runtime/codesafe/src/mbedtls_api/
Dplatform_alt.c43 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.6.0/secure_fw/partitions/initial_attestation/
Dattest_core.c65 enum psa_attest_err_t res; in attest_init() local
67 res = attest_boot_data_init(); in attest_init()
69 return error_mapping_to_psa_status_t(res); in attest_init()
299 enum tfm_plat_err_t res; in attest_add_boot_seed_claim() local
303 res = tfm_plat_get_boot_seed(sizeof(boot_seed), boot_seed); in attest_add_boot_seed_claim()
304 if (res != TFM_PLAT_ERR_SUCCESS) { in attest_add_boot_seed_claim()
327 enum psa_attest_err_t res; in attest_add_caller_id_claim() local
330 res = attest_get_caller_client_id(&caller_id); in attest_add_caller_id_claim()
331 if (res != PSA_ATTEST_ERR_SUCCESS) { in attest_add_caller_id_claim()
332 return res; in attest_add_caller_id_claim()
[all …]
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/host/src/tests/common/
Dtst_common.c117 void *res; in tests_CC_libInit() local
136 rc = pthread_join(threadId, (void**)&res); in tests_CC_libInit()
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/rnd_dma/
Dllf_rnd.c80 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()
84res += (uint64_t)((a&0xffff)*(b&0xffff)) + (((a>>16)*(b&0xffff))<<16) + (((b>>16)*(a&0xffff))<<16); in Mult32x32()
86 return res; in Mult32x32()
Dllf_rnd_trng90b.c526 uint32_t res = 0; in getBitsFromUint32Array() local
532 res = arr[byteOffset] >> bitOffset; in getBitsFromUint32Array()
538 res &= (0xFFFFFFFF >> (UINT32_SIZE_IN_BITS - numOfBits)); in getBitsFromUint32Array()
543res |= (arr[byteOffset + 1] & (0xFFFFFFFF >> (UINT32_SIZE_IN_BITS - numOfBits))) << (UINT32_SIZE_I… in getBitsFromUint32Array()
546 return res; in getBitsFromUint32Array()
/trusted-firmware-m-3.6.0/platform/ext/target/nxp/common/Native_Driver/drivers/
Dfsl_casper.h375 void CASPER_ECC_equal(int *res, uint32_t *op1, uint32_t *op2);
376 void CASPER_ECC_equal_to_zero(int *res, uint32_t *op1);
Dfsl_casper.c1127 void CASPER_ECC_equal(int *res, uint32_t *op1, uint32_t *op2) in CASPER_ECC_equal() argument
1145 *res = (int32_t)c; in CASPER_ECC_equal()
1148 void CASPER_ECC_equal_to_zero(int *res, uint32_t *op1) in CASPER_ECC_equal_to_zero() argument
1164 *res = (int32_t)c; in CASPER_ECC_equal_to_zero()
/trusted-firmware-m-3.6.0/lib/ext/cryptocell-312-runtime/codesafe/src/crypto_api/pki/common/
Dpka.h221 #define PKA_MOD_INV_W_EXP(res,a,nm2) {\ argument
223 PKA_MOD_EXP(LEN_ID_N_BITS,(res),(a),(nm2)); \