Skip to content

Commit 5ea20b7

Browse files
authored
chore: bump MPL to latest version (#775)
1 parent 9fd4b48 commit 5ea20b7

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

AwsEncryptionSDK/dafny/AwsEncryptionSdk/test/Fixtures.dfy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module Fixtures {
2020

2121
const branchKeyStoreName := "KeyStoreDdbTable"
2222
const logicalKeyStoreName := branchKeyStoreName
23-
const branchKeyId := "75789115-1deb-4fe3-a2ec-be9e885d1945"
23+
const branchKeyId := "3f43a9af-08c5-4317-b694-3d3e883dcaef"
2424

2525
// UTF-8 encoded "aws-crypto-"
2626
const RESERVED_ENCRYPTION_CONTEXT: UTF8.ValidUTF8Bytes :=

AwsEncryptionSDK/runtimes/rust/examples/example_utils/utils.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -126,19 +126,19 @@ pub(crate) fn x962_to_x509(
126126

127127
fn get_nid(x: EcdhCurveSpec) -> i32 {
128128
match x {
129-
EcdhCurveSpec::EccNistP256 {} => aws_lc_sys::NID_X9_62_prime256v1,
130-
EcdhCurveSpec::EccNistP384 {} => aws_lc_sys::NID_secp384r1,
131-
EcdhCurveSpec::EccNistP521 {} => aws_lc_sys::NID_secp521r1,
132-
EcdhCurveSpec::Sm2 {} => panic!("No SM2 in Rust"),
129+
EcdhCurveSpec::EccNistP256 => aws_lc_sys::NID_X9_62_prime256v1,
130+
EcdhCurveSpec::EccNistP384 => aws_lc_sys::NID_secp384r1,
131+
EcdhCurveSpec::EccNistP521 => aws_lc_sys::NID_secp521r1,
132+
EcdhCurveSpec::Sm2 => panic!("No SM2 in Rust"),
133133
}
134134
}
135135

136136
fn get_alg(x: EcdhCurveSpec) -> &'static aws_lc_rs::agreement::Algorithm {
137137
match x {
138-
EcdhCurveSpec::EccNistP256 {} => &aws_lc_rs::agreement::ECDH_P256,
139-
EcdhCurveSpec::EccNistP384 {} => &aws_lc_rs::agreement::ECDH_P384,
140-
EcdhCurveSpec::EccNistP521 {} => &aws_lc_rs::agreement::ECDH_P521,
141-
EcdhCurveSpec::Sm2 {} => panic!("No SM2 in Rust"),
138+
EcdhCurveSpec::EccNistP256 => &aws_lc_rs::agreement::ECDH_P256,
139+
EcdhCurveSpec::EccNistP384 => &aws_lc_rs::agreement::ECDH_P384,
140+
EcdhCurveSpec::EccNistP521 => &aws_lc_rs::agreement::ECDH_P521,
141+
EcdhCurveSpec::Sm2 => panic!("No SM2 in Rust"),
142142
}
143143
}
144144

mpl

Submodule mpl updated from d3e7916 to 377de79

0 commit comments

Comments
 (0)