Change MgmKey::algorithm_id from pub(crate) to pub (#635)

This commit is contained in:
Carl Wallace
2025-09-10 12:27:45 -04:00
committed by GitHub
parent dcaf080ef2
commit 9e75924908
+1 -1
View File
@@ -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,