Lines Matching refs:gcm_cb
160 lastp = (uint8_t *)ctx->gcm_cb; in gcm_mode_encrypt_contiguous_blocks()
184 counter = ntohll(ctx->gcm_cb[1] & 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()
189 encrypt_block(ctx->gcm_keysched, (uint8_t *)ctx->gcm_cb, in gcm_mode_encrypt_contiguous_blocks()
280 counter = ntohll(ctx->gcm_cb[1] & counter_mask); in gcm_encrypt_final()
283 ctx->gcm_cb[1] = (ctx->gcm_cb[1] & ~counter_mask) | counter; in gcm_encrypt_final()
285 encrypt_block(ctx->gcm_keysched, (uint8_t *)ctx->gcm_cb, in gcm_encrypt_final()
343 counter = ntohll(ctx->gcm_cb[1] & counter_mask); in gcm_decrypt_incomplete_block()
346 ctx->gcm_cb[1] = (ctx->gcm_cb[1] & ~counter_mask) | counter; in gcm_decrypt_incomplete_block()
360 encrypt_block(ctx->gcm_keysched, (uint8_t *)ctx->gcm_cb, counterp); in gcm_decrypt_incomplete_block()
449 counter = ntohll(ctx->gcm_cb[1] & counter_mask); in gcm_decrypt_final()
452 ctx->gcm_cb[1] = (ctx->gcm_cb[1] & ~counter_mask) | counter; in gcm_decrypt_final()
455 encrypt_block(ctx->gcm_keysched, (uint8_t *)ctx->gcm_cb, cbp); in gcm_decrypt_final()
525 cb = (uint8_t *)ctx->gcm_cb; in gcm_format_initial_blocks()