Lines Matching refs:ptp
948 const block* ptp = (block*)pt; in ae_encrypt() local
975 ta[0] = xor_block(oa[0], ptp[0]); in ae_encrypt()
976 checksum = xor_block(checksum, ptp[0]); in ae_encrypt()
978 ta[1] = xor_block(oa[1], ptp[1]); in ae_encrypt()
979 checksum = xor_block(checksum, ptp[1]); in ae_encrypt()
981 ta[2] = xor_block(oa[2], ptp[2]); in ae_encrypt()
982 checksum = xor_block(checksum, ptp[2]); in ae_encrypt()
985 ta[3] = xor_block(oa[3], ptp[3]); in ae_encrypt()
986 checksum = xor_block(checksum, ptp[3]); in ae_encrypt()
989 ta[3] = xor_block(oa[3], ptp[3]); in ae_encrypt()
990 checksum = xor_block(checksum, ptp[3]); in ae_encrypt()
992 ta[4] = xor_block(oa[4], ptp[4]); in ae_encrypt()
993 checksum = xor_block(checksum, ptp[4]); in ae_encrypt()
995 ta[5] = xor_block(oa[5], ptp[5]); in ae_encrypt()
996 checksum = xor_block(checksum, ptp[5]); in ae_encrypt()
998 ta[6] = xor_block(oa[6], ptp[6]); in ae_encrypt()
999 checksum = xor_block(checksum, ptp[6]); in ae_encrypt()
1001 ta[7] = xor_block(oa[7], ptp[7]); in ae_encrypt()
1002 checksum = xor_block(checksum, ptp[7]); in ae_encrypt()
1015 ptp += BPI; in ae_encrypt()
1033 ta[0] = xor_block(oa[0], ptp[0]); in ae_encrypt()
1034 checksum = xor_block(checksum, ptp[0]); in ae_encrypt()
1036 ta[1] = xor_block(oa[1], ptp[1]); in ae_encrypt()
1037 checksum = xor_block(checksum, ptp[1]); in ae_encrypt()
1039 ta[2] = xor_block(oa[2], ptp[2]); in ae_encrypt()
1040 checksum = xor_block(checksum, ptp[2]); in ae_encrypt()
1042 ta[3] = xor_block(offset, ptp[3]); in ae_encrypt()
1043 checksum = xor_block(checksum, ptp[3]); in ae_encrypt()
1050 ta[k] = xor_block(oa[k], ptp[k]); in ae_encrypt()
1051 checksum = xor_block(checksum, ptp[k]); in ae_encrypt()
1053 ta[k + 1] = xor_block(offset, ptp[k + 1]); in ae_encrypt()
1054 checksum = xor_block(checksum, ptp[k + 1]); in ae_encrypt()
1060 ta[k] = xor_block(offset, ptp[k]); in ae_encrypt()
1061 checksum = xor_block(checksum, ptp[k]); in ae_encrypt()
1067 memcpy(tmp.u8, ptp + k, remaining); in ae_encrypt()
1165 block* ptp = (block*)pt; in ae_decrypt() local
1221 ptp[0] = xor_block(ta[0], oa[0]); in ae_decrypt()
1222 checksum = xor_block(checksum, ptp[0]); in ae_decrypt()
1223 ptp[1] = xor_block(ta[1], oa[1]); in ae_decrypt()
1224 checksum = xor_block(checksum, ptp[1]); in ae_decrypt()
1225 ptp[2] = xor_block(ta[2], oa[2]); in ae_decrypt()
1226 checksum = xor_block(checksum, ptp[2]); in ae_decrypt()
1227 ptp[3] = xor_block(ta[3], oa[3]); in ae_decrypt()
1228 checksum = xor_block(checksum, ptp[3]); in ae_decrypt()
1230 ptp[4] = xor_block(ta[4], oa[4]); in ae_decrypt()
1231 checksum = xor_block(checksum, ptp[4]); in ae_decrypt()
1232 ptp[5] = xor_block(ta[5], oa[5]); in ae_decrypt()
1233 checksum = xor_block(checksum, ptp[5]); in ae_decrypt()
1234 ptp[6] = xor_block(ta[6], oa[6]); in ae_decrypt()
1235 checksum = xor_block(checksum, ptp[6]); in ae_decrypt()
1236 ptp[7] = xor_block(ta[7], oa[7]); in ae_decrypt()
1237 checksum = xor_block(checksum, ptp[7]); in ae_decrypt()
1239 ptp += BPI; in ae_decrypt()
1290 memcpy(ptp + k, tmp.u8, remaining); in ae_decrypt()
1298 ptp[6] = xor_block(ta[6], oa[6]); in ae_decrypt()
1299 checksum = xor_block(checksum, ptp[6]); in ae_decrypt()
1302 ptp[5] = xor_block(ta[5], oa[5]); in ae_decrypt()
1303 checksum = xor_block(checksum, ptp[5]); in ae_decrypt()
1306 ptp[4] = xor_block(ta[4], oa[4]); in ae_decrypt()
1307 checksum = xor_block(checksum, ptp[4]); in ae_decrypt()
1310 ptp[3] = xor_block(ta[3], oa[3]); in ae_decrypt()
1311 checksum = xor_block(checksum, ptp[3]); in ae_decrypt()
1315 ptp[2] = xor_block(ta[2], oa[2]); in ae_decrypt()
1316 checksum = xor_block(checksum, ptp[2]); in ae_decrypt()
1319 ptp[1] = xor_block(ta[1], oa[1]); in ae_decrypt()
1320 checksum = xor_block(checksum, ptp[1]); in ae_decrypt()
1323 ptp[0] = xor_block(ta[0], oa[0]); in ae_decrypt()
1324 checksum = xor_block(checksum, ptp[0]); in ae_decrypt()