chiark / gitweb /
sig: Move marshalling responsibility into sign function
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 27 Sep 2019 17:37:40 +0000 (18:37 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 29 Sep 2019 14:58:48 +0000 (15:58 +0100)
commit403cdd364693a05c700f04085fc05dbf575d97ef
tree5b31d6ea3b86c9114f3b5dd97a12ef0cde53ee47
parenta04dfe0d448e7e558920ba35410702e589d93545
sig: Move marshalling responsibility into sign function

This is the first part of making the pk algorithm responsible for
understanding its signature format.

The sign function is expected to produce some bytes which (in a
moment) its companion functions will be able to parse.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
rsa.c
secnet.h
site.c