Lines Matching refs:ctr

635     unsigned int ctr;  in CRYPTO_gcm128_setiv()  local
648 ctr = 1; in CRYPTO_gcm128_setiv()
691 ctr = BSWAP4(ctx->Xi.d[3]); in CRYPTO_gcm128_setiv()
693 ctr = GETU32(ctx->Xi.c + 12); in CRYPTO_gcm128_setiv()
696 ctr = ctx->Xi.d[3]; in CRYPTO_gcm128_setiv()
707 ++ctr; in CRYPTO_gcm128_setiv()
710 ctx->Yi.d[3] = BSWAP4(ctr); in CRYPTO_gcm128_setiv()
712 PUTU32(ctx->Yi.c + 12, ctr); in CRYPTO_gcm128_setiv()
715 ctx->Yi.d[3] = ctr; in CRYPTO_gcm128_setiv()
777 unsigned int n, ctr, mres; in CRYPTO_gcm128_encrypt() local
810 ctr = BSWAP4(ctx->Yi.d[3]); in CRYPTO_gcm128_encrypt()
812 ctr = GETU32(ctx->Yi.c + 12); in CRYPTO_gcm128_encrypt()
815 ctr = ctx->Yi.d[3]; in CRYPTO_gcm128_encrypt()
868 ++ctr; in CRYPTO_gcm128_encrypt()
871 ctx->Yi.d[3] = BSWAP4(ctr); in CRYPTO_gcm128_encrypt()
873 PUTU32(ctx->Yi.c + 12, ctr); in CRYPTO_gcm128_encrypt()
876 ctx->Yi.d[3] = ctr; in CRYPTO_gcm128_encrypt()
895 ++ctr; in CRYPTO_gcm128_encrypt()
898 ctx->Yi.d[3] = BSWAP4(ctr); in CRYPTO_gcm128_encrypt()
900 PUTU32(ctx->Yi.c + 12, ctr); in CRYPTO_gcm128_encrypt()
903 ctx->Yi.d[3] = ctr; in CRYPTO_gcm128_encrypt()
918 ++ctr; in CRYPTO_gcm128_encrypt()
921 ctx->Yi.d[3] = BSWAP4(ctr); in CRYPTO_gcm128_encrypt()
923 PUTU32(ctx->Yi.c + 12, ctr); in CRYPTO_gcm128_encrypt()
926 ctx->Yi.d[3] = ctr; in CRYPTO_gcm128_encrypt()
937 ++ctr; in CRYPTO_gcm128_encrypt()
940 ctx->Yi.d[3] = BSWAP4(ctr); in CRYPTO_gcm128_encrypt()
942 PUTU32(ctx->Yi.c + 12, ctr); in CRYPTO_gcm128_encrypt()
945 ctx->Yi.d[3] = ctr; in CRYPTO_gcm128_encrypt()
968 ++ctr; in CRYPTO_gcm128_encrypt()
971 ctx->Yi.d[3] = BSWAP4(ctr); in CRYPTO_gcm128_encrypt()
973 PUTU32(ctx->Yi.c + 12, ctr); in CRYPTO_gcm128_encrypt()
976 ctx->Yi.d[3] = ctr; in CRYPTO_gcm128_encrypt()
1002 unsigned int n, ctr, mres; in CRYPTO_gcm128_decrypt() local
1035 ctr = BSWAP4(ctx->Yi.d[3]); in CRYPTO_gcm128_decrypt()
1037 ctr = GETU32(ctx->Yi.c + 12); in CRYPTO_gcm128_decrypt()
1040 ctr = ctx->Yi.d[3]; in CRYPTO_gcm128_decrypt()
1096 ++ctr; in CRYPTO_gcm128_decrypt()
1099 ctx->Yi.d[3] = BSWAP4(ctr); in CRYPTO_gcm128_decrypt()
1101 PUTU32(ctx->Yi.c + 12, ctr); in CRYPTO_gcm128_decrypt()
1104 ctx->Yi.d[3] = ctr; in CRYPTO_gcm128_decrypt()
1121 ++ctr; in CRYPTO_gcm128_decrypt()
1124 ctx->Yi.d[3] = BSWAP4(ctr); in CRYPTO_gcm128_decrypt()
1126 PUTU32(ctx->Yi.c + 12, ctr); in CRYPTO_gcm128_decrypt()
1129 ctx->Yi.d[3] = ctr; in CRYPTO_gcm128_decrypt()
1143 ++ctr; in CRYPTO_gcm128_decrypt()
1146 ctx->Yi.d[3] = BSWAP4(ctr); in CRYPTO_gcm128_decrypt()
1148 PUTU32(ctx->Yi.c + 12, ctr); in CRYPTO_gcm128_decrypt()
1151 ctx->Yi.d[3] = ctr; in CRYPTO_gcm128_decrypt()
1165 ++ctr; in CRYPTO_gcm128_decrypt()
1168 ctx->Yi.d[3] = BSWAP4(ctr); in CRYPTO_gcm128_decrypt()
1170 PUTU32(ctx->Yi.c + 12, ctr); in CRYPTO_gcm128_decrypt()
1173 ctx->Yi.d[3] = ctr; in CRYPTO_gcm128_decrypt()
1199 ++ctr; in CRYPTO_gcm128_decrypt()
1202 ctx->Yi.d[3] = BSWAP4(ctr); in CRYPTO_gcm128_decrypt()
1204 PUTU32(ctx->Yi.c + 12, ctr); in CRYPTO_gcm128_decrypt()
1207 ctx->Yi.d[3] = ctr; in CRYPTO_gcm128_decrypt()
1238 unsigned int n, ctr, mres; in CRYPTO_gcm128_encrypt_ctr32()
1270 ctr = BSWAP4(ctx->Yi.d[3]); in CRYPTO_gcm128_encrypt_ctr32()
1272 ctr = GETU32(ctx->Yi.c + 12); in CRYPTO_gcm128_encrypt_ctr32()
1275 ctr = ctx->Yi.d[3]; in CRYPTO_gcm128_encrypt_ctr32()
1315 ctr += GHASH_CHUNK / 16; in CRYPTO_gcm128_encrypt_ctr32()
1318 ctx->Yi.d[3] = BSWAP4(ctr); in CRYPTO_gcm128_encrypt_ctr32()
1320 PUTU32(ctx->Yi.c + 12, ctr); in CRYPTO_gcm128_encrypt_ctr32()
1323 ctx->Yi.d[3] = ctr; in CRYPTO_gcm128_encrypt_ctr32()
1335 ctr += (unsigned int)j; in CRYPTO_gcm128_encrypt_ctr32()
1338 ctx->Yi.d[3] = BSWAP4(ctr); in CRYPTO_gcm128_encrypt_ctr32()
1340 PUTU32(ctx->Yi.c + 12, ctr); in CRYPTO_gcm128_encrypt_ctr32()
1343 ctx->Yi.d[3] = ctr; in CRYPTO_gcm128_encrypt_ctr32()
1360 ++ctr; in CRYPTO_gcm128_encrypt_ctr32()
1363 ctx->Yi.d[3] = BSWAP4(ctr); in CRYPTO_gcm128_encrypt_ctr32()
1365 PUTU32(ctx->Yi.c + 12, ctr); in CRYPTO_gcm128_encrypt_ctr32()
1368 ctx->Yi.d[3] = ctr; in CRYPTO_gcm128_encrypt_ctr32()
1392 unsigned int n, ctr, mres; in CRYPTO_gcm128_decrypt_ctr32()
1424 ctr = BSWAP4(ctx->Yi.d[3]); in CRYPTO_gcm128_decrypt_ctr32()
1426 ctr = GETU32(ctx->Yi.c + 12); in CRYPTO_gcm128_decrypt_ctr32()
1429 ctr = ctx->Yi.d[3]; in CRYPTO_gcm128_decrypt_ctr32()
1472 ctr += GHASH_CHUNK / 16; in CRYPTO_gcm128_decrypt_ctr32()
1475 ctx->Yi.d[3] = BSWAP4(ctr); in CRYPTO_gcm128_decrypt_ctr32()
1477 PUTU32(ctx->Yi.c + 12, ctr); in CRYPTO_gcm128_decrypt_ctr32()
1480 ctx->Yi.d[3] = ctr; in CRYPTO_gcm128_decrypt_ctr32()
1504 ctr += (unsigned int)j; in CRYPTO_gcm128_decrypt_ctr32()
1507 ctx->Yi.d[3] = BSWAP4(ctr); in CRYPTO_gcm128_decrypt_ctr32()
1509 PUTU32(ctx->Yi.c + 12, ctr); in CRYPTO_gcm128_decrypt_ctr32()
1512 ctx->Yi.d[3] = ctr; in CRYPTO_gcm128_decrypt_ctr32()
1519 ++ctr; in CRYPTO_gcm128_decrypt_ctr32()
1522 ctx->Yi.d[3] = BSWAP4(ctr); in CRYPTO_gcm128_decrypt_ctr32()
1524 PUTU32(ctx->Yi.c + 12, ctr); in CRYPTO_gcm128_decrypt_ctr32()
1527 ctx->Yi.d[3] = ctr; in CRYPTO_gcm128_decrypt_ctr32()