Lines Matching refs:oa

818             block ta[BPI], oa[BPI];  in process_ad()  local
821 oa[0] = xor_block(ad_offset, ctx->L[0]); in process_ad()
822 ta[0] = xor_block(oa[0], adp[0]); in process_ad()
823 oa[1] = xor_block(oa[0], ctx->L[1]); in process_ad()
824 ta[1] = xor_block(oa[1], adp[1]); in process_ad()
825 oa[2] = xor_block(ad_offset, ctx->L[1]); in process_ad()
826 ta[2] = xor_block(oa[2], adp[2]); in process_ad()
828 ad_offset = xor_block(oa[2], getL(ctx, tz)); in process_ad()
831 oa[3] = xor_block(oa[2], ctx->L[2]); in process_ad()
832 ta[3] = xor_block(oa[3], adp[3]); in process_ad()
833 oa[4] = xor_block(oa[1], ctx->L[2]); in process_ad()
834 ta[4] = xor_block(oa[4], adp[4]); in process_ad()
835 oa[5] = xor_block(oa[0], ctx->L[2]); in process_ad()
836 ta[5] = xor_block(oa[5], adp[5]); in process_ad()
837 oa[6] = xor_block(ad_offset, ctx->L[2]); in process_ad()
838 ta[6] = xor_block(oa[6], adp[6]); in process_ad()
839 ad_offset = xor_block(oa[6], getL(ctx, tz)); in process_ad()
968 block oa[BPI]; in ae_encrypt() local
970 oa[BPI - 1] = offset; in ae_encrypt()
974 oa[0] = xor_block(oa[BPI - 1], ctx->L[0]); in ae_encrypt()
975 ta[0] = xor_block(oa[0], ptp[0]); in ae_encrypt()
977 oa[1] = xor_block(oa[0], ctx->L[1]); in ae_encrypt()
978 ta[1] = xor_block(oa[1], ptp[1]); in ae_encrypt()
980 oa[2] = xor_block(oa[1], ctx->L[0]); in ae_encrypt()
981 ta[2] = xor_block(oa[2], ptp[2]); in ae_encrypt()
984 oa[3] = xor_block(oa[2], getL(ctx, ntz(block_num))); in ae_encrypt()
985 ta[3] = xor_block(oa[3], ptp[3]); in ae_encrypt()
988 oa[3] = xor_block(oa[2], ctx->L[2]); in ae_encrypt()
989 ta[3] = xor_block(oa[3], ptp[3]); in ae_encrypt()
991 oa[4] = xor_block(oa[1], ctx->L[2]); in ae_encrypt()
992 ta[4] = xor_block(oa[4], ptp[4]); in ae_encrypt()
994 oa[5] = xor_block(oa[0], ctx->L[2]); in ae_encrypt()
995 ta[5] = xor_block(oa[5], ptp[5]); in ae_encrypt()
997 oa[6] = xor_block(oa[7], ctx->L[2]); in ae_encrypt()
998 ta[6] = xor_block(oa[6], ptp[6]); in ae_encrypt()
1000 oa[7] = xor_block(oa[6], getL(ctx, ntz(block_num))); in ae_encrypt()
1001 ta[7] = xor_block(oa[7], ptp[7]); in ae_encrypt()
1005 ctp[0] = xor_block(ta[0], oa[0]); in ae_encrypt()
1006 ctp[1] = xor_block(ta[1], oa[1]); in ae_encrypt()
1007 ctp[2] = xor_block(ta[2], oa[2]); in ae_encrypt()
1008 ctp[3] = xor_block(ta[3], oa[3]); in ae_encrypt()
1010 ctp[4] = xor_block(ta[4], oa[4]); in ae_encrypt()
1011 ctp[5] = xor_block(ta[5], oa[5]); in ae_encrypt()
1012 ctp[6] = xor_block(ta[6], oa[6]); in ae_encrypt()
1013 ctp[7] = xor_block(ta[7], oa[7]); in ae_encrypt()
1018 ctx->offset = offset = oa[BPI - 1]; in ae_encrypt()
1024 block ta[BPI + 1], oa[BPI]; in ae_encrypt() local
1032 oa[0] = xor_block(offset, ctx->L[0]); in ae_encrypt()
1033 ta[0] = xor_block(oa[0], ptp[0]); in ae_encrypt()
1035 oa[1] = xor_block(oa[0], ctx->L[1]); in ae_encrypt()
1036 ta[1] = xor_block(oa[1], ptp[1]); in ae_encrypt()
1038 oa[2] = xor_block(oa[1], ctx->L[0]); in ae_encrypt()
1039 ta[2] = xor_block(oa[2], ptp[2]); in ae_encrypt()
1041 offset = oa[3] = xor_block(oa[2], ctx->L[2]); in ae_encrypt()
1049 oa[k] = xor_block(offset, ctx->L[0]); in ae_encrypt()
1050 ta[k] = xor_block(oa[k], ptp[k]); in ae_encrypt()
1052 offset = oa[k + 1] = xor_block(oa[k], ctx->L[1]); in ae_encrypt()
1059 offset = oa[k] = xor_block(offset, ctx->L[0]); in ae_encrypt()
1086 ctp[6] = xor_block(ta[6], oa[6]); in ae_encrypt()
1089 ctp[5] = xor_block(ta[5], oa[5]); in ae_encrypt()
1092 ctp[4] = xor_block(ta[4], oa[4]); in ae_encrypt()
1095 ctp[3] = xor_block(ta[3], oa[3]); in ae_encrypt()
1099 ctp[2] = xor_block(ta[2], oa[2]); in ae_encrypt()
1102 ctp[1] = xor_block(ta[1], oa[1]); in ae_encrypt()
1105 ctp[0] = xor_block(ta[0], oa[0]); in ae_encrypt()
1193 block oa[BPI]; in ae_decrypt() local
1195 oa[BPI - 1] = offset; in ae_decrypt()
1199 oa[0] = xor_block(oa[BPI - 1], ctx->L[0]); in ae_decrypt()
1200 ta[0] = xor_block(oa[0], ctp[0]); in ae_decrypt()
1201 oa[1] = xor_block(oa[0], ctx->L[1]); in ae_decrypt()
1202 ta[1] = xor_block(oa[1], ctp[1]); in ae_decrypt()
1203 oa[2] = xor_block(oa[1], ctx->L[0]); in ae_decrypt()
1204 ta[2] = xor_block(oa[2], ctp[2]); in ae_decrypt()
1206 oa[3] = xor_block(oa[2], getL(ctx, ntz(block_num))); in ae_decrypt()
1207 ta[3] = xor_block(oa[3], ctp[3]); in ae_decrypt()
1209 oa[3] = xor_block(oa[2], ctx->L[2]); in ae_decrypt()
1210 ta[3] = xor_block(oa[3], ctp[3]); in ae_decrypt()
1211 oa[4] = xor_block(oa[1], ctx->L[2]); in ae_decrypt()
1212 ta[4] = xor_block(oa[4], ctp[4]); in ae_decrypt()
1213 oa[5] = xor_block(oa[0], ctx->L[2]); in ae_decrypt()
1214 ta[5] = xor_block(oa[5], ctp[5]); in ae_decrypt()
1215 oa[6] = xor_block(oa[7], ctx->L[2]); in ae_decrypt()
1216 ta[6] = xor_block(oa[6], ctp[6]); in ae_decrypt()
1217 oa[7] = xor_block(oa[6], getL(ctx, ntz(block_num))); in ae_decrypt()
1218 ta[7] = xor_block(oa[7], ctp[7]); in ae_decrypt()
1221 ptp[0] = xor_block(ta[0], oa[0]); in ae_decrypt()
1223 ptp[1] = xor_block(ta[1], oa[1]); in ae_decrypt()
1225 ptp[2] = xor_block(ta[2], oa[2]); in ae_decrypt()
1227 ptp[3] = xor_block(ta[3], oa[3]); in ae_decrypt()
1230 ptp[4] = xor_block(ta[4], oa[4]); in ae_decrypt()
1232 ptp[5] = xor_block(ta[5], oa[5]); in ae_decrypt()
1234 ptp[6] = xor_block(ta[6], oa[6]); in ae_decrypt()
1236 ptp[7] = xor_block(ta[7], oa[7]); in ae_decrypt()
1242 ctx->offset = offset = oa[BPI - 1]; in ae_decrypt()
1248 block ta[BPI + 1], oa[BPI]; in ae_decrypt() local
1256 oa[0] = xor_block(offset, ctx->L[0]); in ae_decrypt()
1257 ta[0] = xor_block(oa[0], ctp[0]); in ae_decrypt()
1258 oa[1] = xor_block(oa[0], ctx->L[1]); in ae_decrypt()
1259 ta[1] = xor_block(oa[1], ctp[1]); in ae_decrypt()
1260 oa[2] = xor_block(oa[1], ctx->L[0]); in ae_decrypt()
1261 ta[2] = xor_block(oa[2], ctp[2]); in ae_decrypt()
1262 offset = oa[3] = xor_block(oa[2], ctx->L[2]); in ae_decrypt()
1269 oa[k] = xor_block(offset, ctx->L[0]); in ae_decrypt()
1270 ta[k] = xor_block(oa[k], ctp[k]); in ae_decrypt()
1271 offset = oa[k + 1] = xor_block(oa[k], ctx->L[1]); in ae_decrypt()
1277 offset = oa[k] = xor_block(offset, ctx->L[0]); in ae_decrypt()
1298 ptp[6] = xor_block(ta[6], oa[6]); in ae_decrypt()
1302 ptp[5] = xor_block(ta[5], oa[5]); in ae_decrypt()
1306 ptp[4] = xor_block(ta[4], oa[4]); in ae_decrypt()
1310 ptp[3] = xor_block(ta[3], oa[3]); in ae_decrypt()
1315 ptp[2] = xor_block(ta[2], oa[2]); in ae_decrypt()
1319 ptp[1] = xor_block(ta[1], oa[1]); in ae_decrypt()
1323 ptp[0] = xor_block(ta[0], oa[0]); in ae_decrypt()