diff options
author | Matthew Hodgson <matthew@matrix.org> | 2015-06-27 01:15:23 +0200 |
---|---|---|
committer | Matthew Hodgson <matthew@matrix.org> | 2015-06-27 01:15:23 +0200 |
commit | 09d4125ff164f5ca686d12ccb0790c35ce721a6b (patch) | |
tree | 7ac8192180180705327d5090c5e603f54ddde2a0 /src/base64.cpp | |
parent | fe958472453b1bac99854a419ef667d8f2cd351d (diff) |
Rename axolotlpp as olm to avoid confusion with Axolotl-the-spec and Axolotl-the-OWS-libraries at moxie's request
Diffstat (limited to 'src/base64.cpp')
-rw-r--r-- | src/base64.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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 ) { |