Lines Matching defs:Nr
733 int rijndaelKeySetupEnc(u32 rk[/*4*(Nr + 1)*/], const u8 cipherKey[], int keyBits) {
821 int rijndaelKeySetupDec(u32 rk[/*4*(Nr + 1)*/], const u8 cipherKey[], int keyBits) {
822 int Nr, i, j;
826 Nr = rijndaelKeySetupEnc(rk, cipherKey, keyBits);
828 for (i = 0, j = 4*Nr; i < j; i += 4, j -= 4) {
835 for (i = 1; i < Nr; i++) {
858 return Nr;
861 void rijndaelEncrypt(const u32 rk[/*4*(Nr + 1)*/], int Nr, const u8 pt[16], u8 ct[16]) {
921 if (Nr > 10) {
932 if (Nr > 12) {
945 rk += Nr << 2;
948 * Nr - 1 full rounds:
950 r = Nr >> 1;
1042 void rijndaelDecrypt(const u32 rk[/*4*(Nr + 1)*/], int Nr, const u8 ct[16], u8 pt[16]) {
1102 if (Nr > 10) {
1113 if (Nr > 12) {
1126 rk += Nr << 2;
1129 * Nr - 1 full rounds:
1131 r = Nr >> 1;