diff options
| author | David Benjamin <davidben@google.com> | 2020-08-19 17:00:38 -0400 |
|---|---|---|
| committer | David Benjamin <davidben@google.com> | 2020-08-19 17:41:44 -0400 |
| commit | b70d1caf4de463675309771dabd4a4b695c9a30b (patch) | |
| tree | 46e056df34eec3ac13028e18d083226dec97abef /trusty/coverage/coverage_test.cpp | |
| parent | 87e8afc6ea5a2f48fe45e4d77784628083ab488c (diff) | |
libcrypto_utils: Use accessors to manipulate RSA keys.
This removes a blocker to BoringSSL marking the RSA struct opaque.
Sadly, OpenSSL's RSA_set0_key setter is a little tedious to use
correctly with error-handling, but it works.
Along the way, replace the byte reversing code with BoringSSL's native
little-endian BIGNUM conversion functions.
Test: libcrypto_utils_test passes
Change-Id: I298a6360d76fc7793462cd55bd57bc673c4975b3
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions
