kokke / kokke/tiny-AES-c

Does this library support not aligned buffers?

Open
#240 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
5k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

I am using the `AES_CTR_xcrypt_buffer(&tx, chunk_data, chunk_len)` method on a microcontroller with an `lwip` stack, from which data are not 4-bytes aligned.

Can this library handle this?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by inspecting the AES_CTR_xcrypt_buffer implementation for assumptions about buffer alignment and reviewing how lwip supplies chunk_data. Determine whether unaligned buffers are supported, and document or reproduce the result with a focused test if the repository has relevant test coverage.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
cryptography, embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.