Skip to content

HASH is mismatching for larger size of file #99

Description

@Ashok-d-attikatti

Hello Team,

I have attached the file here that is the HASH generator for the SHA
sha.txt

Could you give me a suggestion for this code?

We are checking the hardware crypto accelerator using the /dev/crypto, and the code is working as expected for the lower file size.
If it is more than the 20/30MB file our system will hang because it cannot handle the large memory at a time. So we made changes in the code as below in the code
sha1.txt
but in this code, we are not able to get the HASH value as we expected.

Can anyone suggest a different way to handle the whole data?

Thanks,
Ashoka A D

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions