bend-osdev-cbc@0.1.0.0 checks
0x4ff94cd9a03eee1d38142effbcc617fb
bend-osdev-cbc: every file of the package, so that bend --publish sends
bend-osdev-cbc@0.1.0.0 by ScottMoore0
- Published
- 2026-10-25
- Size
- 52,942 bytes, 8 files
- License
- MIT (LICENSE)
- Declarations
- 3 laws (3 proved), 92 defs, 0 types
Import
import bend-osdev-cbc@0.1.0.0/LAWS.bend as LAWS import 0x4ff94cd9a03eee1d38142effbcc617fb/LAWS.bend as LAWS import bend-osdev-cbc@0.1.0.0/LAWS_padded.bend as LAWS_padded import 0x4ff94cd9a03eee1d38142effbcc617fb/LAWS_padded.bend as LAWS_padded import bend-osdev-cbc@0.1.0.0/PROOF.bend as PROOF import 0x4ff94cd9a03eee1d38142effbcc617fb/PROOF.bend as PROOF import bend-osdev-cbc@0.1.0.0/PROOF_padded.bend as PROOF_padded import 0x4ff94cd9a03eee1d38142effbcc617fb/PROOF_padded.bend as PROOF_padded import bend-osdev-cbc@0.1.0.0/cbc.bend as Cbc import 0x4ff94cd9a03eee1d38142effbcc617fb/cbc.bend as Cbc import bend-osdev-cbc@0.1.0.0/check.bend as Check import 0x4ff94cd9a03eee1d38142effbcc617fb/check.bend as Check import bend-osdev-cbc@0.1.0.0/package.bend as Package import 0x4ff94cd9a03eee1d38142effbcc617fb/package.bend as Package
Modules
- LAWS.bend 2 declarations, 2 laws — Laws about CBC (cbc.bend), for every cipher given as the template
- LAWS_padded.bend 1 declarations, 1 laws — CBC with PKCS #7 padding (cbc.bend's encrypt_padded and decrypt_padded):
- PROOF.bend 38 declarations — Proofs of LAWS.bend (CBC). The byte layer's lemmas the modes share
- PROOF_padded.bend 17 declarations
- cbc.bend 23 declarations — CBC, cipher block chaining (NIST SP 800-38A, section 6.2), over any 128-bit
- check.bend 14 declarations — CBC over a toy permutation (below): the block and byte layers both ways,
- package.bend 0 declarations — bend-osdev-cbc: every file of the package, so that bend --publish sends
Other files
- LICENSE 1,098 bytes
Dependencies
- bend-osdev-bytes@0.1.1.0 via
LAWS.bend: import bend-osdev-bytes@0.1.1.0/bytes.bend as B - bend-osdev-mode-core@0.1.0.0 via
LAWS.bend: import bend-osdev-mode-core@0.1.0.0/mode_core.bend as M - bend-osdev-pkcs7@0.1.0.0 via
PROOF_padded.bend: import bend-osdev-pkcs7@0.1.0.0/pkcs7.bend as P
Dependents
- bend-osdev-camellia@0.1.0.0 via
check.bend: import bend-osdev-cbc@0.1.0.0/cbc.bend as CB - bend-osdev-aria@0.1.0.0 via
check.bend: import bend-osdev-cbc@0.1.0.0/cbc.bend as CB - 0xda0a7922 via
check.bend: import bend-osdev-cbc@0.1.0.0/cbc.bend as CB
Status on bend 2.0.40
| File | Status | Checker says | Time |
|---|---|---|---|
| LAWS.bend | open laws/TODOs | 2 TODOs found. Checked alone, a law without a def is a TODO; all of them are proved in files that check, so the package counts this file as checks. outputSOME PROOFS FAIL Error: 2 TODOs found. The code is incomplete, and not a valid proof yet. | 0.6 s |
| LAWS_padded.bend | open laws/TODOs | 1 TODO found. Checked alone, a law without a def is a TODO; all of them are proved in files that check, so the package counts this file as checks. outputSOME PROOFS FAIL Error: 1 TODO found. The code is incomplete, and not a valid proof yet. | 0.6 s |
| PROOF.bend | checks | ALL PROOFS CHECK | 4.7 s |
| PROOF_padded.bend | checks | ALL PROOFS CHECK | 5.4 s |
| cbc.bend | checks | ALL PROOFS CHECK | 0.4 s |
| check.bend | checks | ALL PROOFS CHECK | 0.6 s |
| package.bend | checks | ALL PROOFS CHECK | 5.6 s |