]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Move memcmp_constant_time() to crypto.h
authorDavid Sommerseth <davids@openvpn.net>
Thu, 13 Oct 2016 19:59:27 +0000 (21:59 +0200)
committerDavid Sommerseth <davids@openvpn.net>
Fri, 14 Oct 2016 08:37:50 +0000 (10:37 +0200)
commitb891e57e1fe794483c08296e32c15751f2676a2d
tree92f159751152d020e8f690ce09ddf0654444c337
parentdc4fa3c4656b92aff3f26d4134c509410add142e
Move memcmp_constant_time() to crypto.h

This function is quite useful other places, so make it generally
accessible.

[DS: changed function declaration to static inline during commit]

Signed-off-by: David Sommerseth <davids@openvpn.net>
Acked-by: Steffan Karger <steffan@karger.me>
Message-Id: <1476388771-16492-2-git-send-email-davids@openvpn.net>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg12698.html
src/openvpn/crypto.c
src/openvpn/crypto.h