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)
commitb15ae45dd30626b72c752611c7d57519bf78482c
tree5bd752dab6ac2099e5cf2d9f8b6922d135dd885e
parentd384172f89450e0e2ba0b26cd7a66f81ce23b9f8
parent9d3504c6b7c6525e396f7eaf8c5391a6bcf71878
Merge: lib/crypto: add in-place xor cipher on CStrings

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