Skip to content

Commit b0e6a98

Browse files
authored
Merge pull request #8097 from dhalbert/aesio-ctx-typo
fix typos: "CTX mode" -> "CTR mode" in aesio
2 parents 1f20328 + f5c03e6 commit b0e6a98

File tree

1 file changed

+2
-2
lines changed
  • shared-bindings/aesio

1 file changed

+2
-2
lines changed

shared-bindings/aesio/aes.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ STATIC void validate_length(aesio_aes_obj_t *self, size_t src_length,
170170
//|
171171
//| For ECB mode, the buffers must be 16 bytes long. For CBC mode, the
172172
//| buffers must be a multiple of 16 bytes, and must be equal length. For
173-
//| CTX mode, there are no restrictions."""
173+
//| CTR mode, there are no restrictions."""
174174
//| ...
175175
STATIC mp_obj_t aesio_aes_encrypt_into(mp_obj_t self_in, mp_obj_t src, mp_obj_t dest) {
176176
aesio_aes_obj_t *self = MP_OBJ_TO_PTR(self_in);
@@ -192,7 +192,7 @@ STATIC MP_DEFINE_CONST_FUN_OBJ_3(aesio_aes_encrypt_into_obj, aesio_aes_encrypt_i
192192
//| """Decrypt the buffer from ``src`` into ``dest``.
193193
//| For ECB mode, the buffers must be 16 bytes long. For CBC mode, the
194194
//| buffers must be a multiple of 16 bytes, and must be equal length. For
195-
//| CTX mode, there are no restrictions."""
195+
//| CTR mode, there are no restrictions."""
196196
//| ...
197197
//|
198198
STATIC mp_obj_t aesio_aes_decrypt_into(mp_obj_t self_in, mp_obj_t src, mp_obj_t dest) {

0 commit comments

Comments
 (0)