intel / intel/isa-l_crypto

sha256_mb_mgr_ce: 'state->ldata[idx].job_in_lane->len' incorrect update

Open
#113 3 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
C
Stars
301
Forks
91
PR merge metrics
No merged PRs in 30d

Description

sha256_mb/aarch64/sha256_mb_mgr_ce.c:
In block( line 169- 175), local variable 'len' shows 'block_num << 4', while 'state->ldata[idx].job_in_lane->len' stands for 'block_num'.

In this way, an assignment error occurred in line 172 'state->ldata[i].job_in_lane->len -= len'. Would this issue cause potential problems? Look forward to anyone's response.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.