Home
last modified time | relevance | path

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

/optee_os/core/include/
H 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/core/crypto/
H A Dsigned_hdr.c114 shdr->hash_size, SHDR_GET_HASH(shdr), shdr->hash_size, in shdr_verify_signature()
298 memcmp(digest, SHDR_GET_HASH(shdr), shdr->hash_size)) { in shdr_load_pub_key()
391 SHDR_GET_HASH(shdr), shdr->hash_size, in shdr_verify_signature2()
/optee_os/core/pta/
H A Dsecstor_ta_mgmt.c121 if (consttime_memcmp(buf, SHDR_GET_HASH(shdr), shdr->hash_size)) { in install_ta()
/optee_os/core/kernel/
H A Dree_fs_ta.c526 memcpy(tag, SHDR_GET_HASH(handle->shdr), handle->shdr->hash_size); in ree_fs_ta_get_tag()
544 if (FTMN_CALLEE_DONE_MEMCMP(memcmp, digest, SHDR_GET_HASH(h->shdr), in check_digest()