Skip to content

Commit 424f8b5

Browse files
committed
chore: add intermediate key wrapping to hierarchy keyring (#138)
1 parent a81370b commit 424f8b5

File tree

3 files changed

+545
-245
lines changed

3 files changed

+545
-245
lines changed

AwsCryptographicMaterialProviders/src/KeyWrapping/EdkWrapping.dfy

+1-1
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ module EdkWrapping {
347347

348348
// Given material wrapped using Intermediate Key Wrapping,
349349
// get the provider wrapped portion
350-
function GetProviderWrappedMaterial(material: seq<uint8>, algSuite: Types.AlgorithmSuiteInfo)
350+
function method GetProviderWrappedMaterial(material: seq<uint8>, algSuite: Types.AlgorithmSuiteInfo)
351351
: (r: Result<seq<uint8>, Types.Error>)
352352
ensures r.Success? && algSuite.edkWrapping.DIRECT_KEY_WRAPPING? ==> r.value == material
353353
ensures r.Success? && algSuite.edkWrapping.IntermediateKeyWrapping? ==>

0 commit comments

Comments
 (0)