1 write to m_Nk
mscorlib (1)
system\security\cryptography\rijndaelmanagedtransform.cs (1)
70
m_Nk
= rgbKey.Length / 4;
11 references to m_Nk
mscorlib (11)
system\security\cryptography\rijndaelmanagedtransform.cs (11)
876
for (int i = 0; i <
m_Nk
; ++i) {
884
if (
m_Nk
<= 6) {
885
for (int i =
m_Nk
; i < m_Nb * (m_Nr + 1); ++i) {
888
if (i %
m_Nk
== 0) {
890
iTemp = iTemp ^ s_Rcon[(i /
m_Nk
) - 1];
893
m_encryptKeyExpansion[i] = m_encryptKeyExpansion[i -
m_Nk
] ^ iTemp;
896
for (int i =
m_Nk
; i < m_Nb * (m_Nr + 1); ++i) {
899
if (i %
m_Nk
== 0) {
901
iTemp = iTemp ^ s_Rcon[(i /
m_Nk
) - 1];
903
else if (i %
m_Nk
== 4) {
907
m_encryptKeyExpansion[i] = m_encryptKeyExpansion[i -
m_Nk
] ^ iTemp;