openssl/apps
Matt Caswell 849450746f Don't truncate the input when decrypting in pkeyutl
The pkeyutl app was truncating the input file for decryption leading to
incorrect results. This was probably ok historically when RSA was being
used for decryption which has short maximum sizes. This is not ok with SM2.

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21272)
2023-06-26 09:28:23 +01:00
..
demoSRP
include apps/asn1parse: improve RFC7462 compliance 2023-06-09 09:47:34 +02:00
lib Don't truncate the input when decrypting in pkeyutl 2023-06-26 09:28:23 +01:00
asn1parse.c apps/asn1parse: improve RFC7462 compliance 2023-06-09 09:47:34 +02:00
build.info
ca-cert.srl
ca-key.pem
ca-req.pem
ca.c apps/ca.c: Handle EVP_PKEY_get_default_digest_name() returning 1 with "UNDEF" 2023-06-15 14:03:57 +02:00
CA.pl.in
cert.pem
ciphers.c
client.pem
cmp.c Fix new typos found by codespell 2023-06-18 16:53:09 +10:00
cms.c Enable some disabled __owurs 2023-02-07 11:56:27 -05:00
crl2pkcs7.c
crl.c
ct_log_list.cnf
dgst.c List also non-fetchable hashes in openssl dgst -list 2023-04-14 14:40:41 +02:00
dhparam.c
dsa512.pem
dsa1024.pem
dsa-ca.pem
dsa-pca.pem
dsa.c apps/{dsa,ec,rsa,pkey}.c: harmonize coding w.r.t. 'pubin' variable 2023-03-14 17:26:49 +01:00
dsap.pem
dsaparam.c Added tests and updated help 2023-03-23 11:09:17 +11:00
ec.c apps/{dsa,ec,rsa,pkey}.c: harmonize coding w.r.t. 'pubin' variable 2023-03-14 17:26:49 +01:00
ecparam.c
enc.c Include the default iteration count in the help for the enc command 2023-03-20 08:24:26 +11:00
engine.c
errstr.c
fipsinstall.c fipsinstall: add -pedantic option 2023-04-20 09:21:51 +10:00
gendsa.c
genpkey.c Add help for pkeyopt values for the genpkey commandline app. 2023-02-23 10:12:35 -05:00
genrsa.c
info.c
insta.ca.crt
kdf.c
list.c configure: introduce no-ecx to remove ECX related feature 2023-06-14 13:06:22 +10:00
mac.c
nseq.c
ocsp.c apps/ocsp: Tweak some places to make clear they refer to *lists* of certs 2023-04-27 15:45:36 +01:00
openssl-vms.cnf apps/openssl.cnf: fix reference to insta.ca.crt 2023-05-12 10:46:14 +02:00
openssl.c Add support for --version and synonyms 2023-05-18 17:18:10 +10:00
openssl.cnf apps/openssl.cnf: fix reference to insta.ca.crt 2023-05-12 10:46:14 +02:00
passwd.c
pca-cert.srl
pca-key.pem
pca-req.pem
pkcs7.c
pkcs8.c
pkcs12.c Coverity 1528486: Avoid assignment of unused value of bags 2023-06-10 19:23:59 -04:00
pkey.c
pkeyparam.c
pkeyutl.c Don't truncate the input when decrypting in pkeyutl 2023-06-26 09:28:23 +01:00
prime.c
privkey.pem
progs.pl
rand.c
rehash.c Fix a bug where the result of rehash is unstable 2023-05-25 15:46:40 +02:00
req.c Cast the argument to unsigned char when calling isspace() 2023-06-09 17:30:28 +02:00
req.pem
rsa8192.pem
rsa.c apps/{dsa,ec,rsa,pkey}.c: harmonize coding w.r.t. 'pubin' variable 2023-03-14 17:26:49 +01:00
rsautl.c apps/x509 etc.: allow private key input when public key is expected 2023-03-14 17:26:49 +01:00
s512-key.pem
s512-req.pem
s1024key.pem
s1024req.pem
s_client.c Fix typos found by codespell 2023-06-15 10:11:46 +10:00
s_server.c Coverity 1528490: Avoid assignment of unused value of i 2023-06-10 19:23:59 -04:00
s_time.c
server2.pem
server.pem
server.srl
sess_id.c
smime.c apps/smime: Point out that the six operations are mutually exclusive and add check 2023-04-27 15:45:38 +01:00
speed.c configure: introduce no-ecx to remove ECX related feature 2023-06-14 13:06:22 +10:00
spkac.c
srp.c
storeutl.c
testCA.pem
testdsa.h
testrsa.h
timeouts.h
ts.c APPS: replace awkward and error-prone pattern by calls to new app_conf_try_string() 2023-05-25 09:04:35 +02:00
tsget.in
verify.c
version.c
vms_decc_init.c
x509.c Remove restriction to only cross-sign self-signed certificates 2023-06-20 16:38:33 +10:00