Skip to content

Remove implementation of BlockSizeUser for XOFs#856

Merged
newpavlov merged 3 commits into
masterfrom
rm_block_size_impls
May 12, 2026
Merged

Remove implementation of BlockSizeUser for XOFs#856
newpavlov merged 3 commits into
masterfrom
rm_block_size_impls

Conversation

@newpavlov
Copy link
Copy Markdown
Member

The primary use of BlockSizeUser is implementation of HMAC. Our implementation in hmac requires fixed output, so XOFs can not be used with it (without XofFixedWrapper). XOFs should not be used with HMAC either way, so we probably can drop the impls.

@newpavlov newpavlov changed the title Remove BlockSizeUser impls for XOFs Remove implementation of BlockSizeUser for XOFs May 12, 2026
@newpavlov newpavlov merged commit 8a46c3b into master May 12, 2026
38 checks passed
@newpavlov newpavlov deleted the rm_block_size_impls branch May 12, 2026 12:00
@newpavlov newpavlov mentioned this pull request May 12, 2026
newpavlov added a commit that referenced this pull request May 12, 2026
### Added
- `CShake128Reader` and `CShake256Reader` type aliases ([#855])

### Changed
- Internal implementation by removing unnecessary buffering ([#849])
- `Rate: BlockSizes` generic parameter to `const RATE: usize` ([#849])

### Removed
- Implementations of `BlockSizeUser` ([#856])

[#849]: #849
[#855]: #855
[#856]: #856
@newpavlov newpavlov mentioned this pull request May 12, 2026
newpavlov added a commit that referenced this pull request May 12, 2026
### Changed
- Internal implementation by removing unnecessary buffering ([#849])
- `Rate: BlockSizes` generic parameter to `const RATE: usize` ([#849])

### Removed
- Implementations of `BlockSizeUser` ([#856])

[#849]: #849
[#856]: #856
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