Searched refs:partial_block_buffer_length (Results 1 – 6 of 6) sorted by relevance
145 if (ctx->partial_block_buffer_length == 0 && in sha1_ctx_mgr_resubmit()163 ctx->partial_block_buffer_length = copy_len; in sha1_ctx_mgr_resubmit()285 if (ctx->partial_block_buffer_length || len < SHA1_BLOCK_SIZE) { in sha1_ctx_mgr_submit()291 ctx->partial_block_buffer_length; in sha1_ctx_mgr_submit()297 memcpy(&ctx->partial_block_buffer[ctx->partial_block_buffer_length], in sha1_ctx_mgr_submit()300 ctx->partial_block_buffer_length += copy_len; in sha1_ctx_mgr_submit()310 assert(ctx->partial_block_buffer_length <= SHA1_BLOCK_SIZE); in sha1_ctx_mgr_submit()316 if (ctx->partial_block_buffer_length >= SHA1_BLOCK_SIZE) { in sha1_ctx_mgr_submit()317 ctx->partial_block_buffer_length = 0; in sha1_ctx_mgr_submit()367 sctx->partial_block_buffer_length = 0; in sha1_mb_init()
130 uint32_t partial_block_buffer_length; member
146 if (ctx->partial_block_buffer_length == 0 && in sha256_ctx_mgr_resubmit()164 ctx->partial_block_buffer_length = copy_len; in sha256_ctx_mgr_resubmit()282 if (ctx->partial_block_buffer_length || len < SHA256_BLOCK_SIZE) { in sha256_ctx_mgr_submit()288 ctx->partial_block_buffer_length; in sha256_ctx_mgr_submit()295 &ctx->partial_block_buffer[ctx->partial_block_buffer_length], in sha256_ctx_mgr_submit()298 ctx->partial_block_buffer_length += copy_len; in sha256_ctx_mgr_submit()305 assert(ctx->partial_block_buffer_length <= SHA256_BLOCK_SIZE); in sha256_ctx_mgr_submit()311 if (ctx->partial_block_buffer_length >= SHA256_BLOCK_SIZE) { in sha256_ctx_mgr_submit()312 ctx->partial_block_buffer_length = 0; in sha256_ctx_mgr_submit()366 sctx->partial_block_buffer_length = 0; in sha256_mb_init()
146 if (ctx->partial_block_buffer_length == 0 && in sha512_ctx_mgr_resubmit()164 ctx->partial_block_buffer_length = copy_len; in sha512_ctx_mgr_resubmit()302 if (ctx->partial_block_buffer_length || len < SHA512_BLOCK_SIZE) { in sha512_ctx_mgr_submit()307 ctx->partial_block_buffer_length; in sha512_ctx_mgr_submit()314 (&ctx->partial_block_buffer[ctx->partial_block_buffer_length], in sha512_ctx_mgr_submit()317 ctx->partial_block_buffer_length += copy_len; in sha512_ctx_mgr_submit()326 assert(ctx->partial_block_buffer_length <= SHA512_BLOCK_SIZE); in sha512_ctx_mgr_submit()331 if (ctx->partial_block_buffer_length >= SHA512_BLOCK_SIZE) { in sha512_ctx_mgr_submit()332 ctx->partial_block_buffer_length = 0; in sha512_ctx_mgr_submit()395 sctx->partial_block_buffer_length = 0; in sha512_mb_init()
124 uint32_t partial_block_buffer_length; member