Lines Matching refs:ccm_cb
77 lastp = (uint8_t *)ctx->ccm_cb;
108 /* ccm_cb is the counter block */
109 encrypt_block(ctx->ccm_keysched, (uint8_t *)ctx->ccm_cb,
118 counter = ntohll(ctx->ccm_cb[1] & ctx->ccm_counter_mask);
121 ctx->ccm_cb[1] =
122 (ctx->ccm_cb[1] & ~(ctx->ccm_counter_mask)) | counter;
194 ctx->ccm_cb[1] = (ctx->ccm_cb[1] & ~(ctx->ccm_counter_mask)) | counter;
197 encrypt_block(ctx->ccm_keysched, (uint8_t *)ctx->ccm_cb, counterp);
251 encrypt_block(ctx->ccm_keysched, (uint8_t *)ctx->ccm_cb, lastp);
344 encrypt_block(ctx->ccm_keysched, (uint8_t *)ctx->ccm_cb, counterp);
465 /* Calculate the counter mode, ccm_cb is the counter block */
467 encrypt_block(ctx->ccm_keysched, (uint8_t *)ctx->ccm_cb, cbp);
473 counter = ntohll(ctx->ccm_cb[1] & ctx->ccm_counter_mask);
476 ctx->ccm_cb[1] =
477 (ctx->ccm_cb[1] & ~(ctx->ccm_counter_mask)) | counter;
679 cb = (uint8_t *)aes_ctx->ccm_cb;