Bump asymmetric crypto dependencies; MSRV 1.65 (#490)

Bumps the following dependencies to the latest versions:

- `elliptic-curve` v0.13
- `k256` v0.13
- `p256` v0.13
- `p384` v0.13
- `pbkdf2` v0.12
- `rsa` v0.9.0-pre.0
- `signature` v2
This commit is contained in:
Tony Arcieri (iqlusion)
2023-03-14 10:53:00 -07:00
committed by GitHub
parent a50addc15b
commit 0c7441a81e
7 changed files with 69 additions and 60 deletions
+2 -2
View File
@@ -46,7 +46,7 @@ use des::{
TdesEde3,
};
#[cfg(feature = "untested")]
use {hmac::Hmac, pbkdf2::pbkdf2, sha1::Sha1};
use {pbkdf2::pbkdf2_hmac, sha1::Sha1};
/// YubiKey MGMT Applet Name
#[cfg(feature = "untested")]
@@ -147,7 +147,7 @@ impl MgmKey {
}
let mut mgm = [0u8; DES_LEN_3DES];
pbkdf2::<Hmac<Sha1>>(pin, salt, ITER_MGM_PBKDF2, &mut mgm);
pbkdf2_hmac::<Sha1>(pin, salt, ITER_MGM_PBKDF2, &mut mgm);
MgmKey::from_bytes(mgm)
}