commit | e33d066caa6fff22e17e807abcdff9bc4f746bb0 | [log] [tgz] |
---|---|---|
author | Alex Klyubin <klyubin@google.com> | Thu Oct 29 09:00:38 2015 -0700 |
committer | Alex Klyubin <klyubin@google.com> | Thu Oct 29 09:19:25 2015 -0700 |
tree | e09301b313d1654f3634163452581ca3e247c491 | |
parent | 5ed85e2b8ee17a00b5a96ddc85f58c3d7bf0e891 [diff] |
Zero-copy HMAC and signing/verification for direct ByteBuffer. Prior to this change, Conscrypt's Mac and Signature implementations copied the contents of direct ByteBuffer inputs. This change implements an optimization which avoids the allocation and copying of contents of direct ByteBuffer inputs. Bug: 24674857 Change-Id: I1436839182483fd42318d4b0af4d633283e3453d