Home
last modified time | relevance | path

Searched refs:block (Results 1 – 2 of 2) sorted by relevance

/optee_client/tee-supplicant/src/
A Dsha2.c203 memcpy(&ctx->block[ctx->len], message, rem_len); in sha256_update()
215 sha256_transf(ctx, ctx->block, 1); in sha256_update()
220 memcpy(ctx->block, &shifted_message[block_nb << 6], in sha256_update()
240 memset(ctx->block + ctx->len, 0, pm_len - ctx->len); in sha256_final()
241 ctx->block[ctx->len] = 0x80; in sha256_final()
242 UNPACK32(len_b, ctx->block + pm_len - 4); in sha256_final()
244 sha256_transf(ctx, ctx->block, block_nb); in sha256_final()
A Dsha2.h57 unsigned char block[2 * SHA256_BLOCK_SIZE]; member

Completed in 3 milliseconds