Searched refs:counter_mask (Results 1 – 2 of 2) sorted by relevance
148 uint64_t counter_mask = ntohll(0x00000000ffffffffULL); in gcm_mode_encrypt_contiguous_blocks() local184 counter = ntohll(ctx->gcm_cb[1] & counter_mask); in gcm_mode_encrypt_contiguous_blocks()186 counter &= counter_mask; in gcm_mode_encrypt_contiguous_blocks()187 ctx->gcm_cb[1] = (ctx->gcm_cb[1] & ~counter_mask) | counter; in gcm_mode_encrypt_contiguous_blocks()257 uint64_t counter_mask = ntohll(0x00000000ffffffffULL); in gcm_encrypt_final() local280 counter = ntohll(ctx->gcm_cb[1] & counter_mask); in gcm_encrypt_final()282 counter &= counter_mask; in gcm_encrypt_final()283 ctx->gcm_cb[1] = (ctx->gcm_cb[1] & ~counter_mask) | counter; in gcm_encrypt_final()336 uint64_t counter_mask = ntohll(0x00000000ffffffffULL); in gcm_decrypt_incomplete_block() local343 counter = ntohll(ctx->gcm_cb[1] & counter_mask); in gcm_decrypt_incomplete_block()[all …]
1454 uint64_t counter_mask; in core_pcbe_sample() local1470 counter_mask = mask_gpc; in core_pcbe_sample()1472 counter_mask = mask_ffc; in core_pcbe_sample()1474 curpic = curpic & counter_mask; in core_pcbe_sample()1479 *daddr += counter_mask - (cfg->core_rawpic - curpic) + in core_pcbe_sample()1482 cfg->core_rawpic = *daddr & counter_mask; in core_pcbe_sample()