Skip to content

Commit b11dc2e

Browse files
m
1 parent f945592 commit b11dc2e

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

.github/workflows/library_format.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- name: Setup Dafny
4040
uses: dafny-lang/[email protected]
4141
with:
42-
dafny-version: ${{ '4.2.0' }}
42+
dafny-version: ${{ inputs.dafny }}
4343

4444
- name: Check format of Java code et al
4545
run: |

DynamoDbEncryption/dafny/DynamoDbEncryption/src/SearchInfo.dfy

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,11 @@ module SearchableEncryptionInfo {
7171
//# MUST be generated in accordance with [HMAC Key Generation](#hmac-key-generation).
7272
var newKey :- GetBeaconKey(client, key, keysLeft[0]);
7373
reveal Seq.HasNoDuplicates();
74-
//= specification/searchable-encryption/search-config.md#get-beacon-key-materials
75-
//# [Beacon Key Materials](../../submodules/MaterialProviders/aws-encryption-sdk-specification/framework/structures.md#beacon-key-materials) MUST be generated
76-
//# with the [beacon key id](#beacon-key-id) equal to the `beacon key id`
77-
//# and the [HMAC Keys](../../submodules/MaterialProviders/aws-encryption-sdk-specification/framework/structures.md#hmac-keys) equal to a map
78-
//# of every [standard beacons](beacons.md#standard-beacon-initialization) name to its generated HMAC key.
74+
//= specification/searchable-encryption/search-config.md#get-beacon-key-materials
75+
//# [Beacon Key Materials](../../submodules/MaterialProviders/aws-encryption-sdk-specification/framework/structures.md#beacon-key-materials) MUST be generated
76+
//# with the [beacon key id](#beacon-key-id) equal to the `beacon key id`
77+
//# and the [HMAC Keys](../../submodules/MaterialProviders/aws-encryption-sdk-specification/framework/structures.md#hmac-keys) equal to a map
78+
//# of every [standard beacons](beacons.md#standard-beacon-initialization) name to its generated HMAC key.
7979
output := GetHmacKeys(client, allKeys, keysLeft[1..], key, acc[keysLeft[0] := newKey]);
8080
}
8181
}

DynamoDbEncryption/dafny/DynamoDbEncryption/test/BeaconTestFixtures.dfy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,8 @@ module BeaconTestFixtures {
182182
ensures fresh(output.keyStore.Modifies)
183183
ensures output.version == 1
184184
ensures
185-
&& output.keySource.multi?
186-
&& output.keySource.multi.cache.None?
185+
&& output.keySource.multi?
186+
&& output.keySource.multi.cache.None?
187187
{
188188
var store := GetKeyStore();
189189
return BeaconVersion (

DynamoDbEncryption/dafny/StructuredEncryption/src/Header.dfy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ module StructuredEncryptionHeader {
132132
+ SerializeLegend(legend)
133133
+ SerializeContext(encContext)
134134
+ SerializeDataKeys(dataKeys)
135-
)
135+
)
136136
{
137137
var context := SerializeContext(encContext);
138138
var keys := SerializeDataKeys(dataKeys);
@@ -630,7 +630,7 @@ module StructuredEncryptionHeader {
630630
+ k.keyProviderInfo
631631
+ UInt16ToSeq(cipherSize)
632632
+ k.ciphertext
633-
)
633+
)
634634
{
635635
UInt16ToSeq(|k.keyProviderId| as uint16)
636636
+ k.keyProviderId

0 commit comments

Comments
 (0)