Skip to content

comparison algorithm for measurement values #161

@jraman567

Description

@jraman567

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions