/external/mmc-utils/3rdparty/hmac_sha/ |
sha2.c | 217 unsigned int block_nb) 229 for (i = 0; i < (int) block_nb; i++) { 361 unsigned int block_nb; local 376 block_nb = new_len / SHA256_BLOCK_SIZE; 381 sha256_transf(ctx, shifted_message, block_nb); 385 memcpy(ctx->block, &shifted_message[block_nb << 6], 389 ctx->tot_len += (block_nb + 1) << 6; 394 unsigned int block_nb; local 402 block_nb = (1 + ((SHA256_BLOCK_SIZE - 9) 406 pm_len = block_nb << 6 558 unsigned int block_nb; local 591 unsigned int block_nb; local 660 unsigned int block_nb; local 693 unsigned int block_nb; local 760 unsigned int block_nb; local 793 unsigned int block_nb; local [all...] |
/external/vboot_reference/firmware/2lib/ |
2sha256.c | 131 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 << 6 [all...] |
2sha512.c | 174 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 << 7 [all...] |
/external/vboot_reference/firmware/lib/cryptolib/ |
sha256.c | 130 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 << 6 [all...] |
sha512.c | 173 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 << 7 [all...] |