New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add new provider encoders implementations for more output standards, take 2 #13167
Commits on Nov 3, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 2f54267 - Browse repository at this point
Copy the full SHA 2f54267View commit details -
Configuration menu - View commit details
-
Copy full SHA for c153ef0 - Browse repository at this point
Copy the full SHA c153ef0View commit details -
ENCODER: Add support for OSSL_FUNC_encoder_does()
OSSL_FUNC_encoder_does() is a dispatchable encoder implementation function that should return 1 if the given |selection| is supported by an encoder implementation and 0 if not. This can be used by libcrypto functionality to figure out if an encoder implementation should be considered or not.
Configuration menu - View commit details
-
Copy full SHA for 4ee52aa - Browse repository at this point
Copy the full SHA 4ee52aaView commit details -
ENCODER: Add output structure support for EVP_PKEY encoding
OSSL_ENCODER_CTX_new_by_EVP_PKEY() takes one more argument to express the desired outermost structure for the output. This also adds OSSL_ENCODER_CTX_prune_encoders(), which is used to reduce the stack of encoders found according to criteria formed from the combination of desired selection, output type and output structure.
Configuration menu - View commit details
-
Copy full SHA for 3b3966f - Browse repository at this point
Copy the full SHA 3b3966fView commit details -
Configuration menu - View commit details
-
Copy full SHA for a8b1d5a - Browse repository at this point
Copy the full SHA a8b1d5aView commit details -
PROV: Re-implement all the keypair encoders
The base functionality to implement the keypair encoders doesn't change much, but this results in a more massive amount of OSSL_DISPATCH and OSSL_ALGORITHM arrays, to support a fine grained selection of implementation based on what parts of the keypair structure (combinations of key parameters, public key and private key) should be output, the output type ("TEXT", "DER" or "PEM") and the outermost output structure ("pkcs8", "SubjectPublicKeyInfo", key type specific structures, ...). We add support for the generic structure name "type-specific", to allow selecting that without knowing the exact name of that structure.
Configuration menu - View commit details
-
Copy full SHA for 9f78033 - Browse repository at this point
Copy the full SHA 9f78033View commit details -
Adapt libcrypto functionality to specify the desired output structure
This also modifies i2d_PublicKey() and i2d_KeyParams() to support provided keys.
Configuration menu - View commit details
-
Copy full SHA for c5007dc - Browse repository at this point
Copy the full SHA c5007dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 92c22c6 - Browse repository at this point
Copy the full SHA 92c22c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for e8ecba1 - Browse repository at this point
Copy the full SHA e8ecba1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 071f390 - Browse repository at this point
Copy the full SHA 071f390View commit details -
test/recipes/30-test_evp_libctx.t: use fips-and-base.cnf
The FIPS provider module doesn't have any encoders, the base provider is needed for that.
Configuration menu - View commit details
-
Copy full SHA for 58f8d3b - Browse repository at this point
Copy the full SHA 58f8d3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5590e53 - Browse repository at this point
Copy the full SHA 5590e53View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3945e6 - Browse repository at this point
Copy the full SHA d3945e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for e3afe7b - Browse repository at this point
Copy the full SHA e3afe7bView commit details -
squash! ENCODER: Add output structure support for EVP_PKEY encoding
Replace the paragraph talking about OSSL_ENCODER_CTX_prune_encoders() with: The encoding processor encoder_process() is enhanced with better analysis of the stack of encoder implementations. To avoid having to keep an on the side array of information, it uses recursion.
Configuration menu - View commit details
-
Copy full SHA for 755d636 - Browse repository at this point
Copy the full SHA 755d636View commit details -
Configuration menu - View commit details
-
Copy full SHA for 823474b - Browse repository at this point
Copy the full SHA 823474bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 82ef63a - Browse repository at this point
Copy the full SHA 82ef63aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 16b26c1 - Browse repository at this point
Copy the full SHA 16b26c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for e6c54e2 - Browse repository at this point
Copy the full SHA e6c54e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 51012d1 - Browse repository at this point
Copy the full SHA 51012d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for e3f5601 - Browse repository at this point
Copy the full SHA e3f5601View commit details -
squash! ENCODER: Add support for OSSL_FUNC_encoder_does()
Rename OSSL_FUNC_encoder_does() to OSSL_FUNC_encoder_does_selection()
Configuration menu - View commit details
-
Copy full SHA for dcdad08 - Browse repository at this point
Copy the full SHA dcdad08View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ecec40 - Browse repository at this point
Copy the full SHA 5ecec40View commit details -
Configuration menu - View commit details
-
Copy full SHA for 30bef93 - Browse repository at this point
Copy the full SHA 30bef93View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac611e2 - Browse repository at this point
Copy the full SHA ac611e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 391c3a6 - Browse repository at this point
Copy the full SHA 391c3a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for a0e94ca - Browse repository at this point
Copy the full SHA a0e94caView commit details -
Configuration menu - View commit details
-
Copy full SHA for bb7ae33 - Browse repository at this point
Copy the full SHA bb7ae33View commit details -
Configuration menu - View commit details
-
Copy full SHA for b5d2055 - Browse repository at this point
Copy the full SHA b5d2055View commit details -
Configuration menu - View commit details
-
Copy full SHA for 07fafef - Browse repository at this point
Copy the full SHA 07fafefView commit details -
Configuration menu - View commit details
-
Copy full SHA for bda66dd - Browse repository at this point
Copy the full SHA bda66ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for f95bc2e - Browse repository at this point
Copy the full SHA f95bc2eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 801d2cd - Browse repository at this point
Copy the full SHA 801d2cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 707f02a - Browse repository at this point
Copy the full SHA 707f02aView commit details -
squash! test/evp_libctx_test.c: use i2d_PublicKey_ex() instead of i2d…
…_PublicKey() New commit message: test/evp_libctx_test.c: use OSSL_ENCODER instead of i2d_PublicKey()
Configuration menu - View commit details
-
Copy full SHA for e762d58 - Browse repository at this point
Copy the full SHA e762d58View commit details