Imagine that all 538 US presidential electors parallel-sign their vote tabulation.
Odds are, all 538 only used one data digest algorithm. So, why digest multiple times?
If SHAKE and friends are allowed in SignedCms with parameterized length, then the cache is theoretically unbounded. If only the fixed size outputs of them are defined for CMS, then the cache has a limit of around a dozen algorithms that it could possibly grow to.
The best place for the cache is probably ContentInfo?
Imagine that all 538 US presidential electors parallel-sign their vote tabulation.
Odds are, all 538 only used one data digest algorithm. So, why digest multiple times?
If SHAKE and friends are allowed in SignedCms with parameterized length, then the cache is theoretically unbounded. If only the fixed size outputs of them are defined for CMS, then the cache has a limit of around a dozen algorithms that it could possibly grow to.
The best place for the cache is probably ContentInfo?