From 8df4d9e9b5b1e4b87dd67a4a77ac7af93de552e7 Mon Sep 17 00:00:00 2001 From: Mark Haines Date: Wed, 25 Feb 2015 08:35:53 +0000 Subject: Tweak AES cbc to add pcks7 padding bytes --- include/axolotl/list.hh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/axolotl/list.hh') diff --git a/include/axolotl/list.hh b/include/axolotl/list.hh index b76abdd..ae41baa 100644 --- a/include/axolotl/list.hh +++ b/include/axolotl/list.hh @@ -15,6 +15,11 @@ public: T const * begin() const { return _data; } T const * end() const { return _end; } + /** + * Is the list empty? + */ + bool empty() { return _end == _data; } + /** * The number of items in the list. */ -- cgit v1.2.3