Upstream changelog: https://matt.ucc.asn.au/dropbear/CHANGES This adds elliptic curve cryptography (ECC) support as an option, disabled by default. dropbear mips 34kc uClibc binary size: before: 161,672 bytes after, without ECC (default): 164,968 after, with ECC: 198,008 Signed-off-by: Catalin Patulea <cat@vv.carleton.ca> SVN-Revision: 40297master
parent
f5fce5e0da
commit
ad52658be7
@ -0,0 +1,27 @@ |
||||
menu "Configuration" |
||||
depends on PACKAGE_dropbear |
||||
|
||||
config DROPBEAR_ECC |
||||
bool "Elliptic curve cryptography (ECC)" |
||||
default n |
||||
help |
||||
Enables elliptic curve cryptography (ECC) support in key exchange and public key |
||||
authentication. |
||||
|
||||
Key exchange algorithms: |
||||
ecdh-sha2-nistp256 |
||||
ecdh-sha2-nistp384 |
||||
ecdh-sha2-nistp521 |
||||
curve25519-sha256@libssh.org |
||||
|
||||
Public key algorithms: |
||||
ecdsa-sha2-nistp256 |
||||
ecdsa-sha2-nistp384 |
||||
ecdsa-sha2-nistp521 |
||||
|
||||
Does not generate ECC host keys by default (ECC key exchange will not be used, |
||||
only ECC public key auth). |
||||
|
||||
Increases binary size by about 36 kB (MIPS). |
||||
|
||||
endmenu |
@ -1,29 +0,0 @@ |
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -56,7 +56,7 @@ HEADERS=options.h dbutil.h session.h pac
|
||||
loginrec.h atomicio.h x11fwd.h agentfwd.h tcpfwd.h compat.h \
|
||||
listener.h fake-rfc2553.h
|
||||
|
||||
-dropbearobjs=$(COMMONOBJS) $(CLISVROBJS) $(SVROBJS) @CRYPTLIB@
|
||||
+dropbearobjs=$(COMMONOBJS) $(CLISVROBJS) $(SVROBJS)
|
||||
dbclientobjs=$(COMMONOBJS) $(CLISVROBJS) $(CLIOBJS)
|
||||
dropbearkeyobjs=$(COMMONOBJS) $(KEYOBJS)
|
||||
dropbearconvertobjs=$(COMMONOBJS) $(CONVERTOBJS)
|
||||
@@ -78,7 +78,7 @@ STRIP=@STRIP@
|
||||
INSTALL=@INSTALL@
|
||||
CPPFLAGS=@CPPFLAGS@
|
||||
CFLAGS+=-I. -I$(srcdir) $(CPPFLAGS) @CFLAGS@
|
||||
-LIBS+=@LIBS@
|
||||
+LIBS+=@CRYPTLIB@ @LIBS@
|
||||
LDFLAGS=@LDFLAGS@
|
||||
|
||||
EXEEXT=@EXEEXT@
|
||||
@@ -168,7 +168,7 @@ scp: $(SCPOBJS) $(HEADERS) Makefile
|
||||
# multi-binary compilation.
|
||||
MULTIOBJS=
|
||||
ifeq ($(MULTI),1)
|
||||
- MULTIOBJS=dbmulti.o $(sort $(foreach prog, $(PROGRAMS), $($(prog)objs))) @CRYPTLIB@
|
||||
+ MULTIOBJS=dbmulti.o $(sort $(foreach prog, $(PROGRAMS), $($(prog)objs)))
|
||||
CFLAGS+=$(addprefix -DDBMULTI_, $(PROGRAMS)) -DDROPBEAR_MULTI
|
||||
endif
|
||||
|
Loading…
Reference in new issue