Mudr-209 Access
uint8_t leaf_hash[SHA384_DIGEST_LEN]; sha384_hash(record_buf, sizeof(mudr209_hdr_t)+hdr->payload_sz, leaf_hash); merkle_tree_append(leaf_hash);
/* 5. Update Merkle tree ----------------------------------------------------*/ static void update_merkle(void) MUDR-209
/* AES‑GCM‑256 encryption + authentication tag */ aes_gcm_encrypt(SE_KEY_LOG, record_buf, sizeof(mudr209_hdr_t)+hdr->payload_sz, record_buf); // in‑place encrypt // in‑place encrypt build_header(hdr
build_header(hdr, len); memcpy(data, payload, len); MUDR-209
No comments
Post a Comment