From 127077c93bfee72470ba80b8b48e0a516129e9d4 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 23 Jul 2026 11:04:28 +0200 Subject: aes: factor out block formatting code --- aes/include/aes/hex.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'aes/include') diff --git a/aes/include/aes/hex.h b/aes/include/aes/hex.h index d0e4586..8adb9e4 100644 --- a/aes/include/aes/hex.h +++ b/aes/include/aes/hex.h @@ -5,6 +5,7 @@ #pragma once +#include "block.h" #include "error.h" #include @@ -20,6 +21,9 @@ AES_StatusCode aes_parse_hex_string( AES_ErrorDetails* err_details ); +char* aes_format_block_hex(char* dest, AES_Block); +char* aes_format_block_hex_partial(char* dest, AES_Block, size_t numof_bytes); + #ifdef __cplusplus } #endif -- cgit v1.3