From 03c815ff0a3fad7b69d29175bc1b9df1b2cdfef6 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 19 Jun 2015 01:21:19 +0300 Subject: add more block arithmetic functions --- cxx/include/aesnixx/data.hpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'cxx/include/aesnixx') diff --git a/cxx/include/aesnixx/data.hpp b/cxx/include/aesnixx/data.hpp index bd7e9bd..98b5c98 100644 --- a/cxx/include/aesnixx/data.hpp +++ b/cxx/include/aesnixx/data.hpp @@ -45,4 +45,14 @@ namespace aesni { return aesni_xor_block128(a, b); } + + inline Block128 reverse_byte_order(Block128& block) + { + return aesni_reverse_byte_order_block128(block); + } + + inline Block128 inc(Block128& block) + { + return aesni_inc_block128(block); + } } -- cgit v1.2.3