Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 5c8c527

Browse files
committedFeb 10, 2025··
m
1 parent d565f66 commit 5c8c527

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed
 

‎TestVectors/dafny/DDBEncryption/src/DecryptManifest.dfy

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ module {:options "-functionSyntax:4"} DecryptManifest {
2121
import JsonConfig
2222
import ENC = AwsCryptographyDbEncryptionSdkDynamoDbItemEncryptorTypes
2323
import KeyVectors
24-
import OsLang
2524

2625
method OnePositiveTest(name : string, config : JSON, encrypted : JSON, plaintext : JSON, keys : KeyVectors.KeyVectorsClient)
2726
returns (output : Result<bool, string>)
@@ -111,14 +110,6 @@ module {:options "-functionSyntax:4"} DecryptManifest {
111110
}
112111
}
113112

114-
function LogFileName() : string
115-
{
116-
if OsLang.GetOsShort() == "Windows" && OsLang.GetLanguageShort() == "Dotnet" then
117-
"..\\..\\PerfLog.txt"
118-
else
119-
"../../PerfLog.txt"
120-
}
121-
122113
method Decrypt(inFile : string, keyVectors: KeyVectors.KeyVectorsClient)
123114
returns (output : Result<bool, string>)
124115
requires keyVectors.ValidState()
@@ -177,13 +168,11 @@ module {:options "-functionSyntax:4"} DecryptManifest {
177168
}
178169
}
179170

180-
var time := Time.GetAbsoluteTime();
181171
for i := 0 to |tests.value| {
182172
var obj := tests.value[i];
183173
:- Need(obj.1.Object?, "Value of test '" + obj.0 + "' must be an Object.");
184174
var _ :- OneTest(obj.0, obj.1, keyVectors);
185175
}
186-
Time.PrintTimeSinceLong(time, "DB-ESDK-TV-Decrypt " + inFile, Some(LogFileName()));
187176

188177
timeStamp :- expect Time.GetCurrentTimeStamp();
189178
print timeStamp + " Tests Complete.\n";

0 commit comments

Comments
 (0)
Please sign in to comment.