]> git.codecow.com Git - Monocypher.git/commit
Clarified why some buffers are not wiped
authorLoup Vaillant <loup@loup-vaillant.fr>
Thu, 14 Mar 2019 22:45:44 +0000 (23:45 +0100)
committerLoup Vaillant <loup@loup-vaillant.fr>
Thu, 14 Mar 2019 22:45:44 +0000 (23:45 +0100)
commitbe2a12981a672ef199aa7a64e1dab9193fdd0016
tree04ecae93ca2b4cde1e77aa5568f6f75786007688
parent3fe3d84612e168f4fe1c4e47a187c37d79c168f0
Clarified why some buffers are not wiped

ge_msub() and ge_double_scalarmult_vartime() aren't clear why they don't
wipe their buffers.  I have added warnings that they indeed don't do so,
and thus should not be used to process secrets.

This also makes clear to auditors that failing to wipe the buffers was
intentional.
src/monocypher.c