Lines Matching refs:ptp
930 const block* ptp = (block*)pt; in ae_encrypt() local
957 ta[0] = xor_block(oa[0], ptp[0]); in ae_encrypt()
958 checksum = xor_block(checksum, ptp[0]); in ae_encrypt()
960 ta[1] = xor_block(oa[1], ptp[1]); in ae_encrypt()
961 checksum = xor_block(checksum, ptp[1]); in ae_encrypt()
963 ta[2] = xor_block(oa[2], ptp[2]); in ae_encrypt()
964 checksum = xor_block(checksum, ptp[2]); in ae_encrypt()
967 ta[3] = xor_block(oa[3], ptp[3]); in ae_encrypt()
968 checksum = xor_block(checksum, ptp[3]); in ae_encrypt()
971 ta[3] = xor_block(oa[3], ptp[3]); in ae_encrypt()
972 checksum = xor_block(checksum, ptp[3]); in ae_encrypt()
974 ta[4] = xor_block(oa[4], ptp[4]); in ae_encrypt()
975 checksum = xor_block(checksum, ptp[4]); in ae_encrypt()
977 ta[5] = xor_block(oa[5], ptp[5]); in ae_encrypt()
978 checksum = xor_block(checksum, ptp[5]); in ae_encrypt()
980 ta[6] = xor_block(oa[6], ptp[6]); in ae_encrypt()
981 checksum = xor_block(checksum, ptp[6]); in ae_encrypt()
983 ta[7] = xor_block(oa[7], ptp[7]); in ae_encrypt()
984 checksum = xor_block(checksum, ptp[7]); in ae_encrypt()
997 ptp += BPI; in ae_encrypt()
1015 ta[0] = xor_block(oa[0], ptp[0]); in ae_encrypt()
1016 checksum = xor_block(checksum, ptp[0]); in ae_encrypt()
1018 ta[1] = xor_block(oa[1], ptp[1]); in ae_encrypt()
1019 checksum = xor_block(checksum, ptp[1]); in ae_encrypt()
1021 ta[2] = xor_block(oa[2], ptp[2]); in ae_encrypt()
1022 checksum = xor_block(checksum, ptp[2]); in ae_encrypt()
1024 ta[3] = xor_block(offset, ptp[3]); in ae_encrypt()
1025 checksum = xor_block(checksum, ptp[3]); in ae_encrypt()
1032 ta[k] = xor_block(oa[k], ptp[k]); in ae_encrypt()
1033 checksum = xor_block(checksum, ptp[k]); in ae_encrypt()
1035 ta[k + 1] = xor_block(offset, ptp[k + 1]); in ae_encrypt()
1036 checksum = xor_block(checksum, ptp[k + 1]); in ae_encrypt()
1042 ta[k] = xor_block(offset, ptp[k]); in ae_encrypt()
1043 checksum = xor_block(checksum, ptp[k]); in ae_encrypt()
1049 memcpy(tmp.u8, ptp + k, remaining); in ae_encrypt()
1141 block* ptp = (block*)pt; in ae_decrypt() local
1197 ptp[0] = xor_block(ta[0], oa[0]); in ae_decrypt()
1198 checksum = xor_block(checksum, ptp[0]); in ae_decrypt()
1199 ptp[1] = xor_block(ta[1], oa[1]); in ae_decrypt()
1200 checksum = xor_block(checksum, ptp[1]); in ae_decrypt()
1201 ptp[2] = xor_block(ta[2], oa[2]); in ae_decrypt()
1202 checksum = xor_block(checksum, ptp[2]); in ae_decrypt()
1203 ptp[3] = xor_block(ta[3], oa[3]); in ae_decrypt()
1204 checksum = xor_block(checksum, ptp[3]); in ae_decrypt()
1206 ptp[4] = xor_block(ta[4], oa[4]); in ae_decrypt()
1207 checksum = xor_block(checksum, ptp[4]); in ae_decrypt()
1208 ptp[5] = xor_block(ta[5], oa[5]); in ae_decrypt()
1209 checksum = xor_block(checksum, ptp[5]); in ae_decrypt()
1210 ptp[6] = xor_block(ta[6], oa[6]); in ae_decrypt()
1211 checksum = xor_block(checksum, ptp[6]); in ae_decrypt()
1212 ptp[7] = xor_block(ta[7], oa[7]); in ae_decrypt()
1213 checksum = xor_block(checksum, ptp[7]); in ae_decrypt()
1215 ptp += BPI; in ae_decrypt()
1266 memcpy(ptp + k, tmp.u8, remaining); in ae_decrypt()
1274 ptp[6] = xor_block(ta[6], oa[6]); in ae_decrypt()
1275 checksum = xor_block(checksum, ptp[6]); in ae_decrypt()
1277 ptp[5] = xor_block(ta[5], oa[5]); in ae_decrypt()
1278 checksum = xor_block(checksum, ptp[5]); in ae_decrypt()
1280 ptp[4] = xor_block(ta[4], oa[4]); in ae_decrypt()
1281 checksum = xor_block(checksum, ptp[4]); in ae_decrypt()
1283 ptp[3] = xor_block(ta[3], oa[3]); in ae_decrypt()
1284 checksum = xor_block(checksum, ptp[3]); in ae_decrypt()
1287 ptp[2] = xor_block(ta[2], oa[2]); in ae_decrypt()
1288 checksum = xor_block(checksum, ptp[2]); in ae_decrypt()
1290 ptp[1] = xor_block(ta[1], oa[1]); in ae_decrypt()
1291 checksum = xor_block(checksum, ptp[1]); in ae_decrypt()
1293 ptp[0] = xor_block(ta[0], oa[0]); in ae_decrypt()
1294 checksum = xor_block(checksum, ptp[0]); in ae_decrypt()