Move CMS signing code out of the algorithms and into CMS
authorMatt Caswell <matt@openssl.org>
Wed, 7 Oct 2020 13:45:22 +0000 (14:45 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 15 Oct 2020 09:00:28 +0000 (10:00 +0100)
commit9ab7fe483629704b09dc43c1998e0e489615390f
tree7080bba8815bbf809a077a4f2711838f5acbf2cd
parent0b3a4ef27a6c2a427dc2d4a87c52677d57c90f4c
Move CMS signing code out of the algorithms and into CMS

There is a large amount of CMS sepcific code in the algorithms. This is in
the wrong place and breaks layering. This code should be in the CMS layer.

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/13088)
13 files changed:
crypto/asn1/x_algor.c
crypto/cms/build.info
crypto/cms/cms_dh.c
crypto/cms/cms_ec.c [moved from crypto/cms/cms_ecdh.c with 89% similarity]
crypto/cms/cms_env.c
crypto/cms/cms_local.h
crypto/cms/cms_rsa.c
crypto/cms/cms_sd.c
crypto/dsa/dsa_ameth.c
crypto/ec/ec_ameth.c
crypto/rsa/rsa_ameth.c
include/crypto/asn1.h
include/crypto/rsa.h