bend-osdev-cipher-modes@0.1.0.0 checks
0xf4b936e0e6b2608080d2f02bb3ce9abe
bend-osdev-cipher-modes: every file of the package, so that bend --publish sends
bend-osdev-cipher-modes@0.1.0.0 by ScottMoore0
- Published
- 2026-10-23
- Size
- 333,823 bytes, 13 files
- License
- MIT (LICENSE)
- Declarations
- 22 laws (22 proved), 416 defs, 6 types
Import
import bend-osdev-cipher-modes@0.1.0.0/LAWS.bend as LAWS import 0xf4b936e0e6b2608080d2f02bb3ce9abe/LAWS.bend as LAWS import bend-osdev-cipher-modes@0.1.0.0/PROOF.bend as PROOF import 0xf4b936e0e6b2608080d2f02bb3ce9abe/PROOF.bend as PROOF import bend-osdev-cipher-modes@0.1.0.0/aes.bend as Aes import 0xf4b936e0e6b2608080d2f02bb3ce9abe/aes.bend as Aes import bend-osdev-cipher-modes@0.1.0.0/aes_modes.bend as Aes_modes import 0xf4b936e0e6b2608080d2f02bb3ce9abe/aes_modes.bend as Aes_modes import bend-osdev-cipher-modes@0.1.0.0/cbc.bend as Cbc import 0xf4b936e0e6b2608080d2f02bb3ce9abe/cbc.bend as Cbc import bend-osdev-cipher-modes@0.1.0.0/ccm.bend as Ccm import 0xf4b936e0e6b2608080d2f02bb3ce9abe/ccm.bend as Ccm import bend-osdev-cipher-modes@0.1.0.0/check.bend as Check import 0xf4b936e0e6b2608080d2f02bb3ce9abe/check.bend as Check import bend-osdev-cipher-modes@0.1.0.0/cipher_modes.bend as Cipher_modes import 0xf4b936e0e6b2608080d2f02bb3ce9abe/cipher_modes.bend as Cipher_modes import bend-osdev-cipher-modes@0.1.0.0/cmac.bend as Cmac import 0xf4b936e0e6b2608080d2f02bb3ce9abe/cmac.bend as Cmac import bend-osdev-cipher-modes@0.1.0.0/package.bend as Package import 0xf4b936e0e6b2608080d2f02bb3ce9abe/package.bend as Package import bend-osdev-cipher-modes@0.1.0.0/pkcs7.bend as Pkcs7 import 0xf4b936e0e6b2608080d2f02bb3ce9abe/pkcs7.bend as Pkcs7 import bend-osdev-cipher-modes@0.1.0.0/xts.bend as Xts import 0xf4b936e0e6b2608080d2f02bb3ce9abe/xts.bend as Xts
Modules
- LAWS.bend 22 declarations, 22 laws — Laws about the public interface of every mode. The block cipher is the
- PROOF.bend 170 declarations
- aes.bend 48 declarations — AES-128 and AES-256 (FIPS 197) as block ciphers for the modes: the named
- aes_modes.bend 9 declarations — The modes with AES as the cipher: the named defaults. Each takes the raw key
- cbc.bend 23 declarations — CBC, cipher block chaining (NIST SP 800-38A, section 6.2), over any 128-bit
- ccm.bend 41 declarations — CCM, counter with CBC-MAC (NIST SP 800-38C; RFC 3610), authenticated
- check.bend 13 declarations — The specifications' vectors that LAWS.bend cannot hold, run compiled: the
- cipher_modes.bend 63 declarations — bend-osdev-cipher-modes: block-cipher modes of operation over any 128-bit
- cmac.bend 16 declarations — CMAC (NIST SP 800-38B; RFC 4493 for AES-CMAC), a MAC over any 128-bit
- package.bend 0 declarations — bend-osdev-cipher-modes: every file of the package, so that bend --publish sends
- pkcs7.bend 11 declarations — PKCS #7 padding (RFC 5652, section 6.3): a message is padded to a whole
- xts.bend 44 declarations — XTS (IEEE Std 1619-2007, XTS-AES; NIST SP 800-38E), the tweakable mode for
Other files
- LICENSE 1,098 bytes
Dependencies
- bend-osdev-bytes@0.1.0.0 via
LAWS.bend: import bend-osdev-bytes@0.1.0.0/bytes.bend as B - bend-osdev-word64@0.1.0.0 via
LAWS.bend: import bend-osdev-word64@0.1.0.0/word64.bend as W - bend-collections@1.0.0.0 via
aes.bend: import bend-collections@1.0.0.0/src/crypto/aes/aes.bend as A
Dependents
- bend-osdev-aead@0.1.0.0 via
check.bend: import bend-osdev-cipher-modes@0.1.0.0/cipher_modes.bend as M - bend-osdev-crypto@0.1.0.0 via
LAWS.bend: import bend-osdev-cipher-modes@0.1.0.0/cipher_modes.bend as M - bend-osdev-legacy-ciphers@0.1.0.0 via
LAWS.bend: import bend-osdev-cipher-modes@0.1.0.0/cipher_modes.bend as M
Status on bend 2.0.40
| File | Status | Checker says | Time |
|---|---|---|---|
| LAWS.bend | open laws/TODOs | 22 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: 22 TODOs found. The code is incomplete, and not a valid proof yet. | 0.5 s |
| PROOF.bend | checks | ALL PROOFS CHECK | 20.5 s |
| aes.bend | checks | ALL PROOFS CHECK | 0.5 s |
| aes_modes.bend | checks | ALL PROOFS CHECK | 0.6 s |
| cbc.bend | checks | ALL PROOFS CHECK | 0.5 s |
| ccm.bend | checks | ALL PROOFS CHECK | 0.5 s |
| check.bend | checks | ALL PROOFS CHECK | 0.6 s |
| cipher_modes.bend | checks | ALL PROOFS CHECK | 0.4 s |
| cmac.bend | checks | ALL PROOFS CHECK | 0.5 s |
| package.bend | checks | ALL PROOFS CHECK | 31.8 s |
| pkcs7.bend | checks | ALL PROOFS CHECK | 0.4 s |
| xts.bend | checks | ALL PROOFS CHECK | 0.5 s |