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