Files
android/libwvdrmengine/third_party/stringencoders
Rahul Frias 0fe3f79cc3 Additional merges from cdm master
* Update unit test make files to use BoringSSL

  [ Merge of http://go/wvgerrit/14173 ]

  This CL updates the android makefiles to use the libcrypto_static.

* Do Not Run Provisioning Tests On Devices Without Keyboxes

  [ Merge of http://go/wvgerrit/15633 ]

  The provisioning tests outside OEMCrypto were failing on devices that
  use baked-in certificates because only OEMCrypto knows that the cert
  is baked in and the device cannot be reprovisioned. This change
  skips those two tests if the device says it does not implement
  rewrapping the cert. (i.e. it does not implement provisioning)

  Bug: 23554998

* Add new third-party libs (protobuf & gyp)

  [ Merge of http://go/wvgerrit/14717 ]

  The CE CDM used to expect these to be installed system-wide, which
  creates challenges for integrators who must cross-compile the CDM.

  These are now used in source form from third_party.

Change-Id: I29cca2f9415fe2fafdf948273e5a0f5d7de50285
2015-10-05 14:24:40 -07:00
..
2015-10-05 14:24:40 -07:00

URL: https://code.google.com/p/stringencoders/
Version: v3.10.3
License: BSD
License File: LICENSE

Description:
This directory contains open source code for modp base64 encode and decode
functions from https://code.google.com/p/stringencoders/.

Local Modifications:
Comment out #include "config.h" in modep_b64.cpp

Additional Notes:
Note that the directory structure in third_party/stringencoders mirrors that of
stringencoders-v3.10.3, therefore, the include files are placed in ./src
instead of ./include.

The following instructions demonstrate how modp_b64_data.h is generated.
modp_b64_data.h contains conversion tables to generate web safe encoded
base64 strings.

  1. navigate to https://code.google.com/p/stringencoders
  2. download stringencoders-v3.10.3.tar.gz from the "Downloads" tab
  3. extract source to a working folder
  4. change into stringencoders-v3.10.3/ directory
  5. ./configure --with-b64w-chars='-_='
  6. make
  7. now copy modp_b64w_data.h to third_party/stringencoders/src/.
  8. copy src/modp_b64w.c to third_party/stringencoders/src/*.cpp
  9. copy src/modp_b64w.h to third_party/stringencoders/src/.