Lines Matching refs:di
164 const struct ccdigest_info *di = custom->di;
168 cchmac_ctx_decl(di->state_size, di->block_size, ctx);
170 cchmac_init(di, ctx, state->keysize, state->key);
172 cchmac_update(di, ctx, state->vsize, state->v);
173 cchmac_update(di, ctx, 1, &cZero);
174 if (da && daLen) cchmac_update(di, ctx, daLen, da);
175 if (db && dbLen) cchmac_update(di, ctx, dbLen, db);
176 if (dc && dcLen) cchmac_update(di, ctx, dcLen, dc);
177 cchmac_final(di, ctx, state->key);
180 cchmac(di, state->keysize, state->key, state->vsize, state->v, state->v);
188 cchmac_init(di, ctx, state->keysize, state->key);
189 cchmac_update(di, ctx, state->vsize, state->v);
190 cchmac_update(di, ctx, 1, &cOne);
191 if (da && daLen) cchmac_update(di, ctx, daLen, da);
192 if (db && dbLen) cchmac_update(di, ctx, dbLen, db);
193 if (dc && dcLen) cchmac_update(di, ctx, dcLen, dc);
194 cchmac_final(di, ctx, state->key);
197 cchmac(di, state->keysize, state->key, state->vsize, state->v, state->v);
255 const struct ccdigest_info *di = NULL;
262 di = custom->di;
263 state->vsize = di->output_size; // TODO: state_size? or output_size
264 state->keysize = di->output_size; // TODO: state size?
348 const struct ccdigest_info *di = custom->di;
367 cchmac(di, state->keysize, state->key, state->vsize, state->v, state->v);
368 state->bytesLeft = di->output_size;//di->output_size; state->vsize