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. Besides, is there a way to let the robot test a series of patches without sending to the maillist?
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 | 83 +++++ dlls/dssenh/cryptoprovutils.c | 22 ++ dlls/dssenh/dssenh.c | 184 +++++++++ dlls/dssenh/dssenh.rgs | 60 +++ dlls/dssenh/dssenh.spec | 4 +- dlls/dssenh/handle.c | 22 ++ dlls/dssenh/main.c | 59 --- dlls/dssenh/rsrc.rc | 31 ++ dlls/rsaenh/Makefile.in | 3 +- dlls/rsaenh/cryptoprovconfig.h | 86 +++++ dlls/rsaenh/cryptoprovutils.c | 653 ++++++++++++++++++++++++++++++++ dlls/rsaenh/cryptoprovutils.h | 94 +++++ dlls/rsaenh/rsaenh.c | 657 +-------------------------------- 14 files changed, 1254 insertions(+), 713 deletions(-) create mode 100644 dlls/dssenh/cryptoprovconfig.h create mode 100644 dlls/dssenh/cryptoprovutils.c create mode 100644 dlls/dssenh/dssenh.c create mode 100644 dlls/dssenh/dssenh.rgs create mode 100644 dlls/dssenh/handle.c 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