Home
last modified time | relevance | path

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

/optee_os/ta/remoteproc/src/
H A Dremoteproc_core.c98 #define ROUNDUP_64(x) ROUNDUP((x), sizeof(uint64_t)) macro
142 FW_TLV_PTR((img), __hdr) + ROUNDUP_64(__hdr->tlv_len); \
147 FW_SIGN_PTR((img), ___hdr) + ROUNDUP_64(___hdr->sign_len); \
265 p_tlv += ROUNDUP_64(tlv_length); in remoteproc_get_tlv()
369 if (ADD_OVERFLOW(sizeof(*hdr), ROUNDUP_64(hdr->tlv_len), &length) || in remoteproc_save_fw_header_and_tlvs()
370 ADD_OVERFLOW(length, ROUNDUP_64(hdr->sign_len), &length)) in remoteproc_save_fw_header_and_tlvs()
423 res = TEE_DigestDoFinal(op, ctx->tlvs, ROUNDUP_64(hdr->tlv_len), in remoteproc_verify_signature()
463 if (ADD_OVERFLOW(sizeof(*hdr), ROUNDUP_64(hdr->sign_len), &size) || in remoteproc_verify_header()
464 ADD_OVERFLOW(size, ROUNDUP_64(hdr->img_len), &size) || in remoteproc_verify_header()
465 ADD_OVERFLOW(size, ROUNDUP_64(hdr->tlv_len), &size) || in remoteproc_verify_header()