diff options
| author | Egor Tensin <egor@tensin.name> | 2026-07-23 11:04:28 +0200 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-07-23 11:05:30 +0200 |
| commit | 127077c93bfee72470ba80b8b48e0a516129e9d4 (patch) | |
| tree | c81474ef57da4954b4843f817d488ecc3c533405 /aes/include | |
| parent | aes: always require full inputs (diff) | |
| download | aes-tools-127077c93bfee72470ba80b8b48e0a516129e9d4.tar.gz aes-tools-127077c93bfee72470ba80b8b48e0a516129e9d4.zip | |
aes: factor out block formatting code
Diffstat (limited to 'aes/include')
| -rw-r--r-- | aes/include/aes/hex.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 <stdlib.h> @@ -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 |
