1. 22 10月, 2021 1 次提交
  2. 24 6月, 2021 1 次提交
  3. 02 6月, 2021 1 次提交
  4. 01 6月, 2021 1 次提交
  5. 25 5月, 2021 1 次提交
  6. 24 5月, 2021 1 次提交
  7. 08 5月, 2021 1 次提交
  8. 05 5月, 2021 1 次提交
  9. 26 4月, 2021 1 次提交
  10. 18 4月, 2021 1 次提交
  11. 02 4月, 2021 1 次提交
  12. 11 3月, 2021 1 次提交
  13. 28 2月, 2021 1 次提交
  14. 25 2月, 2021 1 次提交
  15. 13 11月, 2020 1 次提交
  16. 22 10月, 2020 1 次提交
  17. 23 9月, 2020 1 次提交
  18. 03 9月, 2020 1 次提交
  19. 07 8月, 2020 1 次提交
  20. 18 7月, 2020 1 次提交
  21. 16 7月, 2020 1 次提交
  22. 11 6月, 2020 1 次提交
  23. 23 4月, 2020 1 次提交
  24. 17 1月, 2020 1 次提交
  25. 17 10月, 2019 3 次提交
  26. 29 9月, 2019 3 次提交
    • D
      Reorganize public header files (part 1) · 50cd4768
      Dr. Matthias St. Pierre 提交于
      Rename <openssl/ossl_typ.h> to <openssl/types.h>.
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/9333)
      50cd4768
    • D
      Reorganize local header files · 706457b7
      Dr. Matthias St. Pierre 提交于
      Apart from public and internal header files, there is a third type called
      local header files, which are located next to source files in the source
      directory. Currently, they have different suffixes like
      
        '*_lcl.h', '*_local.h', or '*_int.h'
      
      This commit changes the different suffixes to '*_local.h' uniformly.
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/9333)
      706457b7
    • D
      Reorganize private crypto header files · 25f2138b
      Dr. Matthias St. Pierre 提交于
      Currently, there are two different directories which contain internal
      header files of libcrypto which are meant to be shared internally:
      
      While header files in 'include/internal' are intended to be shared
      between libcrypto and libssl, the files in 'crypto/include/internal'
      are intended to be shared inside libcrypto only.
      
      To make things complicated, the include search path is set up in such
      a way that the directive #include "internal/file.h" could refer to
      a file in either of these two directoroes. This makes it necessary
      in some cases to add a '_int.h' suffix to some files to resolve this
      ambiguity:
      
        #include "internal/file.h"      # located in 'include/internal'
        #include "internal/file_int.h"  # located in 'crypto/include/internal'
      
      This commit moves the private crypto headers from
      
        'crypto/include/internal'  to  'include/crypto'
      
      As a result, the include directives become unambiguous
      
        #include "internal/file.h"       # located in 'include/internal'
        #include "crypto/file.h"         # located in 'include/crypto'
      
      hence the superfluous '_int.h' suffixes can be stripped.
      
      The files 'store_int.h' and 'store.h' need to be treated specially;
      they are joined into a single file.
      Reviewed-by: NRichard Levitte <levitte@openssl.org>
      (Merged from https://github.com/openssl/openssl/pull/9333)
      25f2138b
  27. 24 8月, 2019 1 次提交
    • R
      Get rid of the diversity of names for MAC parameters · 703170d4
      Richard Levitte 提交于
      The EVP_PKEY MAC implementations had a diversity of controls that were
      really the same thing.  We did reproduce that for the provider based
      MACs, but are changing our minds on this.  Instead of that, we now use
      one parameter name for passing the name of the underlying ciphers or
      digests to a MAC implementation, "cipher" and "digest", and one
      parameter name for passing the output size of the MAC, "size".
      
      Then we leave it to the EVP_PKEY->EVP_MAC bridge to translate "md"
      to "digest", and "digestsize" to "size".
      Reviewed-by: NShane Lontis <shane.lontis@oracle.com>
      (Merged from https://github.com/openssl/openssl/pull/9667)
      703170d4
  28. 16 8月, 2019 2 次提交
    • R
      Rename ctx_{get,set}_params to {get,set}_ctx_params · 92d9d0ae
      Richard Levitte 提交于
      Recently, we added dispatched functions to get parameter descriptions,
      and those for operation context parameters ended up being called
      something_gettable_ctx_params and something_settable_ctx_params.
      
      The corresponding dispatched functions to actually perform parameter
      transfers were previously called something_ctx_get_params and
      something_ctx_set_params, which doesn't quite match, so we rename them
      to something_get_ctx_params and something_set_ctx_params.
      
      An argument in favor of this name change is English, where you'd
      rather say something like "set the context parameters".
      
      This only change the libcrypto <-> provider interface.
      Reviewed-by: NPaul Dale <paul.dale@oracle.com>
      (Merged from https://github.com/openssl/openssl/pull/9612)
      92d9d0ae
    • R
      Prepare EVP_MAC infrastructure for moving all MACs to providers · e74bd290
      Richard Levitte 提交于
      Quite a few adaptations are needed, most prominently the added code
      to allow provider based MACs.
      
      As part of this, all the old information functions are gone, except
      for EVP_MAC_name().  Some of them will reappear later, for example
      EVP_MAC_do_all() in some form.
      
      MACs by EVP_PKEY was particularly difficult to deal with, as they
      need to allocate and deallocate EVP_MAC_CTXs "under the hood", and
      thereby implicitly fetch the corresponding EVP_MAC.  This means that
      EVP_MACs can't be constant in a EVP_MAC_CTX, as their reference count
      may need to be incremented and decremented as part of the allocation
      or deallocation of the EVP_MAC_CTX.  It may be that other provider
      based EVP operation types may need to be handled in a similar manner.
      Reviewed-by: NMatt Caswell <matt@openssl.org>
      Reviewed-by: NShane Lontis <shane.lontis@oracle.com>
      (Merged from https://github.com/openssl/openssl/pull/8877)
      e74bd290
  29. 06 6月, 2019 2 次提交
  30. 27 3月, 2019 1 次提交
  31. 07 3月, 2019 1 次提交
  32. 06 12月, 2018 1 次提交
  33. 29 10月, 2018 1 次提交
    • R
      Add EVP_MAC API · 567db2c1
      Richard Levitte 提交于
      We currently implement EVP MAC methods as EVP_PKEY methods.  This
      change creates a separate EVP API for MACs, to replace the current
      EVP_PKEY ones.
      
      A note about this EVP API and how it interfaces with underlying MAC
      implementations:
      
      Other EVP APIs pass the EVP API context down to implementations, and
      it can be observed that the implementations use the pointer to their
      own private data almost exclusively.  The EVP_MAC API deviates from
      that pattern by passing the pointer to the implementation's private
      data directly, and thereby deny the implementations access to the
      EVP_MAC context structure.  This change is made to provide a clearer
      separation between the EVP library itself and the implementations of
      its supported algorithm classes.
      Reviewed-by: NPaul Dale <paul.dale@oracle.com>
      (Merged from https://github.com/openssl/openssl/pull/7393)
      567db2c1