Home
last modified time | relevance | path

Searched refs:canary (Results 1 – 4 of 4) sorted by relevance

/optee_os-3.20.0/ta/arch/arm/
A Duser_ta_header.c56 uintptr_t canary = 0; in _C_FUNCTION() local
58 res = _utee_cryp_random_number_generate(&canary, in _C_FUNCTION()
59 sizeof(canary)); in _C_FUNCTION()
64 canary &= ~0xffUL; in _C_FUNCTION()
66 __stack_chk_guard = (void *)canary; in _C_FUNCTION()
/optee_os-3.20.0/core/kernel/
A Dthread.c106 uint32_t *canary = NULL; in thread_check_canaries() local
111 if (*canary != START_CANARY_VALUE) in thread_check_canaries()
113 canary = &GET_END_CANARY(stack_tmp, n); in thread_check_canaries()
114 if (*canary != END_CANARY_VALUE) in thread_check_canaries()
115 CANARY_DIED(stack_tmp, end, n, canary); in thread_check_canaries()
120 if (*canary != START_CANARY_VALUE) in thread_check_canaries()
122 canary = &GET_END_CANARY(stack_abt, n); in thread_check_canaries()
123 if (*canary != END_CANARY_VALUE) in thread_check_canaries()
124 CANARY_DIED(stack_abt, end, n, canary); in thread_check_canaries()
129 if (*canary != START_CANARY_VALUE) in thread_check_canaries()
[all …]
/optee_os-3.20.0/core/drivers/pm/sam/
A Dat91_pm.c37 static uint32_t canary = 0xA5A5A5A5; variable
43 uint32_t *canary; member
262 io_write32((vaddr_t)&at91bootstrap_bu->canary, virt_to_phys(&canary)); in at91_write_backup_data()
/optee_os-3.20.0/core/arch/arm/kernel/
A Dboot.c120 uintptr_t canary = 0xbaaaad00; in plat_get_random_stack_canary() local
129 return canary; in plat_get_random_stack_canary()
132 ret = crypto_rng_read(&canary, sizeof(canary)); in plat_get_random_stack_canary()
137 return canary & ~0xffUL; in plat_get_random_stack_canary()

Completed in 8 milliseconds