diff options
| author | Sean Cross <sean@xobs.io> | 2020-05-15 10:20:49 +0800 |
|---|---|---|
| committer | Sean Cross <sean@xobs.io> | 2020-05-15 10:22:42 +0800 |
| commit | f9ed3acf6d7582f495a4b6c1ae25aff5619a55ad (patch) | |
| tree | 1cc0f6882596110bc455b0203c2d765b787f7910 /docs/autoapi/templates/python | |
| parent | aba36e4abff80bc8897e752b93e7a2ffa4fd69e6 (diff) | |
aesio: specify writable buffers for destination buffers
When calling `AES.decrypt_into()` or `AES.encrypt_into()`, the
destination buffers may be any buffer kind. However, we currently
aren't checking to make sure the destination buffer is actually
writable.
Specify `MP_BUFFER_WRITE` for the destination buffers of both of these
objects so we don't inadvertently write to immutable data.
Signed-off-by: Sean Cross <sean@xobs.io>
Diffstat (limited to 'docs/autoapi/templates/python')
0 files changed, 0 insertions, 0 deletions
