awslabs / aws-encryption-sdk-specification

AWS Encryption SDK Specification
Other
30 stars 27 forks source link

docs: refactor CMC and local CMC specs #166

Closed alex-chew closed 4 years ago

alex-chew commented 4 years ago

Issue #, if available: #1, #116, #117

Description of changes:

Before this change, the specification of the Cryptographic Materials Cache (CMC) interface gives a only brief explanation of the local CMC:

The local CMC is a configurable, in-memory, least recently used (LRU) cache. It provides non-blocking, locking, cache entries per cache identifier.

This change captures a stricter set of behaviors upon which existing local CMC implementations already agree, within a specification separate from the abstract CMC interface. These behaviors include how the local CMC bounds its space and time usage, its eviction strategy, and parameters with which users can configure those behaviors.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.