Lines Matching refs:remaining

810     unsigned i, k, tz, remaining;  in process_ad()  local
864 remaining = ((unsigned)ad_len) % (BPI * 16); in process_ad()
865 if (remaining) { in process_ad()
868 if (remaining >= 64) { in process_ad()
877 remaining -= 64; in process_ad()
881 if (remaining >= 32) { in process_ad()
886 remaining -= 32; in process_ad()
889 if (remaining >= 16) { in process_ad()
892 remaining = remaining - 16; in process_ad()
895 if (remaining) { in process_ad()
898 memcpy(tmp.u8, adp + k, remaining); in process_ad()
899 tmp.u8[remaining] = (unsigned char)0x80u; in process_ad()
1027 unsigned remaining = ((unsigned)pt_len) % (BPI * 16); in ae_encrypt() local
1029 if (remaining) { in ae_encrypt()
1031 if (remaining >= 64) { in ae_encrypt()
1044 remaining -= 64; in ae_encrypt()
1048 if (remaining >= 32) { in ae_encrypt()
1055 remaining -= 32; in ae_encrypt()
1058 if (remaining >= 16) { in ae_encrypt()
1062 remaining -= 16; in ae_encrypt()
1065 if (remaining) { in ae_encrypt()
1067 memcpy(tmp.u8, ptp + k, remaining); in ae_encrypt()
1068 tmp.u8[remaining] = (unsigned char)0x80u; in ae_encrypt()
1078 if (remaining) { in ae_encrypt()
1081 memcpy(ctp + k, tmp.u8, remaining); in ae_encrypt()
1251 unsigned remaining = ((unsigned)ct_len) % (BPI * 16); in ae_decrypt() local
1253 if (remaining) { in ae_decrypt()
1255 if (remaining >= 64) { in ae_decrypt()
1264 remaining -= 64; in ae_decrypt()
1268 if (remaining >= 32) { in ae_decrypt()
1273 remaining -= 32; in ae_decrypt()
1276 if (remaining >= 16) { in ae_decrypt()
1279 remaining -= 16; in ae_decrypt()
1282 if (remaining) { in ae_decrypt()
1287 memcpy(tmp.u8, ctp + k, remaining); in ae_decrypt()
1289 tmp.u8[remaining] = (unsigned char)0x80u; in ae_decrypt()
1290 memcpy(ptp + k, tmp.u8, remaining); in ae_decrypt()