Skip to content

jets: avoid reallocation in aes-cbc#1024

Draft
joemfb wants to merge 1 commit into
jb/close-sslfrom
jb/no-realloc
Draft

jets: avoid reallocation in aes-cbc#1024
joemfb wants to merge 1 commit into
jb/close-sslfrom
jb/no-realloc

Conversation

@joemfb
Copy link
Copy Markdown
Collaborator

@joemfb joemfb commented Jun 2, 2026

This PR uses the unsafe aes-cbc interface from urbit/urcrypt#22 avoid reallocating buffers for padding (and further reducing allocations with the slab api). It also fixes a jet mismatch in the handling of empty messages (by setting the minimum bloq=7 length of the input to 1). The appropriate test cases are in urbit/urbit#7357

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant