diff options
author | rsc <devnull@localhost> | 2005-02-13 18:04:53 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-02-13 18:04:53 +0000 |
commit | 510d89fc13798177761ec62f01f0581186683008 (patch) | |
tree | b3602e22a61d1998a8d57a21876b0420bbcb60bf /src | |
parent | 57fcfc2a0b8ecd266ce130dab9a29b7ceb558d64 (diff) | |
download | plan9port-510d89fc13798177761ec62f01f0581186683008.tar.gz plan9port-510d89fc13798177761ec62f01f0581186683008.tar.bz2 plan9port-510d89fc13798177761ec62f01f0581186683008.zip |
more add
Diffstat (limited to 'src')
-rw-r--r-- | src/cmd/auth/mkfile | 32 | ||||
-rw-r--r-- | src/cmd/auth/rsa2any.h | 7 |
2 files changed, 39 insertions, 0 deletions
diff --git a/src/cmd/auth/mkfile b/src/cmd/auth/mkfile new file mode 100644 index 00000000..39d2f53a --- /dev/null +++ b/src/cmd/auth/mkfile @@ -0,0 +1,32 @@ +<$PLAN9/src/mkhdr +# +# programs +# +TARG=\ + asn12dsa\ + asn12rsa\ + dsagen\ + dsa2ssh\ + passwd\ + pemdecode\ + pemencode\ + rsagen\ + rsafill\ + rsa2csr\ + rsa2pub\ + rsa2ssh\ + rsa2x509\ + ssh-agent\ + +DIRS=\ + factotum\ + secstore\ + +HFILES=$PLAN9/include/auth.h $PLAN9/include/authsrv.h + +<$PLAN9/src/mkmany +<$PLAN9/src/mkdirs + +$O.rsa2ssh $O.rsafill $O.rsa2x509 $O.rsa2pub $O.rsa2csr $O.dsa2ssh: rsa2any.$O +rsa2ssh.$O rsafill.$O rsa2x509.$O rsa2pub.$O rsa2csr.$O dsa2ssh.$O: rsa2any.h + diff --git a/src/cmd/auth/rsa2any.h b/src/cmd/auth/rsa2any.h new file mode 100644 index 00000000..02fb5181 --- /dev/null +++ b/src/cmd/auth/rsa2any.h @@ -0,0 +1,7 @@ + +DSApriv* getdsakey(int argc, char **argv, int needprivate, Attr **pa); +RSApriv* getkey(int argc, char **argv, int needprivate, Attr **pa); +uchar* put4(uchar *p, uint n); +uchar* putmp2(uchar *p, mpint *b); +uchar* putn(uchar *p, void *v, uint n); +uchar* putstr(uchar *p, char *s); |