mirror of
https://github.com/openssl/openssl.git
synced 2024-12-27 06:21:43 +08:00
b968945204
Setting a hash function was reserved for signature operations. However, it turns out that SM2 uses a hash function for encryption and decryption as well. Therefore, EVP_PKEY_CTX_md() must be called with an expanded operation type combination that includes EVP_PKEY_OP_TYPE_CRYPT when used in a generic way. For SM2, test/recipes/30-test_evp_data/evppkey_sm2.txt is expanded to test decryption both with an implicit and an explicit digest. Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/12789) |
||
---|---|---|
.. | ||
evpciph_aes_ccm_cavs.txt | ||
evpciph_aes_common.txt | ||
evpciph_aes_cts1.txt | ||
evpciph_aes_cts23.txt | ||
evpciph_aes_ocb.txt | ||
evpciph_aes_siv.txt | ||
evpciph_aria.txt | ||
evpciph_bf.txt | ||
evpciph_camellia.txt | ||
evpciph_cast5.txt | ||
evpciph_chacha.txt | ||
evpciph_des3_common.txt | ||
evpciph_des.txt | ||
evpciph_idea.txt | ||
evpciph_rc2.txt | ||
evpciph_rc4.txt | ||
evpciph_rc5.txt | ||
evpciph_seed.txt | ||
evpciph_sm4.txt | ||
evpencod.txt | ||
evpkdf_hkdf.txt | ||
evpkdf_krb5.txt | ||
evpkdf_pbkdf2.txt | ||
evpkdf_scrypt.txt | ||
evpkdf_ss.txt | ||
evpkdf_ssh.txt | ||
evpkdf_tls11_prf.txt | ||
evpkdf_tls12_prf.txt | ||
evpkdf_x942.txt | ||
evpkdf_x963.txt | ||
evpmac_blake.txt | ||
evpmac_common.txt | ||
evpmac_poly1305.txt | ||
evpmac_siphash.txt | ||
evpmd_blake.txt | ||
evpmd_md.txt | ||
evpmd_mdc2.txt | ||
evpmd_ripemd.txt | ||
evpmd_sha.txt | ||
evpmd_sm3.txt | ||
evpmd_whirlpool.txt | ||
evppbe_pbkdf2.txt | ||
evppbe_pkcs12.txt | ||
evppbe_scrypt.txt | ||
evppkey_brainpool.txt | ||
evppkey_dsa.txt | ||
evppkey_ecc.txt | ||
evppkey_ecdh.txt | ||
evppkey_ecdsa.txt | ||
evppkey_ecx.txt | ||
evppkey_ffdhe.txt | ||
evppkey_kas.txt | ||
evppkey_kdf_hkdf.txt | ||
evppkey_kdf_scrypt.txt | ||
evppkey_kdf_tls1_prf.txt | ||
evppkey_mismatch.txt | ||
evppkey_rsa.txt | ||
evppkey_sm2.txt | ||
evprand.txt |