c70b982056
A new OID module has been created that contains the main OID searching functionality based on type-dependent arrays. A base type is used to contain the basic values (oid_descriptor_t) and that type is extended to contain type specific information (like a pk_alg_t). As a result the rsa sign and verify function prototypes have changed. They now expect a md_type_t identifier instead of the removed RSA_SIG_XXX defines. All OID definitions have been moved to oid.h All OID matching code is in the OID module. The RSA PKCS#1 functions cleaned up as a result and adapted to use the MD layer. The SSL layer cleanup up as a result and adapted to use the MD layer. The X509 parser cleaned up and matches OIDs in certificates with new module and adapted to use the MD layer. The X509 writer cleaned up and adapted to use the MD layer. Apps and tests modified accordingly
27 lines
1.1 KiB
Text
27 lines
1.1 KiB
Text
Certificate Request check Server1 SHA1
|
|
depends_on:POLARSSL_SHA1_C
|
|
x509_cert_req_check:"data_files/server1.key":POLARSSL_MD_SHA1:"data_files/server1.req.sha1"
|
|
|
|
Certificate Request check Server1 SHA224
|
|
depends_on:POLARSSL_SHA2_C
|
|
x509_cert_req_check:"data_files/server1.key":POLARSSL_MD_SHA224:"data_files/server1.req.sha224"
|
|
|
|
Certificate Request check Server1 SHA256
|
|
depends_on:POLARSSL_SHA2_C
|
|
x509_cert_req_check:"data_files/server1.key":POLARSSL_MD_SHA256:"data_files/server1.req.sha256"
|
|
|
|
Certificate Request check Server1 SHA384
|
|
depends_on:POLARSSL_SHA4_C
|
|
x509_cert_req_check:"data_files/server1.key":POLARSSL_MD_SHA384:"data_files/server1.req.sha384"
|
|
|
|
Certificate Request check Server1 SHA512
|
|
depends_on:POLARSSL_SHA4_C
|
|
x509_cert_req_check:"data_files/server1.key":POLARSSL_MD_SHA512:"data_files/server1.req.sha512"
|
|
|
|
Certificate Request check Server1 MD4
|
|
depends_on:POLARSSL_MD4_C
|
|
x509_cert_req_check:"data_files/server1.key":POLARSSL_MD_MD4:"data_files/server1.req.md4"
|
|
|
|
Certificate Request check Server1 MD5
|
|
depends_on:POLARSSL_MD5_C
|
|
x509_cert_req_check:"data_files/server1.key":POLARSSL_MD_MD5:"data_files/server1.req.md5"
|