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