naiveproxy/src/third_party/modp_b64
2023-06-03 08:01:16 +08:00
..
BUILD.gn Import chromium-114.0.5735.91 2023-06-03 08:01:16 +08:00
DEPS Import chromium-114.0.5735.91 2023-06-03 08:01:16 +08:00
DIR_METADATA Import chromium-114.0.5735.91 2023-06-03 08:01:16 +08:00
LICENSE Import chromium-114.0.5735.91 2023-06-03 08:01:16 +08:00
modp_b64.cc Import chromium-114.0.5735.91 2023-06-03 08:01:16 +08:00
modp_b64.h Import chromium-114.0.5735.91 2023-06-03 08:01:16 +08:00
modp_b64_data.h Import chromium-114.0.5735.91 2023-06-03 08:01:16 +08:00
OWNERS Import chromium-114.0.5735.91 2023-06-03 08:01:16 +08:00
README.chromium Import chromium-114.0.5735.91 2023-06-03 08:01:16 +08:00

Name: modp base64 decoder
Short Name: stringencoders
URL: https://github.com/client9/stringencoders
Version: unknown
License: BSD
Security Critical: yes

Description:
The source code was modified from upstream as follows:
- Removed the inclusion of modp's config.h
- Fixed compilation errors that occur under VC8
- Renamed modp_b64.c to modp_b64.cc to force it to be compiled as C++ and so
  the inclusion of basictypes.h could be possible
- Made code safe on 64-bit systems
- Removed misaligned read/writes on little-endian systems
- Removed unreachable code
- Extended the API so callers can avoid overload for base64 encode
- Removed big endian support entirely
- Removed std::string APIs
- Added multiple decoding options to support Blink callers
- Added modp_b64_encode_data which doesn't append a null terminator