Skip to content

crypt_and_hash decrypt fail with AES-128-CTR alg #7417

@z789

Description

@z789

Summary

crypt_and_hash is not working when decrypt with AES-128-CTR alg.

./crypt_and_hash 1 file.txt.enc file.txt.dec AES-128-CTR SHA512 123456
File content not a multiple of the block size (16).

https://github.com/Mbed-TLS/mbedtls/blob/development/programs/aes/crypt_and_hash.c#L405-L414

Metadata

Metadata

Labels

bugsize-sEstimated task size: small (~2d)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions