chiark / gitweb /
server/: Augment challenges to allow a payload.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 4 Sep 2017 08:36:10 +0000 (09:36 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 16 Jun 2018 18:13:41 +0000 (19:13 +0100)
commit3deadf73ca497f4c50a2dbe387f544ef0070cfb4
tree9cca9ae5c28e7e49f53b60f236132996e59e5eb3
parentb8f727eb436070ed90eb90c725e30c5e913b8ab9
server/: Augment challenges to allow a payload.

  * Augment the external interface to take a pointer/length pair
    designating the payload.

  * Change the bulk-crypto interface to pass the sequence number in
    separately from the (repurposed) payload buffer.

  * Modify the `naclbox' challenge handling to hash the payload using
    Poly1305, rather than just producing some Salsa20 output.
server/admin.c
server/bulkcrypto.c
server/chal.c
server/peer.c
server/tripe.h