Implement Vebon SecIP encryption types RSA+AES. Needs RSA key with 257 exponent for alphatronics.
Note that the endianness is completely retarded. RSA public key transfer is little endian. Messages are big endian.
This commit is contained in:
parent
3fb1474113
commit
fec14af688
5 changed files with 230 additions and 48 deletions
2
wscript
2
wscript
|
@ -84,7 +84,7 @@ def configure(conf):
|
|||
conf.check_cc(lib='gmp', uselib_store='nettle')
|
||||
|
||||
# Purposefully at the bottom because waf configuration tests fail with -Wstrict-prototypes and -Werror
|
||||
conf.env.CFLAGS = ['-O2', '-g', '-ggdb', '-std=c99', '-Wall', '-Wshadow', '-Wpointer-arith', '-Wcast-align', '-Wwrite-strings', '-Wdeclaration-after-statement',
|
||||
conf.env.CFLAGS = ['-O0', '-g', '-ggdb', '-std=c99', '-Wall', '-Wshadow', '-Wpointer-arith', '-Wcast-align', '-Wwrite-strings', '-Wdeclaration-after-statement',
|
||||
'-Werror-implicit-function-declaration', '-Wstrict-prototypes', '-Werror']
|
||||
|
||||
def build(bld):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue