sha256_mb_mgr_ce: 'state->ldata[idx].job_in_lane->len' incorrect update #113
Labels
No labels
announcement
bug
duplicate
enhancement
help wanted
invalid
Next release
question
sighting
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-intel/isa-l_crypto#113
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
I'm not sure how this works in the arm portion. job.len is used elsewhere as length in number of blocks. Have you seen it cause any issues?
Thanks. No issues have been found so far. It's just that I have doubts when reading the source code.