summaryrefslogtreecommitdiff
path: root/core/api-common.rst
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-02-18 18:46:02 +0100
committerChristian Grothoff <christian@grothoff.org>2022-02-18 18:46:02 +0100
commitea9af7ad5fa81477c655d1e0a7a890a5cf224b6e (patch)
treee65b7454b0ea55fcb1a1c8699fb9dd9278382dc7 /core/api-common.rst
parent2d3bfec1154d8920a3b442750263f49c66e7b67a (diff)
downloaddocs-ea9af7ad5fa81477c655d1e0a7a890a5cf224b6e.tar.gz
docs-ea9af7ad5fa81477c655d1e0a7a890a5cf224b6e.tar.bz2
docs-ea9af7ad5fa81477c655d1e0a7a890a5cf224b6e.zip
-update documentation
Diffstat (limited to 'core/api-common.rst')
-rw-r--r--core/api-common.rst21
1 files changed, 21 insertions, 0 deletions
diff --git a/core/api-common.rst b/core/api-common.rst
index eeec5503..4aa609f5 100644
--- a/core/api-common.rst
+++ b/core/api-common.rst
@@ -235,6 +235,27 @@ hashed data. See `base32`_.
type SHA512HashCode = HashCode;
+.. ts:def:: CSNonce
+
+ // 32-byte nonce value, must only be used once.
+ type CSNonce = string;
+
+.. ts:def:: RefreshMasterSeed
+
+ // 32-byte nonce value, must only be used once.
+ type RefreshMasterSeed = string;
+
+.. ts:def:: Cs25519Point
+
+ // 32-byte value representing a point on Curve25519.
+ type Cs25519Point = string;
+
+.. ts:def:: Cs25519Scalar
+
+ // 32-byte value representing a scalar multiplier
+ // for scalar operations on points on Curve25519.
+ type Cs25519Scalar = string;
+
Safe Integers
^^^^^^^^^^^^^