Skip to content

chore: add Rust generated test vectors #1638

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Feb 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci_test_vector_net.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
- name: Test TestVectors on .NET 6.0
working-directory: ./${{matrix.library}}/runtimes/net
run: |
cp ../java/decrypt_java_*.json ../java/decrypt_dotnet_*.json .
cp ../java/decrypt_java_*.json ../java/decrypt_dotnet_*.json ../java/decrypt_rust_*.json .
dotnet run
cp ../java/*.json .
dotnet run --framework net6.0
2 changes: 1 addition & 1 deletion .github/workflows/dafny_interop_test_vector_net.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ jobs:
- name: Test TestVectors on .NET 6.0
working-directory: ./${{matrix.library}}/runtimes/net
run: |
cp ../java/decrypt_java_*.json ../java/decrypt_dotnet_*.json .
cp ../java/decrypt_java_*.json ../java/decrypt_dotnet_*.json ../java/decrypt_rust_*.json .
dotnet run
cp ../java/*.json .
dotnet run --framework net6.0
1 change: 1 addition & 0 deletions TestVectors/dafny/DDBEncryption/src/TestVectors.dfy
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ module {:options "-functionSyntax:4"} DdbEncryptionTestVectors {
var _ :- expect DecryptManifest.Decrypt("decrypt_java_33.json", keyVectors);
var _ :- expect DecryptManifest.Decrypt("decrypt_dotnet_33a.json", keyVectors);
var _ :- expect DecryptManifest.Decrypt("decrypt_java_33a.json", keyVectors);
var _ :- expect DecryptManifest.Decrypt("decrypt_rust_38.json", keyVectors);
var _ :- expect WriteManifest.Write("encrypt.json");
var _ :- expect EncryptManifest.Encrypt("encrypt.json", "decrypt.json", "java", "3.3", keyVectors);
var _ :- expect DecryptManifest.Decrypt("decrypt.json", keyVectors);
Expand Down
Loading
Loading