openssl/doc/man7
Neil Horman 94be985cbc gate calling of evp_method_id on having a non-zero name id
If a name is passed to EVP_<OBJ>_fetch of the form:
name1:name2:name3

The names are parsed on the separator ':' and added to the store, but
during the lookup in inner_evp_generic_fetch, the subsequent search of
the store uses the full name1:name2:name3 string, which fails lookup,
and causes subsequent assertion failures in evp_method_id.

instead catch the failure in inner_evp_generic_fetch and return an error
code if the name_id against a colon separated list of names fails.  This
provides a graceful error return path without asserts, and leaves room
for a future feature in which such formatted names can be parsed and
searched for iteratively

Add a simple test to verify that providing a colon separated name
results in an error indicating an invalid lookup.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Todd Short <todd.short@me.com>
(Merged from https://github.com/openssl/openssl/pull/23110)
2024-01-01 12:57:59 -05:00
..
img
bio.pod
ct.pod
des_modes.pod
EVP_ASYM_CIPHER-RSA.pod
EVP_ASYM_CIPHER-SM2.pod
EVP_CIPHER-AES.pod AES: Document that the XTS, SIV, WRAP modes do not support streaming 2023-12-22 13:42:28 +01:00
EVP_CIPHER-ARIA.pod
EVP_CIPHER-BLOWFISH.pod
EVP_CIPHER-CAMELLIA.pod
EVP_CIPHER-CAST.pod
EVP_CIPHER-CHACHA.pod
EVP_CIPHER-DES.pod
EVP_CIPHER-IDEA.pod
EVP_CIPHER-NULL.pod
EVP_CIPHER-RC2.pod
EVP_CIPHER-RC4.pod
EVP_CIPHER-RC5.pod
EVP_CIPHER-SEED.pod
EVP_CIPHER-SM4.pod SM4: Document that the XTS mode does not support streaming 2023-12-22 13:42:28 +01:00
EVP_KDF-ARGON2.pod Fix typos found by codespell in man pages 2023-12-29 10:13:01 +01:00
EVP_KDF-HKDF.pod
EVP_KDF-HMAC-DRBG.pod
EVP_KDF-KB.pod
EVP_KDF-KRB5KDF.pod
EVP_KDF-PBKDF1.pod
EVP_KDF-PBKDF2.pod
EVP_KDF-PKCS12KDF.pod
EVP_KDF-PVKKDF.pod
EVP_KDF-SCRYPT.pod
EVP_KDF-SS.pod
EVP_KDF-SSHKDF.pod
EVP_KDF-TLS1_PRF.pod
EVP_KDF-TLS13_KDF.pod
EVP_KDF-X942-ASN1.pod
EVP_KDF-X942-CONCAT.pod
EVP_KDF-X963.pod
EVP_KEM-EC.pod
EVP_KEM-RSA.pod
EVP_KEM-X25519.pod
EVP_KEYEXCH-DH.pod
EVP_KEYEXCH-ECDH.pod
EVP_KEYEXCH-X25519.pod
EVP_MAC-BLAKE2.pod
EVP_MAC-CMAC.pod
EVP_MAC-GMAC.pod
EVP_MAC-HMAC.pod Ignore OSSL_MAC_PARAM_DIGEST_NOINIT/OSSL_MAC_PARAM_DIGEST_ONESHOT 2023-12-26 10:36:00 -05:00
EVP_MAC-KMAC.pod
EVP_MAC-Poly1305.pod
EVP_MAC-Siphash.pod
EVP_MD-BLAKE2.pod
EVP_MD-common.pod
EVP_MD-KECCAK.pod
EVP_MD-MD2.pod
EVP_MD-MD4.pod
EVP_MD-MD5-SHA1.pod
EVP_MD-MD5.pod
EVP_MD-MDC2.pod
EVP_MD-NULL.pod
EVP_MD-RIPEMD160.pod
EVP_MD-SHA1.pod
EVP_MD-SHA2.pod
EVP_MD-SHA3.pod
EVP_MD-SHAKE.pod doc: improve display of KECCAK-KMAC128, KECCAK-KMAC256 defs 2023-12-04 09:33:25 +01:00
EVP_MD-SM3.pod
EVP_MD-WHIRLPOOL.pod
EVP_PKEY-DH.pod
EVP_PKEY-DSA.pod
EVP_PKEY-EC.pod
EVP_PKEY-FFC.pod
EVP_PKEY-HMAC.pod
EVP_PKEY-RSA.pod rsa-doc: fix typo 2023-12-01 10:31:37 +01:00
EVP_PKEY-SM2.pod
EVP_PKEY-X25519.pod
EVP_RAND-CTR-DRBG.pod
EVP_RAND-HASH-DRBG.pod
EVP_RAND-HMAC-DRBG.pod
EVP_RAND-SEED-SRC.pod Fix EVP_RAND-SEED-SRC documentation example 2023-11-30 12:33:17 +01:00
EVP_RAND-TEST-RAND.pod
EVP_RAND.pod
EVP_SIGNATURE-DSA.pod
EVP_SIGNATURE-ECDSA.pod
EVP_SIGNATURE-ED25519.pod
EVP_SIGNATURE-HMAC.pod
EVP_SIGNATURE-RSA.pod
evp.pod
fips_module.pod
life_cycle-cipher.pod
life_cycle-digest.pod
life_cycle-kdf.pod
life_cycle-mac.pod
life_cycle-pkey.pod
life_cycle-rand.pod
openssl_user_macros.pod.in
openssl-core_dispatch.h.pod
openssl-core_names.h.pod
openssl-core.h.pod
openssl-env.pod
openssl-glossary.pod
openssl-quic.pod
openssl-threads.pod
OSSL_PROVIDER-base.pod
OSSL_PROVIDER-default.pod
OSSL_PROVIDER-FIPS.pod Removed extra spaces in documentation 2023-12-12 20:00:05 +01:00
OSSL_PROVIDER-legacy.pod
OSSL_PROVIDER-null.pod
ossl_store-file.pod
ossl_store.pod
ossl-guide-introduction.pod
ossl-guide-libcrypto-introduction.pod gate calling of evp_method_id on having a non-zero name id 2024-01-01 12:57:59 -05:00
ossl-guide-libraries-introduction.pod
ossl-guide-libssl-introduction.pod
ossl-guide-migration.pod
ossl-guide-quic-client-block.pod
ossl-guide-quic-client-non-block.pod
ossl-guide-quic-introduction.pod
ossl-guide-quic-multi-stream.pod
ossl-guide-tls-client-block.pod Fix typos found by codespell in man pages 2023-12-29 10:13:01 +01:00
ossl-guide-tls-client-non-block.pod
ossl-guide-tls-introduction.pod
passphrase-encoding.pod
property.pod
provider-asym_cipher.pod
provider-base.pod
provider-cipher.pod doc: improve documentation of EVP in-place encryption 2023-12-12 10:40:56 +01:00
provider-decoder.pod
provider-digest.pod
provider-encoder.pod
provider-kdf.pod
provider-kem.pod
provider-keyexch.pod
provider-keymgmt.pod
provider-mac.pod
provider-object.pod
provider-rand.pod
provider-signature.pod
provider-storemgmt.pod provider-storemgmt.pod: fix nits (unclosed '<' around name) 2023-12-12 19:52:02 +01:00
provider.pod
proxy-certificates.pod
RAND.pod
RSA-PSS.pod
x509.pod
X25519.pod