aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/contrib
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-08-04 14:49:21 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2020-08-04 21:45:26 +0200
commitaa1fac96dbbaac8ce5189d65d098747afc345c91 (patch)
treead9c997ab4d183722de84c3178ce98ada7dee324 /contrib
parentpubkey: isblank is a subset of isspace (diff)
downloadwireguard-tools-aa1fac96dbbaac8ce5189d65d098747afc345c91.tar.xz
wireguard-tools-aa1fac96dbbaac8ce5189d65d098747afc345c91.zip
ctype: use non-locale-specific ctype.h
We also make these constant time, even though we're never distinguishing between bits of a secret using them. From that perspective, though, this is markedly better than the locale-specific table lookups in glibc, even though base64 characters span two cache lines and valid private keys must hit both. Co-authored-by: Samuel Neves <sneves@dei.uc.pt> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Signed-off-by: Samuel Neves <sneves@dei.uc.pt>
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions