Vlad Tsyrklevich e8e8ad8d19 [CFI] Fix cfi-icall failures
Control Flow Integrity [1] indirect call checking verifies that function
pointers only call valid functions with a matching type signature.
webrtc casts the function pointers for external_hmac causing a cfi-icall
failure when they are later called in libsrtp. Refactor the functions to
match the correct type signatures to avoid this failure.

[1] https://www.chromium.org/developers/testing/control-flow-integrity

Bug: chromium:776905
Change-Id: I419028be02e6c151c497e3ec64f10f35e07cdb0f
Reviewed-on: https://webrtc-review.googlesource.com/26721
Commit-Queue: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21220}
2017-12-12 09:27:07 +00:00
..
2017-12-07 13:57:57 +00:00
2017-12-11 07:59:35 +00:00
2017-10-30 18:08:29 +00:00
2017-12-12 09:27:07 +00:00
2017-12-12 09:27:07 +00:00
2017-10-30 18:08:29 +00:00
2017-10-30 18:08:29 +00:00
2017-10-30 18:08:29 +00:00
2017-10-30 18:08:29 +00:00
2017-11-15 13:31:51 +00:00
2017-10-30 18:08:29 +00:00