Skip to content

Commit 7de56f3

Browse files
Add more info in comments
1 parent e909d69 commit 7de56f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DynamoDbEncryption/dafny/DynamoDbEncryption/src/AwsCryptographyDbEncryptionSdkDynamoDbOperations.dfy

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ module AwsCryptographyDbEncryptionSdkDynamoDbOperations refines AbstractAwsCrypt
108108
var providerWrappedMaterial := EdkWrapping.GetProviderWrappedMaterial(datakeys[i].ciphertext, algorithmSuite).Extract();
109109

110110
// The ciphertext structure in the hierarchy keyring contains Salt and IV before Version.
111-
// The length of Salt is 16 and IV is 12 bytes.
111+
// The length of Salt is 16 and IV is 12 bytes. The length of Version is 16 bytes.
112112
// https://github.com/awslabs/aws-encryption-sdk-specification/blob/master/framework/aws-kms/aws-kms-hierarchical-keyring.md#ciphertext
113113

114114
var EDK_CIPHERTEXT_BRANCH_KEY_VERSION_INDEX := 12 + 16;

0 commit comments

Comments
 (0)