diff options
author | David du Colombier <0intro@gmail.com> | 2019-09-06 11:55:18 -0700 |
---|---|---|
committer | David du Colombier <0intro@gmail.com> | 2019-09-06 11:55:18 -0700 |
commit | cb091e75393b176ccb02c68f0ecfcfbb8bc49376 (patch) | |
tree | b64b51c7bf80fc7839b0ebda21412bcd02d82af2 /sys/include | |
parent | 63ae9ed53a04fac853693f8d319a4bbc1f6b5f49 (diff) |
sys/src/libventi: implement vtsha1 and vtsha1check functions
Diffstat (limited to 'sys/include')
-rw-r--r-- | sys/include/venti.h | 4 |
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. */ |