mirror of
https://github.com/logos-storage/constantine.git
synced 2026-01-04 06:03:08 +00:00
What is this, printing constant-time values? Oh no you don't.
This commit is contained in:
parent
6a2b172bbc
commit
0e02524225
@ -43,12 +43,6 @@ template ct*[T: BaseUint](x: T): Ct[T] =
|
|||||||
template ct*(x: auto, T: typedesc[BaseUint]): Ct[T] =
|
template ct*(x: auto, T: typedesc[BaseUint]): Ct[T] =
|
||||||
(Ct[T])(x)
|
(Ct[T])(x)
|
||||||
|
|
||||||
template `$`*[T](x: Ct[T]): string =
|
|
||||||
$T(x)
|
|
||||||
|
|
||||||
template `$`*(x: CTBool): string =
|
|
||||||
$bool(x)
|
|
||||||
|
|
||||||
# ############################################################
|
# ############################################################
|
||||||
#
|
#
|
||||||
# Constant-time primitives
|
# Constant-time primitives
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user