HomePhabricator
Diffusion Comm e44805bae320

[lib] Introduce superblock padding

Description

[lib] Introduce superblock padding

Summary:
Part of ENG-3099

This diff implements modified PKCS#7 padding, which operates on block basis, instead of byte basis.
It is described in this Notion doc.

Depends on D7059

Test Plan: Added unit tests. Also tested using my CLI tool and hex editor / viewer (e.g. xxd tool). The CLI tool is also available in the Notion doc above

Reviewers: atul, marcin, tomek

Reviewed By: atul

Subscribers: anunay, ashoat, tomek

Differential Revision: https://phab.comm.dev/D7060

Details

Provenance
bartekAuthored on Mar 13 2023, 7:20 AM
Reviewer
atul
Differential Revision
D7060: [lib] Introduce superblock padding
Parents
rCOMMb8bc1c09f374: [lib] Introduce PKCS#7 padding
Branches
Unknown
Tags
Unknown