Lines Matching refs:ta
818 block ta[BPI], oa[BPI]; in process_ad() local
822 ta[0] = xor_block(oa[0], adp[0]); in process_ad()
824 ta[1] = xor_block(oa[1], adp[1]); in process_ad()
826 ta[2] = xor_block(oa[2], adp[2]); in process_ad()
829 ta[3] = xor_block(ad_offset, adp[3]); in process_ad()
832 ta[3] = xor_block(oa[3], adp[3]); in process_ad()
834 ta[4] = xor_block(oa[4], adp[4]); in process_ad()
836 ta[5] = xor_block(oa[5], adp[5]); in process_ad()
838 ta[6] = xor_block(oa[6], adp[6]); in process_ad()
840 ta[7] = xor_block(ad_offset, adp[7]); in process_ad()
842 AES_ecb_encrypt_blks(ta, BPI, &ctx->encrypt_key); in process_ad()
843 ad_checksum = xor_block(ad_checksum, ta[0]); in process_ad()
844 ad_checksum = xor_block(ad_checksum, ta[1]); in process_ad()
845 ad_checksum = xor_block(ad_checksum, ta[2]); in process_ad()
846 ad_checksum = xor_block(ad_checksum, ta[3]); in process_ad()
848 ad_checksum = xor_block(ad_checksum, ta[4]); in process_ad()
849 ad_checksum = xor_block(ad_checksum, ta[5]); in process_ad()
850 ad_checksum = xor_block(ad_checksum, ta[6]); in process_ad()
851 ad_checksum = xor_block(ad_checksum, ta[7]); in process_ad()
861 block ta[BPI]; in process_ad() local
870 ta[0] = xor_block(tmp.bl, adp[0]); in process_ad()
872 ta[1] = xor_block(tmp.bl, adp[1]); in process_ad()
874 ta[2] = xor_block(ad_offset, adp[2]); in process_ad()
876 ta[3] = xor_block(ad_offset, adp[3]); in process_ad()
883 ta[k] = xor_block(ad_offset, adp[k]); in process_ad()
885 ta[k + 1] = xor_block(ad_offset, adp[k + 1]); in process_ad()
891 ta[k] = xor_block(ad_offset, adp[k]); in process_ad()
900 ta[k] = xor_block(ad_offset, tmp.bl); in process_ad()
903 AES_ecb_encrypt_blks(ta, k, &ctx->encrypt_key); in process_ad()
907 ad_checksum = xor_block(ad_checksum, ta[7]); in process_ad()
910 ad_checksum = xor_block(ad_checksum, ta[6]); in process_ad()
913 ad_checksum = xor_block(ad_checksum, ta[5]); in process_ad()
916 ad_checksum = xor_block(ad_checksum, ta[4]); in process_ad()
920 ad_checksum = xor_block(ad_checksum, ta[3]); in process_ad()
923 ad_checksum = xor_block(ad_checksum, ta[2]); in process_ad()
926 ad_checksum = xor_block(ad_checksum, ta[1]); in process_ad()
929 ad_checksum = xor_block(ad_checksum, ta[0]); in process_ad()
972 block ta[BPI]; in ae_encrypt() local
975 ta[0] = xor_block(oa[0], ptp[0]); in ae_encrypt()
978 ta[1] = xor_block(oa[1], ptp[1]); in ae_encrypt()
981 ta[2] = xor_block(oa[2], ptp[2]); in ae_encrypt()
985 ta[3] = xor_block(oa[3], ptp[3]); in ae_encrypt()
989 ta[3] = xor_block(oa[3], ptp[3]); in ae_encrypt()
992 ta[4] = xor_block(oa[4], ptp[4]); in ae_encrypt()
995 ta[5] = xor_block(oa[5], ptp[5]); in ae_encrypt()
998 ta[6] = xor_block(oa[6], ptp[6]); in ae_encrypt()
1001 ta[7] = xor_block(oa[7], ptp[7]); in ae_encrypt()
1004 AES_ecb_encrypt_blks(ta, BPI, &ctx->encrypt_key); 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()
1024 block ta[BPI + 1], oa[BPI]; in ae_encrypt() local
1033 ta[0] = xor_block(oa[0], ptp[0]); in ae_encrypt()
1036 ta[1] = xor_block(oa[1], ptp[1]); in ae_encrypt()
1039 ta[2] = xor_block(oa[2], ptp[2]); in ae_encrypt()
1042 ta[3] = xor_block(offset, ptp[3]); in ae_encrypt()
1050 ta[k] = xor_block(oa[k], ptp[k]); in ae_encrypt()
1053 ta[k + 1] = xor_block(offset, ptp[k + 1]); in ae_encrypt()
1060 ta[k] = xor_block(offset, ptp[k]); in ae_encrypt()
1070 ta[k] = offset = xor_block(offset, ctx->Lstar); in ae_encrypt()
1075 ta[k] = xor_block(offset, checksum); /* Part of tag gen */ in ae_encrypt()
1076 AES_ecb_encrypt_blks(ta, k + 1, &ctx->encrypt_key); in ae_encrypt()
1077 offset = xor_block(ta[k], ctx->ad_checksum); /* Part of tag gen */ in ae_encrypt()
1080 tmp.bl = xor_block(tmp.bl, ta[k]); 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()
1197 block ta[BPI]; in ae_decrypt() local
1200 ta[0] = xor_block(oa[0], ctp[0]); in ae_decrypt()
1202 ta[1] = xor_block(oa[1], ctp[1]); in ae_decrypt()
1204 ta[2] = xor_block(oa[2], ctp[2]); in ae_decrypt()
1207 ta[3] = xor_block(oa[3], ctp[3]); in ae_decrypt()
1210 ta[3] = xor_block(oa[3], ctp[3]); in ae_decrypt()
1212 ta[4] = xor_block(oa[4], ctp[4]); in ae_decrypt()
1214 ta[5] = xor_block(oa[5], ctp[5]); in ae_decrypt()
1216 ta[6] = xor_block(oa[6], ctp[6]); in ae_decrypt()
1218 ta[7] = xor_block(oa[7], ctp[7]); in ae_decrypt()
1220 AES_ecb_decrypt_blks(ta, BPI, &ctx->decrypt_key); 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()
1248 block ta[BPI + 1], oa[BPI]; in ae_decrypt() local
1257 ta[0] = xor_block(oa[0], ctp[0]); in ae_decrypt()
1259 ta[1] = xor_block(oa[1], ctp[1]); in ae_decrypt()
1261 ta[2] = xor_block(oa[2], ctp[2]); in ae_decrypt()
1263 ta[3] = xor_block(offset, ctp[3]); in ae_decrypt()
1270 ta[k] = xor_block(oa[k], ctp[k]); in ae_decrypt()
1272 ta[k + 1] = xor_block(offset, ctp[k + 1]); in ae_decrypt()
1278 ta[k] = xor_block(offset, ctp[k]); in ae_decrypt()
1294 AES_ecb_decrypt_blks(ta, k, &ctx->decrypt_key); 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()