Home
last modified time | relevance | path

Searched refs:BlockSizeValue (Results 1 – 25 of 65) sorted by relevance

123

/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Security.Cryptography.Algorithms/tests/
H A DBlockSizeValueTests.cs32 …lass HMACMD5Test : HMACMD5 { public int GetBlockSizeValue() { Dispose(); return BlockSizeValue; } } in GetBlockSizeValue()
33 …ss HMACSHA1Test : HMACSHA1 { public int GetBlockSizeValue() { Dispose(); return BlockSizeValue; } } in GetBlockSizeValue()
34 …MACSHA256Test : HMACSHA256 { public int GetBlockSizeValue() { Dispose(); return BlockSizeValue; } } in GetBlockSizeValue()
35 …MACSHA384Test : HMACSHA384 { public int GetBlockSizeValue() { Dispose(); return BlockSizeValue; } } in GetBlockSizeValue()
36 …MACSHA512Test : HMACSHA512 { public int GetBlockSizeValue() { Dispose(); return BlockSizeValue; } } in GetBlockSizeValue()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/mscorlib/system/security/cryptography/
H A Dsymmetricalgorithm.cs17 protected int BlockSizeValue; field in System.Security.Cryptography.SymmetricAlgorithm
78 get { return BlockSizeValue; }
87 BlockSizeValue = value;
95 if (BlockSizeValue != value) {
96 BlockSizeValue = value;
111 if (value <= 0 || value > BlockSizeValue || (value % 8) != 0)
126 if (value.Length != BlockSizeValue / 8)
H A Dhmac.cs31 protected int BlockSizeValue { property in System.Security.Cryptography.HMAC
58 m_inner = new byte[BlockSizeValue]; in UpdateIOPadBuffers()
60 m_outer = new byte[BlockSizeValue]; in UpdateIOPadBuffers()
63 for (i=0; i < BlockSizeValue; i++) { in UpdateIOPadBuffers()
80 if (key.Length > BlockSizeValue) { in InitializeKey()
H A Drijndaelmanaged.cs56 IVValue = Utils.GenerateRandom(BlockSizeValue / 8); in GenerateIV()
75 rgbIV = Utils.GenerateRandom(BlockSizeValue / 8); in NewEncryptor()
85 BlockSizeValue, in NewEncryptor()
H A Drijndael.cs33 BlockSizeValue = 128; in Rijndael()
34 FeedbackSizeValue = BlockSizeValue; in Rijndael()
H A Dhmacsha512.cs36 BlockSizeValue = BlockSize; in HMACSHA512()
61 BlockSizeValue = BlockSize;
H A Dhmacsha384.cs36 BlockSizeValue = BlockSize; in HMACSHA384()
51 BlockSizeValue = BlockSize;
H A Drc2.cs31 BlockSizeValue = 64; in RC2()
32 FeedbackSizeValue = BlockSizeValue; in RC2()
H A Dtripledes.cs32 BlockSizeValue = 64; in TripleDES()
33 FeedbackSizeValue = BlockSizeValue; in TripleDES()
H A Ddes.cs33 BlockSizeValue = 64; in DES()
34 FeedbackSizeValue = BlockSizeValue; in DES()
H A Dcryptoapitransform.cs31 private int BlockSizeValue; field in System.Security.Cryptography.CryptoAPITransform
53 BlockSizeValue = blockSize; in CryptoAPITransform()
167 get { return(BlockSizeValue/8); }
171 get { return(BlockSizeValue/8); }
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Security.Cryptography.Primitives/src/System/Security/Cryptography/
H A DSymmetricAlgorithm.cs33 if (value <= 0 || value > BlockSizeValue || (value % 8) != 0)
43 return BlockSizeValue;
52 …if (BlockSizeValue == value && !validatedByZeroSkipSizeKeySizes) // The !validatedByZeroSkipSizeKe…
55 BlockSizeValue = value;
229 protected int BlockSizeValue; field in System.Security.Cryptography.SymmetricAlgorithm
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Core/System/Security/Cryptography/
H A DAesCryptoServiceProvider.cs167 if (iv != null && iv.Length * 8 != BlockSizeValue) { in CreateDecryptor()
190 return new CapiSymmetricAlgorithm(BlockSizeValue, in CreateDecryptor()
233 if (iv != null && iv.Length * 8 != BlockSizeValue) { in CreateEncryptor()
256 return new CapiSymmetricAlgorithm(BlockSizeValue, in CreateEncryptor()
402 Contract.Ensures(IVValue != null && IVValue.Length == BlockSizeValue / 8); in GenerateIV()
404 Contract.Assert(BlockSizeValue % 8 == 0); in GenerateIV()
406 byte[] iv = new byte[BlockSizeValue / 8]; in GenerateIV()
H A DAesManaged.cs93 if (iv != null && iv.Length * 8 != BlockSizeValue) { in CreateDecryptor()
114 if (iv != null && iv.Length * 8 != BlockSizeValue) { in CreateEncryptor()
/dports/lang/mono/mono-5.10.1.57/mcs/class/corlib/CommonCrypto/
H A DRijndaelManaged.cs27 IVValue = KeyBuilder.IV (BlockSizeValue >> 3); in GenerateIV()
103 rgbIV = Utils.GenerateRandom(BlockSizeValue / 8); in NewEncryptor()
113 BlockSizeValue, in NewEncryptor()
H A DRC4CommonCrypto.cs50 BlockSizeValue = 64; in RC4()
51 FeedbackSizeValue = BlockSizeValue; in RC4()
/dports/lang/mono/mono-5.10.1.57/mcs/class/Mono.Security/Mono.Security.Cryptography/
H A DRC4.cs54 BlockSizeValue = 64; in RC4()
55 FeedbackSizeValue = BlockSizeValue; in RC4()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Security.Cryptography.Algorithms/src/System/Security/Cryptography/
H A DRijndael.cs28 BlockSizeValue = 128; in Rijndael()
29 FeedbackSizeValue = BlockSizeValue; in Rijndael()
H A DRC2.cs20 BlockSizeValue = 64; in RC2()
21 FeedbackSizeValue = BlockSizeValue; in RC2()
H A DTripleDES.cs17 BlockSizeValue = 64; in TripleDES()
18 FeedbackSizeValue = BlockSizeValue; in TripleDES()
H A DDES.cs18 BlockSizeValue = 64; in DES()
19 FeedbackSizeValue = BlockSizeValue; in DES()
H A DAes.cs16 BlockSizeValue = 128; in Aes()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.IdentityModel.Selectors/infocard/client/System/IdentityModel/Selectors/
H A DInfoCardSymmetricAlgorithm.cs64 BlockSizeValue = m_parameters.blockSize; in InfoCardSymmetricAlgorithm()
66 … LegalBlockSizesValue = new KeySizes[] { new KeySizes(BlockSizeValue, BlockSizeValue, 0) }; in InfoCardSymmetricAlgorithm()
/dports/lang/mono/mono-5.10.1.57/mcs/class/corlib/Test/System.Security.Cryptography/
H A DHMACSHA384Test.cs23 get { return base.BlockSizeValue; }
24 set { base.BlockSizeValue = value; }
37 BlockSizeValue = legacy ? 64 : 128; in SelectableHmacSha384()
H A DHMACSHA512Test.cs22 get { return base.BlockSizeValue; }
23 set { base.BlockSizeValue = value; }
36 BlockSizeValue = legacy ? 64 : 128; in SelectableHmacSha512()

123