Searched refs:left_len (Results 1 – 1 of 1) sorted by relevance
183 static void hash_sha256_pad_update(uint32_t *iv, const void *left_msg, uint64_t left_len, uint64_t … in hash_sha256_pad_update() argument190 if (left_len != 0) { in hash_sha256_pad_update()191 hvb_memcpy(sha256_pad, left_msg, (uint32_t)left_len); in hash_sha256_pad_update()195 pad_ptr[left_len] = 0x80; // padding 0x80 in hash_sha256_pad_update()196 left_len++; in hash_sha256_pad_update()198 if (left_len + PAD_INFO_BYTE_LEN_SHA256 <= BLK_BYTE_SIZE_SHA256) { in hash_sha256_pad_update()204 fill_zero_len = word2byte(pad_word_len) - (uint32_t)left_len - PAD_INFO_BYTE_LEN_SHA256; in hash_sha256_pad_update()205 hvb_memset(pad_ptr + left_len, 0, fill_zero_len); in hash_sha256_pad_update()286 uint32_t left_len; in hash_calc_update() local305 left_len = blk_len - hash_ctx->buf_len; in hash_calc_update()[all …]