22 references to Return
System.Security.Cryptography.Pkcs (22)
Internal\Cryptography\Pal\AnyOS\ManagedPal.KeyTrans.cs (1)
220CryptoPool.Return(cek, cekLength);
src\libraries\Common\src\System\Security\Cryptography\CryptoPool.cs (2)
20Return(arraySegment.Array, clearSize == ClearAll ? arraySegment.Count : clearSize); 64CryptoPool.Return(_rented, clearSize);
src\libraries\Common\src\System\Security\Cryptography\KeyFormatHelper.Encrypted.cs (3)
154CryptoPool.Return(decrypted, clearSize: 0); 247CryptoPool.Return(encryptedRent, clearSize: 0); 378CryptoPool.Return(decrypted);
src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (5)
223CryptoPool.Return(rented, clearSize: 0); 443CryptoPool.Return(sourceRent, sourceLength); 504CryptoPool.Return(rented, buf.Length); 971CryptoPool.Return(rentedEncryptedData, encryptedData.Length); 972CryptoPool.Return(rentedDestination, destination.Length);
src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12Builder.cs (2)
293CryptoPool.Return(rentedMac, clearSize: 0); 299CryptoPool.Return(rentedAuthSafe, clearSize: 0);
src\libraries\Common\src\System\Security\Cryptography\Pkcs\Pkcs12SafeContents.cs (1)
426CryptoPool.Return(encryptedRent, clearSize: 0);
src\libraries\Common\src\System\Security\Cryptography\Pkcs12Kdf.cs (1)
229CryptoPool.Return(IRented, clearSize: 0);
System\Security\Cryptography\Pkcs\CmsSignature.DSA.cs (2)
98CryptoPool.Return(rented, bufSize); 179CryptoPool.Return(rented, bytesWritten);
System\Security\Cryptography\Pkcs\CmsSignature.ECDsa.cs (2)
103CryptoPool.Return(rented, bufSize); 194CryptoPool.Return(rented, bytesWritten);
System\Security\Cryptography\Pkcs\SignedCms.cs (1)
287CryptoPool.Return(rented, bytesWritten);
System\Security\Cryptography\Pkcs\SignerInfo.cs (2)
687CryptoPool.Return(rented); 800CryptoPool.Return(rented);