Merge: lib/crypto: add in-place xor cipher on CStrings
authorJean Privat <jean@pryen.org>
Fri, 11 May 2018 03:14:18 +0000 (23:14 -0400)
committerJean Privat <jean@pryen.org>
Fri, 11 May 2018 03:14:18 +0000 (23:14 -0400)
The xor operation as defined in xor_ciphers lacked a performance-aware
version on byte sequences.

This commit adds a fast version to perform it on a CString.

Signed-off-by: Lucas Bajolet <lucas.bajolet@gmail.com>

Pull-Request: #2669


Trivial merge