HomeSort by relevance Sort by last modified time
    Searched refs:VB2_SHA256_BLOCK_SIZE (Results 1 - 2 of 2) sorted by null

  /external/vboot_reference/firmware/2lib/include/
2sha.h 45 #define VB2_SHA256_BLOCK_SIZE 64
51 uint8_t block[2 * VB2_SHA256_BLOCK_SIZE];
  /external/vboot_reference/firmware/2lib/
2sha256.c 254 tmp_size = VB2_SHA256_BLOCK_SIZE - ctx->size;
259 if (ctx->size + size < VB2_SHA256_BLOCK_SIZE) {
265 block_nb = new_size / VB2_SHA256_BLOCK_SIZE;
272 rem_size = new_size % VB2_SHA256_BLOCK_SIZE;
290 block_nb = (1 + ((VB2_SHA256_BLOCK_SIZE - 9)
291 < (ctx->size % VB2_SHA256_BLOCK_SIZE)));

Completed in 280 milliseconds