Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/include/
A Dsigned_hdr.h65 #define SHDR_GET_HASH(x) (uint8_t *)(((struct shdr *)(x)) + 1) macro
66 #define SHDR_GET_SIG(x) (SHDR_GET_HASH(x) + (x)->hash_size)
/optee_os-3.20.0/core/crypto/
A Dsigned_hdr.c99 shdr->hash_size, SHDR_GET_HASH(shdr), shdr->hash_size, in shdr_verify_signature()
283 memcmp(digest, SHDR_GET_HASH(shdr), shdr->hash_size)) { in shdr_load_pub_key()
373 SHDR_GET_HASH(shdr), shdr->hash_size, in shdr_verify_signature2()
/optee_os-3.20.0/core/pta/
A Dsecstor_ta_mgmt.c121 if (consttime_memcmp(buf, SHDR_GET_HASH(shdr), shdr->hash_size)) { in install_ta()
/optee_os-3.20.0/core/kernel/
A Dree_fs_ta.c518 memcpy(tag, SHDR_GET_HASH(handle->shdr), handle->shdr->hash_size); in ree_fs_ta_get_tag()
536 if (FTMN_CALLEE_DONE_MEMCMP(memcmp, digest, SHDR_GET_HASH(h->shdr), in check_digest()

Completed in 8 milliseconds