Searched refs:SHDR_GET_HASH (Results 1 – 4 of 4) sorted by relevance
| /optee_os/core/include/ |
| H A D | signed_hdr.h | 65 #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 D | signed_hdr.c | 114 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 D | secstor_ta_mgmt.c | 121 if (consttime_memcmp(buf, SHDR_GET_HASH(shdr), shdr->hash_size)) { in install_ta()
|
| /optee_os/core/kernel/ |
| H A D | ree_fs_ta.c | 526 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()
|