Searched refs:partial_block_buffer_length (Results 1 – 6 of 6) sorted by relevance
154 if (ctx->partial_block_buffer_length == 0 && in sha256_ctx_mgr_resubmit()172 ctx->partial_block_buffer_length = copy_len; in sha256_ctx_mgr_resubmit()276 ctx->partial_block_buffer_length = 0; in sha256_ctx_mgr_submit()303 if (ctx->partial_block_buffer_length || len < SHA256_BLOCK_SIZE) { in sha256_ctx_mgr_submit()309 ctx->partial_block_buffer_length; in sha256_ctx_mgr_submit()316 &ctx->partial_block_buffer[ctx->partial_block_buffer_length], in sha256_ctx_mgr_submit()319 ctx->partial_block_buffer_length += copy_len; in sha256_ctx_mgr_submit()326 assert(ctx->partial_block_buffer_length <= SHA256_BLOCK_SIZE); in sha256_ctx_mgr_submit()332 if (ctx->partial_block_buffer_length >= SHA256_BLOCK_SIZE) { in sha256_ctx_mgr_submit()333 ctx->partial_block_buffer_length = 0; in sha256_ctx_mgr_submit()[all …]
132 uint32_t partial_block_buffer_length; member
152 if (ctx->partial_block_buffer_length == 0 && in sha1_ctx_mgr_resubmit()170 ctx->partial_block_buffer_length = copy_len; in sha1_ctx_mgr_resubmit()277 ctx->partial_block_buffer_length = 0; in sha1_ctx_mgr_submit()307 if (ctx->partial_block_buffer_length || len < SHA1_BLOCK_SIZE) { in sha1_ctx_mgr_submit()313 ctx->partial_block_buffer_length; in sha1_ctx_mgr_submit()319 memcpy(&ctx->partial_block_buffer[ctx->partial_block_buffer_length], in sha1_ctx_mgr_submit()322 ctx->partial_block_buffer_length += copy_len; in sha1_ctx_mgr_submit()332 assert(ctx->partial_block_buffer_length <= SHA1_BLOCK_SIZE); in sha1_ctx_mgr_submit()338 if (ctx->partial_block_buffer_length >= SHA1_BLOCK_SIZE) { in sha1_ctx_mgr_submit()339 ctx->partial_block_buffer_length = 0; in sha1_ctx_mgr_submit()[all …]
155 if (ctx->partial_block_buffer_length == 0 && in sha512_ctx_mgr_resubmit()173 ctx->partial_block_buffer_length = copy_len; in sha512_ctx_mgr_resubmit()296 ctx->partial_block_buffer_length = 0; in sha512_ctx_mgr_submit()326 if (ctx->partial_block_buffer_length || len < SHA512_BLOCK_SIZE) { in sha512_ctx_mgr_submit()331 ctx->partial_block_buffer_length; in sha512_ctx_mgr_submit()338 (&ctx->partial_block_buffer[ctx->partial_block_buffer_length], in sha512_ctx_mgr_submit()341 ctx->partial_block_buffer_length += copy_len; in sha512_ctx_mgr_submit()350 assert(ctx->partial_block_buffer_length <= SHA512_BLOCK_SIZE); in sha512_ctx_mgr_submit()355 if (ctx->partial_block_buffer_length >= SHA512_BLOCK_SIZE) { in sha512_ctx_mgr_submit()356 ctx->partial_block_buffer_length = 0; in sha512_ctx_mgr_submit()[all …]
126 uint32_t partial_block_buffer_length; member