Skip to content

Commit 374402d

Browse files
authored
chore: add intermediate key wrapping to hierarchy keyring (aws#138)
1 parent f296c1e commit 374402d

File tree

3 files changed

+545
-245
lines changed

3 files changed

+545
-245
lines changed

AwsCryptographicMaterialProviders/src/KeyWrapping/EdkWrapping.dfy

Lines changed: 1 addition & 1 deletion
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)