2 references to RentConditionally
System.Security.Cryptography (2)
src\libraries\Common\src\System\Security\Cryptography\CompositeMLDsa.cs (2)
1583using (CryptoPoolLease lease = CryptoPoolLease.RentConditionally(Algorithm.MaxPublicKeySizeInBytes, destination, skipClear: true)) 1708using (CryptoPoolLease lease = CryptoPoolLease.RentConditionally(Algorithm.MaxPrivateKeySizeInBytes, destination, skipClearIfNotRented: true))