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
Describe the issue
C2PA spec defines c2pa box to contain some data which box_purpose indicates. But type of box_pupose is string.
Type of string means to be variable length and be terminated with null. It makes implementation to scan sequentially to parsing for safety. And alignment will be unpredictable.
Fixed bitwidth (like unsigned int(64)?) may be easier to handle, implement and be quick for SW/HW implementation.
Describe the issue
C2PA spec defines
c2pabox to contain some data whichbox_purposeindicates. But type ofbox_puposeis string.Type of
stringmeans to be variable length and be terminated with null. It makes implementation to scan sequentially to parsing for safety. And alignment will be unpredictable.Fixed bitwidth (like
unsigned int(64)?) may be easier to handle, implement and be quick for SW/HW implementation.For instance...
64 bit can present
manifestandmerkle(ormerkle?).