Lines Matching refs:ciphertext
696 #define PUTU32(ciphertext, st) { (ciphertext)[0] = (u8)((st) >> 24); \ argument
697 (ciphertext)[1] = (u8)((st) >> 16); \
698 (ciphertext)[2] = (u8)((st) >> 8); \
699 (ciphertext)[3] = (u8)(st); }
839 u8 ciphertext[16]) in rijndaelEncrypt()
1026 PUTU32(ciphertext, s0); in rijndaelEncrypt()
1031 PUTU32(ciphertext + 4, s1); in rijndaelEncrypt()
1036 PUTU32(ciphertext + 8, s2); in rijndaelEncrypt()
1041 PUTU32(ciphertext + 12, s3); in rijndaelEncrypt()
1044 void rijndaelDecrypt(const u32 *rk, int nrounds, const u8 ciphertext[16], in rijndaelDecrypt()
1063 s0 = GETU32(ciphertext) ^ rk[0]; in rijndaelDecrypt()
1064 s1 = GETU32(ciphertext + 4) ^ rk[1]; in rijndaelDecrypt()
1065 s2 = GETU32(ciphertext + 8) ^ rk[2]; in rijndaelDecrypt()
1066 s3 = GETU32(ciphertext + 12) ^ rk[3]; in rijndaelDecrypt()