boringssl/crypto/rsa
David Benjamin bd42603943 Add a convenience function for i2d compatibility wrappers.
An i2d compatibility function is rather long, so add CBB_finish_i2d for
part of it. It takes a CBB as input so only a 'marshal' function is
needed, rather than a 'to_bytes' one.

Also replace the *inp d2i update pattern with a slightly shorter one.

Change-Id: Ibb41059c9532f6a8ce33460890cc1afe26adc97c
Reviewed-on: https://boringssl-review.googlesource.com/6868
Reviewed-by: Adam Langley <agl@google.com>
2016-02-16 19:40:53 +00:00
..
blinding.c Remove out-of-date and misleading comment in |bn_blinding_st|. 2016-02-11 22:01:14 +00:00
CMakeLists.txt Add a run_tests target to run all tests. 2015-10-26 20:33:44 +00:00
internal.h Remove unused bits of RSA blinding code. 2016-02-09 16:45:13 +00:00
padding.c Clarify some confusing casts involving |size_t|. 2016-02-12 15:37:15 +00:00
rsa_asn1.c Add a convenience function for i2d compatibility wrappers. 2016-02-16 19:40:53 +00:00
rsa_impl.c Remove unused bits of RSA blinding code. 2016-02-09 16:45:13 +00:00
rsa_test.cc Refuse to parse RSA pubkeys with invalid exponents. 2015-12-21 23:49:02 +00:00
rsa.c Don't cast |OPENSSL_malloc|/|OPENSSL_realloc| result. 2016-02-11 22:07:56 +00:00