Searched refs:block_nb (Results 1 - 4 of 4) sorted by relevance

/external/vboot_reference/firmware/2lib/
H A D2sha256.c131 unsigned int block_nb)
144 for (i = 0; i < (int) block_nb; i++) {
250 unsigned int block_nb; local
265 block_nb = new_size / VB2_SHA256_BLOCK_SIZE;
270 vb2_sha256_transform(ctx, shifted_data, block_nb);
274 memcpy(ctx->block, &shifted_data[block_nb << 6],
278 ctx->total_size += (block_nb + 1) << 6;
283 unsigned int block_nb; local
290 block_nb = (1 + ((VB2_SHA256_BLOCK_SIZE - 9)
294 pm_size = block_nb <<
129 vb2_sha256_transform(struct vb2_sha256_context *ctx, const uint8_t *message, unsigned int block_nb) argument
[all...]
H A D2sha512.c174 unsigned int block_nb)
183 for (i = 0; i < (int) block_nb; i++) {
280 unsigned int block_nb; local
295 block_nb = new_size / VB2_SHA512_BLOCK_SIZE;
300 vb2_sha512_transform(ctx, shifted_data, block_nb);
304 memcpy(ctx->block, &shifted_data[block_nb << 7],
308 ctx->total_size += (block_nb + 1) << 7;
313 unsigned int block_nb; local
321 block_nb = 1 + ((VB2_SHA512_BLOCK_SIZE - 17)
325 pm_size = block_nb <<
172 vb2_sha512_transform(struct vb2_sha512_context *ctx, const uint8_t *message, unsigned int block_nb) argument
[all...]
/external/vboot_reference/firmware/lib/cryptolib/
H A Dsha256.c130 unsigned int block_nb) {
141 for (i = 0; i < (int) block_nb; i++) {
246 unsigned int block_nb; local
261 block_nb = new_len / SHA256_BLOCK_SIZE;
266 SHA256_transform(ctx, shifted_data, block_nb);
270 Memcpy(ctx->block, &shifted_data[block_nb << 6],
274 ctx->tot_len += (block_nb + 1) << 6;
278 unsigned int block_nb; local
285 block_nb = (1 + ((SHA256_BLOCK_SIZE - 9)
289 pm_len = block_nb <<
129 SHA256_transform(VB_SHA256_CTX* ctx, const uint8_t* message, unsigned int block_nb) argument
[all...]
H A Dsha512.c173 unsigned int block_nb) {
180 for (i = 0; i < (int) block_nb; i++) {
268 unsigned int block_nb; local
283 block_nb = new_len / SHA512_BLOCK_SIZE;
288 SHA512_transform(ctx, shifted_data, block_nb);
292 Memcpy(ctx->block, &shifted_data[block_nb << 7],
296 ctx->tot_len += (block_nb + 1) << 7;
301 unsigned int block_nb; local
309 block_nb = 1 + ((SHA512_BLOCK_SIZE - 17)
313 pm_len = block_nb <<
172 SHA512_transform(VB_SHA512_CTX* ctx, const uint8_t* message, unsigned int block_nb) argument
[all...]

Completed in 72 milliseconds