Skip to content

Commit cee3672

Browse files
committed
📝 Change comment endianess
1 parent 823c758 commit cee3672

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/gcm/aes_gcm.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
/* By: stales <stales@student.42angouleme.fr> +#+ +:+ +#+ */
77
/* +#+#+#+#+#+ +#+ */
88
/* Created: 2024/10/20 12:46:51 by stales #+# #+# */
9-
/* Updated: 2025/11/28 17:54:57 by stales ### ########.fr */
9+
/* Updated: 2025/11/28 19:14:37 by stales ### ########.fr */
1010
/* */
1111
/* ************************************************************************** */
1212

@@ -193,7 +193,7 @@ static aes_status_t aes_gcm_crypt(aes_gcm_counter_t *out, const iv_t nonce, cons
193193

194194
_mm_storeu_si128(&((__m128i*)out->out)[i], state);
195195

196-
// Incrémenter pour le prochain bloc (little endian)
196+
// Incrémenter pour le prochain bloc (big endian)
197197
*cnt += 0x01000000;
198198
}
199199

0 commit comments

Comments
 (0)