You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to modify the CVA6 bootrom code to implement the CVA6 RoT.
I have done these steps in CVA6 bootrom repository:
add ed25519, sha3 and other source code to CVA6 bootrom repository
copy bootloader function to /fpga/src/bootrom/src/main.c
modify /fpga/src/bootrom/linker.lds to include sanctum_params.lds
replace sbi_memset(sm_hash, 0, MDSIZE); with sbi_memcpy(sm_hash, sanctum_sm_hash, MDSIZE); in sm_copy_key()
But when I ran attestor.ke, sanctum_sm_hash and sanctum_sm_signature were all zero.
I printed the value and address of sanctum_sm_hash during CVA6 booting. The hash value is correct but address is wrong (should be 0x801ff080 according to .lds file).
Where did I do wrong? Or did I miss any steps?
These are files that I modified from CVA6 bootrom repository. code.zip
The text was updated successfully, but these errors were encountered:
I'm trying to modify the CVA6 bootrom code to implement the CVA6 RoT.
I have done these steps in CVA6 bootrom repository:
/fpga/src/bootrom/src/main.c
/fpga/src/bootrom/linker.lds
to includesanctum_params.lds
sbi_memset(sm_hash, 0, MDSIZE);
withsbi_memcpy(sm_hash, sanctum_sm_hash, MDSIZE);
insm_copy_key()
But when I ran
attestor.ke
,sanctum_sm_hash
andsanctum_sm_signature
were all zero.I printed the value and address of
sanctum_sm_hash
during CVA6 booting. The hash value is correct but address is wrong (should be 0x801ff080 according to .lds file).Where did I do wrong? Or did I miss any steps?
These are files that I modified from CVA6 bootrom repository.
code.zip
The text was updated successfully, but these errors were encountered: