ct/lc_ct_cmp: improve interface
Return 0xffffffff if arguments compare equal, 0 otherwise. Change all consumers accordingly.
Este commit está contenido en:
padre
ad42d99e0b
commit
52ab9ca179
Se han modificado 5 ficheros con 12 adiciones y 9 borrados
4
README
4
README
|
@ -15,9 +15,7 @@ Utilities
|
|||
---------
|
||||
|
||||
- Constant-time operations
|
||||
- [/] compare: returns `0` if match, non-`0` otherwise. The non-`0`
|
||||
case might leak information. Would be better to return `0xffffffff`
|
||||
if match, `0` otherwise.
|
||||
- [x] compare
|
||||
|
||||
Hash
|
||||
----
|
||||
|
|
Cargando…
Añadir tabla
Añadir enlace
Referenciar en una nueva incidencia