mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
more add
This commit is contained in:
parent
57fcfc2a0b
commit
510d89fc13
2 changed files with 39 additions and 0 deletions
32
src/cmd/auth/mkfile
Normal file
32
src/cmd/auth/mkfile
Normal file
|
@ -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
|
||||||
|
|
7
src/cmd/auth/rsa2any.h
Normal file
7
src/cmd/auth/rsa2any.h
Normal file
|
@ -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);
|
Loading…
Reference in a new issue