Ver código fonte

src/xeddsa.rs: fix comment

Sombra 3 anos atrás
pai
commit
2340992333
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      script/research/x3dh/src/xeddsa.rs

+ 1 - 1
script/research/x3dh/src/xeddsa.rs

@@ -73,7 +73,7 @@ impl XeddsaSigner for X25519SecretKey {
         // directly, but rather use a seed to derive other data from.
         // To create signatures compatible with Ed25519, a modified
         // version of the signing algorithm is required that does not
-        // dedward_pointend on a seed.
+        // depend on a seed.
         // r = hash1(a || M || Z) (mod q)
         let mut hash_padding = [0xff, 32];
         hash_padding[0] = 0xfe;