Lines Matching defs:uint8_t
45 int (*cipher)(const void *ks, const uint8_t *pt, uint8_t *ct),
46 void (*xor_block)(uint8_t *, uint8_t *))
50 uint8_t *datap = (uint8_t *)data;
51 uint8_t *blockp;
52 uint8_t *lastp;
55 uint8_t *out_data_1;
56 uint8_t *out_data_2;
63 (uint8_t *)ctx->ctr_remainder + ctx->ctr_remainder_len,
70 lastp = (uint8_t *)ctx->ctr_cb;
82 bcopy(datap, &((uint8_t *)ctx->ctr_remainder)
85 blockp = (uint8_t *)ctx->ctr_remainder;
91 cipher(ctx->ctr_keysched, (uint8_t *)ctx->ctr_cb,
92 (uint8_t *)ctx->ctr_tmp);
94 lastp = (uint8_t *)ctx->ctr_tmp;
169 int (*encrypt_block)(const void *, const uint8_t *, uint8_t *))
171 uint8_t *lastp;
174 uint8_t *out_data_1;
175 uint8_t *out_data_2;
177 uint8_t *p;
183 encrypt_block(ctx->ctr_keysched, (uint8_t *)ctx->ctr_cb,
184 (uint8_t *)ctx->ctr_tmp);
186 lastp = (uint8_t *)ctx->ctr_tmp;
187 p = (uint8_t *)ctx->ctr_remainder;
198 bcopy((uint8_t *)p + out_data_1_len,
207 ctr_init_ctx(ctr_ctx_t *ctr_ctx, ulong_t count, uint8_t *cb,
208 void (*copy_block)(uint8_t *, uint8_t *))
229 ctr_ctx->ctr_lastp = (uint8_t *)&ctr_ctx->ctr_cb[0];