1. 04 2月, 2016 2 次提交
  2. 03 2月, 2016 1 次提交
  3. 01 2月, 2016 4 次提交
  4. 31 1月, 2016 2 次提交
  5. 30 1月, 2016 6 次提交
  6. 29 1月, 2016 2 次提交
  7. 28 1月, 2016 3 次提交
    • R
      Remove EIGHT_BIT and SIXTEEN_BIT · b4f35e5e
      Rich Salz 提交于
      Also cleaned up bn_prime.pl to current coding style.
      Reviewed-by: NAndy Polyakov <appro@openssl.org>
      b4f35e5e
    • R
      Remove outdated legacy crypto options · 3e9e810f
      Rich Salz 提交于
      Many options for supporting optimizations for legacy crypto on legacy
      platforms have been removed.  This simplifies the source code and
      does not really penalize anyone.
              DES_PTR (always on)
              DES_RISC1, DES_RISC2 (always off)
              DES_INT (always 'unsigned int')
              DES_UNROLL (always on)
              BF_PTR (always on) BF_PTR2 (removed)
              MD2_CHAR, MD2_LONG (always 'unsigned char')
              IDEA_SHORT, IDEA_LONG (always 'unsigned int')
              RC2_SHORT, RC2_LONG (always 'unsigned int')
              RC4_LONG (only int and char (for assembler) are supported)
              RC4_CHUNK (always long), RC_CHUNK_LL (removed)
              RC4_INDEX (always on)
      And also make D_ENCRYPT macro more clear (@appro)
      
      This is done in consultation with Andy.
      Reviewed-by: NAndy Polyakov <appro@openssl.org>
      3e9e810f
    • R
      Fix check of what makedepprog should be · 8ed40b83
      Richard Levitte 提交于
      A mistake was made and the setting of this config variable got
      reverted to an older behavior.  This restores the latest.
      Reviewed-by: NEmilia Käsper <emilia@openssl.org>
      8ed40b83
  8. 27 1月, 2016 1 次提交
  9. 26 1月, 2016 8 次提交
  10. 25 1月, 2016 1 次提交
  11. 24 1月, 2016 1 次提交
  12. 23 1月, 2016 5 次提交
    • B
      Disable jpake if psk is disabled. · b427401c
      Ben Laurie 提交于
      Reviewed-by: NViktor Dukhovni <viktor@openssl.org>
      b427401c
    • R
      Refactor file writing - rewrite crypto/opensslconf.h.in as template · 7d130f68
      Richard Levitte 提交于
      The turn has come to have crypto/opensslconf.h.in get run through
      util/dofile.pl.  The consequence is that a large number of variables
      get moved to the %config table.
      
      Also, the string variables $openssl_*, which were populated with cpp
      lines, all being of the form "#define SOMETHING", were converted into
      ARRAY refs in %config values, containing just the list of macros to be
      defined.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      7d130f68
    • R
      Refactor file writing - Adapt util/mkdef.pl to use configdata.pm · 3fa04f0d
      Richard Levitte 提交于
      For this adaptation, the variables $options and $version needed to
      move to %config in Configure, and why not move all other variables
      holding diverse version numbers at the same time?
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      3fa04f0d
    • R
      Refactor file writing - introduce template driven file writing · 291e94df
      Richard Levitte 提交于
      apps/CA.pl and tools/c_rehash are built from template files.  So far,
      this was done by Configure, which created its own problems as it
      forced everyone to reconfigure just because one of the template files
      had changed.
      Instead, have those files created as part of the normal build in apps/
      and in tools/.
      
      Furthermore, this prepares for a future where Configure may produce
      entirely other build files than Makefile, and the latter can't be
      guaranteed to be the holder of all information for other scripts.
      Instead, configdata.pm (described below) becomes the center of
      configuration information.
      
      This introduces a few new things:
      
      %config         a hash table to hold all kinds of configuration data
                      that can be used by any other script.
      configdata.pm   a perl module that Configure writes.  It currently
                      holds the hash tables %config and %target.
      util/dofile.pl  a script that takes a template on STDIN and outputs
                      the result after applying configuration data on it.
                      It's supposed to be called like this:
      
                              perl -I$(TOP) -Mconfigdata < template > result
      
                      or
      
                              perl -I$(TOP) -Mconfigdata templ1 templ2 ... > result
      
                      Note: util/dofile.pl requires Text::Template.
      
      As part of this changed, remove a number of variables that are really
      just copies of entries in %target, and use %target directly.  The
      exceptions are $target{cflags} and $target{lflags}, they do get copied
      to $cflags and $lflags.  The reason for this is that those variable
      potentially go through a lot of changes and would rather deserve a
      place in %config.  That, however, is for another commit.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      291e94df
    • R
      Refactor config - consolidate and refresh print_table_entry · 00ae96ca
      Richard Levitte 提交于
      It's time for print_table_entry to get a bit of refreshment.  The way it
      was put together, we needed to maintain the list of known configuration
      keys of interest twice, in different shapes.  This is error prone, so
      move the list of strings to a common list for all printing cases, and
      use simple formatting of lines to do the actual printout based on that
      list.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      00ae96ca
  13. 22 1月, 2016 3 次提交
    • R
      Refactor config - @MK1MF_Builds out, general build scheme in · 88087414
      Richard Levitte 提交于
      Time to get rid of @MK1MF_Builds and introduce a more flexible
      'build_scheme' configuration key.  Its value may be a string or an
      array of strings, meaning we need to teach resolve_config how to
      handle ARRAY referenses.
      
      The build scheme is a word that selects a function to create the
      appropriate result files for a certain configuration.  Currently valid
      build schemes aer "mk1mf" and "unixmake", the plan is however to add
      at least one other for a more universal build scheme.
      
      Incidently, this also adds the functions 'add' and 'add_before', which
      can be used in a configuration, so instead of having to repeatedly
      write a sub like this:
      
      	key1 => sub { join(" ", @_, "myvalues"); },
      	key2 => sub { join(" ", "myvalues", @_); },
      
      one could write this:
      
      	key1 => add(" ", "myvalues"),
      	key2 => add_before(" ", "myvalues"),
      
      The good point with 'add' and 'add_before' is that they handle
      inheritances where the values are a misture of scalars and ARRAYs.  If
      there are any ARRAY to be found, the resulting value will be an ARRAY,
      otherwise it will be a scalar with all the incoming valued joined
      together with the separator given as first argument to add/add_before.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      88087414
    • R
      Refactor config - move templates and template docs to Configurations · 9e0724a1
      Richard Levitte 提交于
      Move the documentation of the target configuration form to
      Configurations/README.
      
      Move initial assembler object templates to
      Configurations/00-BASE-templates.conf.
      
      Furthermore, remove all variables containing the names of the
      non-assembler object files and make a BASE template of them instead.
      The  values from this templates are used as defaults as is.  The
      remaining manipulation of data when assembler modules are used is done
      only when $no_asm is false.
      
      While doing this, clean out some other related variables that aren't
      used anywhere.
      
      Also, we had to move the resolution of the chosen target a bit, or the
      function 'asm' would never catch a true $no_asm...  this hasn't
      mattered before we've moved it all to the BASE template, but now it
      does.
      
      At the same time, add the default for the 'unistd' key to the BASE
      template.
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      9e0724a1
    • R
      Refresh the thinking of --prefix and --openssldir · d74dfafd
      Richard Levitte 提交于
      --prefix is now exclusively used for software and manual installation.
      --openssldir is not exclusively used as a default location for certs,
      keys and the default openssl.cnf.
      
      This change is made to bring clarity, to have the two less
      intertwined, and to be more compatible with the usual ways of software
      installation.
      
      Please change your habits and scripts to use --prefix rather than
      --openssldir for installation location now.
      Reviewed-by: NViktor Dukhovni <viktor@openssl.org>
      d74dfafd
  14. 21 1月, 2016 1 次提交