diff options
author | rsc <devnull@localhost> | 2005-02-13 18:04:00 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-02-13 18:04:00 +0000 |
commit | ce94dbe662155bd60d6839b5e8c82ad708667bcd (patch) | |
tree | 0c405ef046615640061cc6080b9fee516c5c80f8 /src/cmd/auth/factotum/dat.h | |
parent | ea77b9ce7c579a2e625806dc01104d5f6929cc43 (diff) | |
download | plan9port-ce94dbe662155bd60d6839b5e8c82ad708667bcd.tar.gz plan9port-ce94dbe662155bd60d6839b5e8c82ad708667bcd.tar.bz2 plan9port-ce94dbe662155bd60d6839b5e8c82ad708667bcd.zip |
add ssh-agent via factotum
Diffstat (limited to 'src/cmd/auth/factotum/dat.h')
-rw-r--r-- | src/cmd/auth/factotum/dat.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/cmd/auth/factotum/dat.h b/src/cmd/auth/factotum/dat.h index 11648328..678594a2 100644 --- a/src/cmd/auth/factotum/dat.h +++ b/src/cmd/auth/factotum/dat.h @@ -9,6 +9,8 @@ enum RpcRead, RpcStart, RpcWrite, + RpcReadHex, + RpcWriteHex, /* thread stack size - big buffers for printing */ STACK = 65536, @@ -27,6 +29,7 @@ struct Rpc int op; void *data; int count; + int hex; /* should result of read be turned into hex? */ }; struct Conv @@ -214,9 +217,10 @@ extern int xiowrite(int, void*, int); extern int xioasrdresp(int, void*, int); extern int xioasgetticket(int, char*, char*); -/* pkcs1.c */ +/* pkcs1.c - maybe should be in libsec */ typedef DigestState *DigestAlg(uchar*, ulong, uchar*, DigestState*); int rsasign(RSApriv*, DigestAlg*, uchar*, uint, uchar*, uint); +int rsaverify(RSApub*, DigestAlg*, uchar*, uint, uchar*, uint); void mptoberjust(mpint*, uchar*, uint); |