1. 11 2月, 2016 4 次提交
  2. 10 2月, 2016 6 次提交
  3. 09 2月, 2016 2 次提交
    • R
      unified build scheme: add a design document · f83133a5
      Richard Levitte 提交于
      This documents describes the three steps from build.info files via the
      %unified_info database to the build-file templates, along with some
      examples showing how the data gets processed along the way.
      Reviewed-by: NViktor Dukhovni <viktor@openssl.org>
      f83133a5
    • R
      unified build scheme: add and document the "unified" driving engine · ddf1847d
      Richard Levitte 提交于
      common.tmpl will be used together with the template build file, and is
      the engine that connects the information gathered from all the
      build.info files with making the build file itself.
      
      This file expects there to be a template section in the build file
      template that defines a number perl functions designed to return
      strings with appropriate lines for the build system at hand.  The
      exact functions, what they can expect as arguments and what output
      they're expected to produce is documented in Configurations/README.
      Reviewed-by: NViktor Dukhovni <viktor@openssl.org>
      ddf1847d
  4. 08 2月, 2016 1 次提交
  5. 07 2月, 2016 1 次提交
    • R
      Enhance and clear the support of linker flags · c86ddbe6
      Richard Levitte 提交于
      Some time ago, we had a ex_libs configuration setting that could be
      divided into lflags and ex_libs.  These got divided in two settings,
      lflags and ex_libs, and the former was interpreted to be general
      linking flags.
      
      Unfortunately, that conclusion wasn't entirely accurate.  Most of
      those linking were meant to end up in a very precise position on the
      linking command line, just before the spec of libraries the linking
      depends on.
      
      Back to the drawing board, we're diving things further, now having
      lflags, which are linking flags that aren't depending on command line
      position, plib_lflags, which are linking flags that should show up just
      before the spec of libraries to depend on, and finally ex_libs, which
      is the spec of extra libraries to depend on.
      
      Also, documentation is changed in Configurations/README.  This was
      previously forgotten.
      Reviewed-by: NKurt Roeckx <kurt@openssl.org>
      c86ddbe6
  6. 01 2月, 2016 3 次提交
    • R
      unified build scheme: add a personal configuration to test it · 8ffdf7ff
      Richard Levitte 提交于
      Nothing else will run the unified scheme for now.
      Reviewed-by: NAndy Polyakov <appro@openssl.org>
      8ffdf7ff
    • R
      unified build scheme: a first introduction · 9fe2bb77
      Richard Levitte 提交于
      The "unified" build scheme revolves around small information files,
      build.info, which each describe their own bit of everything that needs
      to be built, using a mini-language described in Configurations/README.
      
      The information in build.info file contain references to source files
      and final result.  Object files are not mentioned at all, they are
      simply from source files.  Because of this, all the *_obj items in
      Configurations/*.conf are renamed to *_asm_src and the files listed
      in the values are change from object files to their corresponding
      source files.  For the sake of the other build schemes, Configure
      generates corresponding *_obj entries in %target.
      
      Furthermore, the "unified" build scheme supports having a build
      directory tree separate from the source directry tree.
      
      All paths in a build.info file is assumed to be relative to its
      location, either within the source tree or within the build tree.
      Reviewed-by: NAndy Polyakov <appro@openssl.org>
      9fe2bb77
    • A
      Engage poly1305-sparcv9 module. · 81e03785
      Andy Polyakov 提交于
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      81e03785
  7. 30 1月, 2016 3 次提交
  8. 29 1月, 2016 2 次提交
  9. 28 1月, 2016 1 次提交
    • 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
  10. 26 1月, 2016 2 次提交
    • R
      Small cleanups in Configure · f0bd4686
      Richard Levitte 提交于
      - Small rearrangement of the TABLE and HASH printouts, and adding
        printout of the "build_scheme" item
      - Renamed "engines_obj" to "padlock_obj"
      - Moved the runs of dofile down...  it didn't quite make sense to have
        that in the middle of a printout
      Reviewed-by: NRich Salz <rsalz@openssl.org>
      f0bd4686
    • R
      Refactor file writing - Remake Makefile.org into a template · 107b5792
      Richard Levitte 提交于
      It is time for Makefile.org to fold into the new regime and have a run
      through util/dofile.pl.  This forces some information out of there and
      into Configure, which isn't a bad thing, it makes Configure
      increasingly the center of build information, which is as it should
      be.
      
      A few extra defaults were needed in the BASE template to get rid of
      warnings about missing values.
      Reviewed-by: NViktor Dukhovni <viktor@openssl.org>
      107b5792
  11. 24 1月, 2016 1 次提交
  12. 23 1月, 2016 1 次提交
  13. 22 1月, 2016 2 次提交
    • 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
  14. 18 1月, 2016 3 次提交
  15. 13 1月, 2016 1 次提交
  16. 11 1月, 2016 1 次提交
  17. 08 1月, 2016 1 次提交
    • R
      mem functions cleanup · bbd86bf5
      Rich Salz 提交于
      Only two macros CRYPTO_MDEBUG and CRYPTO_MDEBUG_ABORT to control this.
      If CRYPTO_MDEBUG is not set, #ifdef out the whole debug machinery.
              (Thanks to Jakob Bohm for the suggestion!)
      Make the "change wrapper functions" be the only paradigm.
      Wrote documentation!
      Format the 'set func' functions so their paramlists are legible.
      Format some multi-line comments.
      Remove ability to get/set the "memory debug" functions at runtme.
      Remove MemCheck_* and CRYPTO_malloc_debug_init macros.
      Add CRYPTO_mem_debug(int flag) function.
      Add test/memleaktest.
      Rename CRYPTO_malloc_init to OPENSSL_malloc_init; remove needless calls.
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      bbd86bf5
  18. 14 12月, 2015 1 次提交
  19. 12 12月, 2015 1 次提交
  20. 25 11月, 2015 1 次提交
  21. 24 11月, 2015 1 次提交
  22. 21 11月, 2015 1 次提交