[PATCH resend 00/10] dssenh: Implementing dssenh.

Zhang Shuai wxsxsdz at gmail.com
Sun Nov 17 13:01:25 CST 2019


This series of patches and follow-ups will implement dssenh.
Dssenh has a lot of functionalities in common with rsaenh, so try to
extract the codes that are irrelavent to the specific module and reuse
them as much as possible.
The behaviour of dssenh is well-understood (through dssenh/tests, at
least for CPAcquireContext and CPReleaseContext). And my first goal
would be to pass all dssenh/tests.
Currently CPAcquireContext and CPReleaseContext is implemented.
I'm new here and not familiar with how to email patches, so sorry for
spamming the mail list with bad patches.

Signed-off-by: Zhang Shuai <wxsxsdz at gmail.com>

Zhang Shuai (10):
  dssenh: refactor rsaenh - create new files.
  dssenh: refactor rsaenh - table driven new_key_container.
  dssenh: refactor rsaenh - move create_container_key,
    open_container_key, delete_container_key from rsaenh/rsaenh.c to
    rsaenh/cryptoprovutils.c
  dssenh: refactor rsaenh - move map_key_spec_to_permissions_name,
    store_key_permissions from rsaenh/rsaenh.c to
    rsaenh/cryptoprovutils.c
  dssenh: refactor rsaenh - move store_key_container_keys,
    store_key_container_permissions, map_key_spec_to_permissions_name
    from rsaenh/rsaenh.c to rsaenh/cryptoprovutils.c
  dssenh: refactor rsaenh - move release_key_container_keys,
    destroy_key_container,  read_key_value, read_key_container,
    new_key_container, import_key from rsaenh/rsaenh.c to
    rsaenh/cryptoprovutils.c
  dssenh: refactor rsaenh - Change constant names.
  dssenh: Makefile and registry.
  refactor rsaenh - move CPAcquireContext, CPReleaseContext from
    rsaenh/rsaenh.c to rsaenh/cryptoprovutils.c
  dssenh: implement CPAcquireContext and CPReleaseContext for dssenh.

 dlls/dssenh/Makefile.in        |   9 +-
 dlls/dssenh/cryptoprovconfig.h |  86 +++++
 dlls/dssenh/dssenh.c           | 181 +++++++++
 dlls/dssenh/dssenh.rgs         |  60 +++
 dlls/dssenh/dssenh.spec        |   4 +-
 dlls/dssenh/main.c             |  59 ---
 dlls/dssenh/rsrc.rc            |  31 ++
 dlls/rsaenh/Makefile.in        |   3 +-
 dlls/rsaenh/cryptoprovconfig.h |  90 +++++
 dlls/rsaenh/cryptoprovutils.c  | 653 ++++++++++++++++++++++++++++++++
 dlls/rsaenh/cryptoprovutils.h  |  94 +++++
 dlls/rsaenh/rsaenh.c           | 657 +--------------------------------
 12 files changed, 1214 insertions(+), 713 deletions(-)
 create mode 100644 dlls/dssenh/cryptoprovconfig.h
 create mode 100644 dlls/dssenh/dssenh.c
 create mode 100644 dlls/dssenh/dssenh.rgs
 delete mode 100644 dlls/dssenh/main.c
 create mode 100644 dlls/dssenh/rsrc.rc
 create mode 100644 dlls/rsaenh/cryptoprovconfig.h
 create mode 100644 dlls/rsaenh/cryptoprovutils.c
 create mode 100644 dlls/rsaenh/cryptoprovutils.h

-- 
2.21.0




More information about the wine-devel mailing list