summaryrefslogtreecommitdiff
path: root/sys/include
diff options
context:
space:
mode:
authorDavid du Colombier <0intro@gmail.com>2019-09-06 11:55:18 -0700
committerDavid du Colombier <0intro@gmail.com>2019-09-06 11:55:18 -0700
commitcb091e75393b176ccb02c68f0ecfcfbb8bc49376 (patch)
treeb64b51c7bf80fc7839b0ebda21412bcd02d82af2 /sys/include
parent63ae9ed53a04fac853693f8d319a4bbc1f6b5f49 (diff)
sys/src/libventi: implement vtsha1 and vtsha1check functions
Diffstat (limited to 'sys/include')
-rw-r--r--sys/include/venti.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/include/venti.h b/sys/include/venti.h
index a75973004..3599c348f 100644
--- a/sys/include/venti.h
+++ b/sys/include/venti.h
@@ -380,6 +380,10 @@ int vtwritepacket(VtConn*, uchar score[VtScoreSize], uint type, Packet *p);
int vtsync(VtConn*);
int vtping(VtConn*);
+/* sha1 */
+void vtsha1(uchar score[VtScoreSize], uchar*, int);
+int vtsha1check(uchar score[VtScoreSize], uchar*, int);
+
/*
* Data blocks and block cache.
*/