Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

comparison algorithm for measurement values #161

Open
jraman567 opened this issue Jan 24, 2025 · 0 comments
Open

comparison algorithm for measurement values #161

jraman567 opened this issue Jan 24, 2025 · 0 comments

Comments

@jraman567
Copy link
Collaborator

jraman567 commented Jan 24, 2025

Should we add a comparison routine to each of the CoMID measurement values?

For example, if a verifier wants to compare an SVN with a reference SVN, they would implement the comparison algorithm for SVN as defined in the base CoRIM spec. But this isn't efficient. Instead of each verifier needing to convert the SVN to one of the tagged-svn types and compare the two measurements based on the SVN sub-type (exact-value or min-value), we can do that in the CoRIM repo.

Given each mval type has its comparison algorithm, it'd be best if these types implemented a "Compare" routine that compares it with another mval.

What are your thoughts on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant