From 09d4125ff164f5ca686d12ccb0790c35ce721a6b Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Sat, 27 Jun 2015 01:15:23 +0200 Subject: Rename axolotlpp as olm to avoid confusion with Axolotl-the-spec and Axolotl-the-OWS-libraries at moxie's request --- src/base64.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/base64.cpp') diff --git a/src/base64.cpp b/src/base64.cpp index 6fafa44..a8631a1 100644 --- a/src/base64.cpp +++ b/src/base64.cpp @@ -12,7 +12,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -#include "axolotl/base64.hh" +#include "olm/base64.hh" namespace { @@ -45,14 +45,14 @@ static const std::uint8_t DECODE_BASE64[128] = { } // namespace -std::size_t axolotl::encode_base64_length( +std::size_t olm::encode_base64_length( std::size_t input_length ) { return 4 * ((input_length + 2) / 3) + (input_length + 2) % 3 - 2; } -void axolotl::encode_base64( +void olm::encode_base64( std::uint8_t const * input, std::size_t input_length, std::uint8_t * output ) { @@ -87,7 +87,7 @@ void axolotl::encode_base64( } -std::size_t axolotl::decode_base64_length( +std::size_t olm::decode_base64_length( std::size_t input_length ) { if (input_length % 4 == 1) { @@ -98,7 +98,7 @@ std::size_t axolotl::decode_base64_length( } -void axolotl::decode_base64( +void olm::decode_base64( std::uint8_t const * input, std::size_t input_length, std::uint8_t * output ) { -- cgit v1.2.3