From 9e759249089e3a05942d4b0bef1d8fe39328cb05 Mon Sep 17 00:00:00 2001 From: Carl Wallace Date: Wed, 10 Sep 2025 12:27:45 -0400 Subject: [PATCH] Change `MgmKey::algorithm_id` from `pub(crate)` to `pub` (#635) --- src/mgm.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mgm.rs b/src/mgm.rs index 6d47838..de26082 100644 --- a/src/mgm.rs +++ b/src/mgm.rs @@ -457,7 +457,7 @@ impl MgmKey { } /// Returns the ID used to identify the key algorithm with APDU packets. - pub(crate) fn algorithm_id(&self) -> MgmAlgorithmId { + pub fn algorithm_id(&self) -> MgmAlgorithmId { match &self.0 { MgmKeyKind::Tdes(_) => MgmAlgorithmId::ThreeDes, MgmKeyKind::Aes128(_) => MgmAlgorithmId::Aes128,