* util/import_gcry.py: Skip _gcry_rmd160_mixblock and serpent_test. We
don't use them.
This commit is contained in:
parent
ff6b18b618
commit
c17e546cca
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2011-12-15 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* util/import_gcry.py: Skip _gcry_rmd160_mixblock and serpent_test. We
|
||||||
|
don't use them.
|
||||||
|
|
||||||
2011-12-15 Vladimir Serbinenko <phcoder@gmail.com>
|
2011-12-15 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* util/import_gcry.py: Don't add include camellia.h to camellia.c. It's
|
* util/import_gcry.py: Don't add include camellia.h to camellia.c. It's
|
||||||
|
|
|
@ -190,8 +190,10 @@ for cipher_file in cipher_files:
|
||||||
if hold:
|
if hold:
|
||||||
hold = False
|
hold = False
|
||||||
# We're optimising for size.
|
# We're optimising for size.
|
||||||
if not re.match ("(run_selftests|selftest|_gcry_aes_c.._..c|_gcry_[a-z0-9]*_hash_buffer|tripledes_set2keys|do_tripledes_set_extra_info)", line) is None:
|
if not re.match ("(run_selftests|selftest|_gcry_aes_c.._..c|_gcry_[a-z0-9]*_hash_buffer|tripledes_set2keys|do_tripledes_set_extra_info|_gcry_rmd160_mixblock|serpent_test)", line) is None:
|
||||||
skip = True
|
skip = True
|
||||||
|
if not re.match ("serpent_test", line) is None:
|
||||||
|
fw.write ("static const char *serpent_test (void) { return 0; }\n");
|
||||||
fname = re.match ("[a-zA-Z0-9_]*", line).group ()
|
fname = re.match ("[a-zA-Z0-9_]*", line).group ()
|
||||||
chmsg = "(%s): Removed." % fname
|
chmsg = "(%s): Removed." % fname
|
||||||
if nch:
|
if nch:
|
||||||
|
|
Loading…
Reference in a new issue