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 apps & al : Fix various typos, repeated words, align some spelling to LDP. 2022-10-12 16:55:28 +11:00
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 Abstract out policy and extensions in CA.pl 2021-11-16 15:48:08 +00:00
cert.pem
ciphers.c Check that sk_SSL_CIPHER_value returns non-NULL value. 2022-09-20 18:27:17 +02:00
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 APPS: Improve diagnostics on missing/extra args and unknown cipher/digest 2021-12-07 15:26:40 +01:00
crl.c Update copyright year 2022-05-03 13:34:51 +01:00
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 apps & al : Fix various typos, repeated words, align some spelling to LDP. 2022-10-12 16:55:28 +11:00
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 Support decode SM2 parameters 2022-08-23 11:08:11 +10:00
enc.c Include the default iteration count in the help for the enc command 2023-03-20 08:24:26 +11:00
engine.c apps & al : Fix various typos, repeated words, align some spelling to LDP. 2022-10-12 16:55:28 +11:00
errstr.c
fipsinstall.c fipsinstall: add -pedantic option 2023-04-20 09:21:51 +10:00
gendsa.c APPS: dsaparam, gendsa: Support setting properties 2022-07-01 11:11:23 +02:00
genpkey.c Add help for pkeyopt values for the genpkey commandline app. 2023-02-23 10:12:35 -05:00
genrsa.c APPS: genrsa: Support setting properties 2022-08-17 09:20:41 +02:00
info.c APPS: Improve diagnostics on missing/extra args and unknown cipher/digest 2021-12-07 15:26:40 +01:00
insta.ca.crt
kdf.c kdf: use the app's libctx and property query when searching for algorithms 2021-06-15 18:26:47 +10:00
list.c configure: introduce no-ecx to remove ECX related feature 2023-06-14 13:06:22 +10:00
mac.c Always use FORMAT_BINARY for infile 2022-09-20 08:18:25 +01:00
nseq.c APPS: Improve diagnostics on missing/extra args and unknown cipher/digest 2021-12-07 15:26:40 +01:00
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 Update copyright year 2022-05-03 13:34:51 +01:00
pca-cert.srl
pca-key.pem
pca-req.pem
pkcs7.c Update copyright year 2022-05-03 13:34:51 +01:00
pkcs8.c APPS: Improve diagnostics on missing/extra args and unknown cipher/digest 2021-12-07 15:26:40 +01:00
pkcs12.c Coverity 1528486: Avoid assignment of unused value of bags 2023-06-10 19:23:59 -04:00
pkey.c pkey: Imply public check if -pubin is specified 2023-01-17 12:18:50 +01:00
pkeyparam.c APPS: pkeyparam: Support setting properties 2022-08-17 09:20:41 +02:00
pkeyutl.c Don't truncate the input when decrypting in pkeyutl 2023-06-26 09:28:23 +01:00
prime.c Update copyright year 2022-05-03 13:34:51 +01:00
privkey.pem
progs.pl Convert ZLIB defines to OPENSSL_NO_ZLIB 2022-10-18 09:30:21 -04:00
rand.c Update copyright year 2022-05-03 13:34:51 +01:00
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 APPS: Improve diagnostics on missing/extra args and unknown cipher/digest 2021-12-07 15:26:40 +01:00
server2.pem
server.pem
server.srl
sess_id.c APPS: Improve diagnostics on missing/extra args and unknown cipher/digest 2021-12-07 15:26:40 +01:00
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 APPS: Improve diagnostics on missing/extra args and unknown cipher/digest 2021-12-07 15:26:40 +01:00
srp.c
storeutl.c Fix openssl storeutl to allow serial + issuer 2022-12-14 09:33:25 +01:00
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 convert tabs to spaces in two distributed Perl scripts 2021-09-14 07:21:22 +10:00
verify.c apps & al : Fix various typos, repeated words, align some spelling to LDP. 2022-10-12 16:55:28 +11:00
version.c APPS: Improve diagnostics on missing/extra args and unknown cipher/digest 2021-12-07 15:26:40 +01:00
vms_decc_init.c
x509.c Remove restriction to only cross-sign self-signed certificates 2023-06-20 16:38:33 +10:00