Lines Matching refs:checksum
632 block checksum; /* Memory correct */ member
945 block offset, checksum; in ae_encrypt() local
953 ctx->ad_offset = ctx->checksum = zero_block(); in ae_encrypt()
965 checksum = ctx->checksum; in ae_encrypt()
976 checksum = xor_block(checksum, ptp[0]); in ae_encrypt()
979 checksum = xor_block(checksum, ptp[1]); in ae_encrypt()
982 checksum = xor_block(checksum, ptp[2]); in ae_encrypt()
986 checksum = xor_block(checksum, ptp[3]); in ae_encrypt()
990 checksum = xor_block(checksum, ptp[3]); in ae_encrypt()
993 checksum = xor_block(checksum, ptp[4]); in ae_encrypt()
996 checksum = xor_block(checksum, ptp[5]); in ae_encrypt()
999 checksum = xor_block(checksum, ptp[6]); in ae_encrypt()
1002 checksum = xor_block(checksum, ptp[7]); in ae_encrypt()
1020 ctx->checksum = checksum; in ae_encrypt()
1034 checksum = xor_block(checksum, ptp[0]); in ae_encrypt()
1037 checksum = xor_block(checksum, ptp[1]); in ae_encrypt()
1040 checksum = xor_block(checksum, ptp[2]); in ae_encrypt()
1043 checksum = xor_block(checksum, ptp[3]); in ae_encrypt()
1051 checksum = xor_block(checksum, ptp[k]); in ae_encrypt()
1054 checksum = xor_block(checksum, ptp[k + 1]); in ae_encrypt()
1061 checksum = xor_block(checksum, ptp[k]); in ae_encrypt()
1069 checksum = xor_block(checksum, tmp.bl); in ae_encrypt()
1075 ta[k] = xor_block(offset, checksum); /* Part of tag gen */ in ae_encrypt()
1162 block offset, checksum; in ae_decrypt() local
1178 ctx->ad_offset = ctx->checksum = zero_block(); in ae_decrypt()
1190 checksum = ctx->checksum; in ae_decrypt()
1222 checksum = xor_block(checksum, ptp[0]); in ae_decrypt()
1224 checksum = xor_block(checksum, ptp[1]); in ae_decrypt()
1226 checksum = xor_block(checksum, ptp[2]); in ae_decrypt()
1228 checksum = xor_block(checksum, ptp[3]); in ae_decrypt()
1231 checksum = xor_block(checksum, ptp[4]); in ae_decrypt()
1233 checksum = xor_block(checksum, ptp[5]); in ae_decrypt()
1235 checksum = xor_block(checksum, ptp[6]); in ae_decrypt()
1237 checksum = xor_block(checksum, ptp[7]); in ae_decrypt()
1244 ctx->checksum = checksum; in ae_decrypt()
1291 checksum = xor_block(checksum, tmp.bl); in ae_decrypt()
1299 checksum = xor_block(checksum, ptp[6]); in ae_decrypt()
1303 checksum = xor_block(checksum, ptp[5]); in ae_decrypt()
1307 checksum = xor_block(checksum, ptp[4]); in ae_decrypt()
1311 checksum = xor_block(checksum, ptp[3]); in ae_decrypt()
1316 checksum = xor_block(checksum, ptp[2]); in ae_decrypt()
1320 checksum = xor_block(checksum, ptp[1]); in ae_decrypt()
1324 checksum = xor_block(checksum, ptp[0]); in ae_decrypt()
1329 tmp.bl = xor_block(offset, checksum); in ae_decrypt()