1. 29 2月, 2020 1 次提交
    • R
      Rethink the EVP_PKEY cache of provider side keys · 3c6ed955
      Richard Levitte 提交于
      The role of this cache was two-fold:
      
      1.  It was a cache of key copies exported to providers with which an
          operation was initiated.
      2.  If the EVP_PKEY didn't have a legacy key, item 0 of the cache was
          the corresponding provider side origin, while the rest was the
          actual cache.
      
      This dual role for item 0 made the code a bit confusing, so we now
      make a separate keymgmt / keydata pair outside of that cache, which is
      the provider side "origin" key.
      
      A hard rule is that an EVP_PKEY cannot hold a legacy "origin" and a
      provider side "origin" at the same time.
      Reviewed-by: NShane Lontis <shane.lontis@oracle.com>
      (Merged from https://github.com/openssl/openssl/pull/11148)
      3c6ed955
  2. 22 2月, 2020 1 次提交
  3. 21 2月, 2020 2 次提交
  4. 20 2月, 2020 1 次提交
  5. 19 2月, 2020 1 次提交
  6. 06 2月, 2020 1 次提交
  7. 05 2月, 2020 2 次提交
  8. 31 1月, 2020 1 次提交
  9. 29 1月, 2020 1 次提交
  10. 27 1月, 2020 1 次提交
  11. 23 1月, 2020 1 次提交
  12. 15 1月, 2020 1 次提交
  13. 12 1月, 2020 1 次提交
  14. 09 1月, 2020 1 次提交
  15. 06 1月, 2020 1 次提交
  16. 17 12月, 2019 1 次提交
  17. 17 11月, 2019 1 次提交
  18. 14 11月, 2019 2 次提交
  19. 06 11月, 2019 2 次提交
  20. 04 11月, 2019 2 次提交
  21. 31 10月, 2019 1 次提交
  22. 21 10月, 2019 1 次提交
  23. 16 10月, 2019 1 次提交
    • R
      Add EVP_PKEY_CTX_new_provided() · a07c17ef
      Richard Levitte 提交于
      This works as much as possible EVP_PKEY_CTX_new_id(), except it takes
      data that's relevant for providers, algorithm name and property query
      string instead of NID and engine.
      
      Additionally, if EVP_PKEY_CTX_new() or EVP_PKEY_CTX_new_id() was
      called, the algorithm name in the EVP_PKEY context will be set to the
      short name of the given NID (explicit or the one of the given
      EVP_PKEY), thereby giving an easier transition from legacy methods to
      provided methods.
      
      The intent is that operations will use this information to fetch
      provider methods implicitly as needed.
      Reviewed-by: NTomas Mraz <tmraz@fedoraproject.org>
      (Merged from https://github.com/openssl/openssl/pull/10184)
      a07c17ef
  24. 10 10月, 2019 1 次提交
  25. 29 9月, 2019 2 次提交
    • 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
  26. 25 9月, 2019 1 次提交
  27. 09 9月, 2019 5 次提交
  28. 05 9月, 2019 1 次提交
  29. 24 7月, 2019 1 次提交
  30. 22 7月, 2019 1 次提交