Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pyca/cryptography
/ test_ofb
Method
test_ofb
tests/hazmat/primitives/test_block.py:157–163 ·
view source on GitHub ↗
(self, backend)
Source
from the content-addressed store, hash-verified
155
)
156
157
def
test_ofb(self, backend):
158
with
pytest.raises(ValueError):
159
Cipher(
160
algorithms.AES(b
"\x00"
* 16),
161
OFB(b
"abc"
),
162
backend,
163
)
164
165
def
test_cfb(self, backend):
166
with
pytest.raises(ValueError):
Callers
nothing calls this directly
Calls
2
Cipher
Class · 0.90
OFB
Class · 0.90
Tested by
no test coverage detected