aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/get_byte.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/get_byte.h')
-rw-r--r--src/utils/get_byte.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/utils/get_byte.h b/src/utils/get_byte.h
index fce87af83..7eedbd783 100644
--- a/src/utils/get_byte.h
+++ b/src/utils/get_byte.h
@@ -12,8 +12,11 @@
namespace Botan {
-/*
-* Byte Extraction Function
+/**
+* Byte extraction
+* @param byte_num which byte to extract, 0 == highest byte
+* @param input the value to extract from
+* @return byte byte_num of input
*/
template<typename T> inline byte get_byte(u32bit byte_num, T input)
{