Skip to main content
  • Home
  • login
  • Browse the archive

    swh mirror partner logo
swh logo
SoftwareHeritage
Software
Heritage
Mirror
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

Revision e88dfd5ee50f9d934edd966369339ee5573c67d4 authored by erbsland-dev on 10 September 2024, 19:24:59 UTC, committed by Tomas Mraz on 13 September 2024, 08:13:32 UTC
Add Missing Error Messages for AES-OCB Tag Length Validation
Related to #8331
Addressing found issues by adding specific error messages to improve
feedback when tag length checks fail for the `EVP_CTRL_AEAD_SET_TAG`
parameter in the AES-OCB algorithm.

- Added PROV_R_INVALID_TAG_LENGTH error to indicate when the current tag
  length exceeds the maximum tag length of the algorithm.
- Added `PROV_R_INVALID_TAG_LENGTH` error to indicate when the current tag
  length in the context does not match a custom tag length provided as
  a parameter.
- Added `ERR_R_PASSED_INVALID_ARGUMENT` error to handle cases where an
  invalid pointer is passed in encryption mode.

Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/25425)

(cherry picked from commit 645edf50f0274448174d9739543bf01b1708b2f5)
1 parent 1727cbb
  • Files
  • Changes
  • 237708f
  • /
  • test
  • /
History
Cook and download a directory from the Software Heritage Vault

You have requested the cooking of the directory with identifier swh:1:dir:4c95b39b8f15e05632f0b4a669285bddfe82abef into a standard tar.gz archive.

Are you sure you want to continue ?

Download a directory from the Software Heritage Vault

You have requested the download of the directory with identifier swh:1:dir:4c95b39b8f15e05632f0b4a669285bddfe82abef as a standard tar.gz archive.

Are you sure you want to continue ?

Cook and download a revision from the Software Heritage Vault

You have requested the cooking of the history heading to revision with identifier swh:1:rev:e88dfd5ee50f9d934edd966369339ee5573c67d4 into a bare git archive.

Are you sure you want to continue ?

Download a revision from the Software Heritage Vault

You have requested the download of the history heading to revision with identifier swh:1:rev:e88dfd5ee50f9d934edd966369339ee5573c67d4 as a bare git archive.

Are you sure you want to continue ?

Invalid Email !

The provided email is not well-formed.

Download link has expired

The requested archive is no longer available for download from the Software Heritage Vault.

Do you want to cook it again ?

Permalinks

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • revision
  • directory
revision badge
swh:1:rev:e88dfd5ee50f9d934edd966369339ee5573c67d4
directory badge Iframe embedding
swh:1:dir:4c95b39b8f15e05632f0b4a669285bddfe82abef
FileModeSize
certs
ct
d2i-tests
helpers
ocsp-tests
recipes
smime-certs
smime-eml
ssl-tests
testutil
CAtsa.cnf -rw-r--r--4.9 KB
README-dev.md -rw-r--r--5.3 KB
README-external.md -rw-r--r--3.1 KB
README.md -rw-r--r--6.1 KB
README.ssltest.md -rw-r--r--10.4 KB
aborttest.c -rw-r--r--467 bytes
acvp_test.c -rw-r--r--51.7 KB
acvp_test.inc -rw-r--r--82.0 KB
aesgcmtest.c -rw-r--r--4.8 KB
afalgtest.c -rw-r--r--4.6 KB
algorithmid_test.c -rw-r--r--10.3 KB
asn1_decode_test.c -rw-r--r--6.3 KB
asn1_dsa_internal_test.c -rw-r--r--5.7 KB
asn1_encode_test.c -rw-r--r--29.7 KB
asn1_internal_test.c -rw-r--r--5.4 KB
asn1_stable_parse_test.c -rw-r--r--1.8 KB
asn1_string_table_test.c -rw-r--r--1.9 KB
asn1_time_test.c -rw-r--r--17.7 KB
asynciotest.c -rw-r--r--12.3 KB
asynctest.c -rw-r--r--12.8 KB
bad_dtls_test.c -rw-r--r--20.3 KB
bftest.c -rw-r--r--15.9 KB
bio_callback_test.c -rw-r--r--13.6 KB
bio_core_test.c -rw-r--r--3.4 KB
bio_enc_test.c -rw-r--r--7.4 KB
bio_memleak_test.c -rw-r--r--7.2 KB
bio_prefix_text.c -rw-r--r--7.4 KB
bio_pw_callback_test.c -rw-r--r--10.0 KB
bio_readbuffer_test.c -rw-r--r--3.8 KB
bioprinttest.c -rw-r--r--12.5 KB
bn_internal_test.c -rw-r--r--2.6 KB
bn_rand_range.h -rw-r--r--2.0 KB
bntest.c -rw-r--r--97.9 KB
bntests.pl -rwxr-xr-x4.5 KB
build.info -rw-r--r--37.5 KB
ca-and-certs.cnf -rw-r--r--2.2 KB
casttest.c -rw-r--r--3.2 KB
chacha_internal_test.c -rw-r--r--8.0 KB
cipher_overhead_test.c -rw-r--r--1.7 KB
cipherbytes_test.c -rw-r--r--4.4 KB
cipherlist_test.c -rw-r--r--7.0 KB
ciphername_test.c -rw-r--r--20.6 KB
clienthellotest.c -rw-r--r--8.5 KB
cmactest.c -rw-r--r--6.0 KB
cmp_asn_test.c -rw-r--r--4.0 KB
cmp_client_test.c -rw-r--r--18.4 KB
cmp_ctx_test.c -rw-r--r--30.7 KB
cmp_hdr_test.c -rw-r--r--14.0 KB
cmp_msg_test.c -rw-r--r--18.2 KB
cmp_protect_test.c -rw-r--r--21.4 KB
cmp_server_test.c -rw-r--r--5.5 KB
cmp_status_test.c -rw-r--r--3.2 KB
cmp_vfy_test.c -rw-r--r--23.6 KB
cms-examples.pl -rw-r--r--8.7 KB
cmsapitest.c -rw-r--r--15.6 KB
conf_include_test.c -rw-r--r--5.7 KB
confdump.c -rw-r--r--1.4 KB
constant_time_test.c -rw-r--r--12.3 KB
context_internal_test.c -rw-r--r--3.6 KB
crltest.c -rw-r--r--15.9 KB
ct_test.c -rw-r--r--15.8 KB
ctype_internal_test.c -rw-r--r--2.7 KB
curve448_internal_test.c -rw-r--r--35.9 KB
d2i_test.c -rw-r--r--4.1 KB
dane-cross.in -rw-r--r--6.9 KB
danetest.c -rw-r--r--11.0 KB
danetest.in -rw-r--r--94.5 KB
danetest.pem -rw-r--r--652 bytes
data.bin -rw-r--r--128 bytes
data2.bin -rw-r--r--3.7 KB
default-and-fips.cnf -rw-r--r--264 bytes
default-and-legacy.cnf -rw-r--r--271 bytes
default.cnf -rw-r--r--222 bytes
defltfips_test.c -rw-r--r--3.0 KB
destest.c -rw-r--r--31.4 KB
dhtest.c -rw-r--r--36.0 KB
drbgtest.c -rw-r--r--26.9 KB
dsa_no_digest_size_test.c -rw-r--r--8.5 KB
dsatest.c -rw-r--r--18.0 KB
dtls_mtu_test.c -rw-r--r--7.1 KB
dtlstest.c -rw-r--r--19.6 KB
dtlsv1listentest.c -rw-r--r--12.3 KB
ec_internal_test.c -rw-r--r--14.6 KB
ecdsatest.c -rw-r--r--14.6 KB
ecdsatest.h -rw-r--r--673.6 KB
ecstresstest.c -rw-r--r--4.1 KB
ectest.c -rw-r--r--121.8 KB
endecode_test.c -rw-r--r--58.0 KB
endecoder_legacy_test.c -rw-r--r--27.8 KB
enginetest.c -rw-r--r--13.0 KB
errtest.c -rw-r--r--10.5 KB
evp_byname_test.c -rw-r--r--900 bytes
evp_extra_test.c -rw-r--r--184.3 KB
evp_extra_test2.c -rw-r--r--54.0 KB
evp_fetch_prov_test.c -rw-r--r--10.4 KB
evp_kdf_test.c -rw-r--r--58.1 KB
evp_libctx_test.c -rw-r--r--29.3 KB
evp_pkey_ctx_new_from_name.c -rw-r--r--279 bytes
evp_pkey_dparams_test.c -rw-r--r--13.5 KB
evp_pkey_provided_test.c -rw-r--r--69.4 KB
evp_test.c -rw-r--r--120.6 KB
exdatatest.c -rw-r--r--8.1 KB
exptest.c -rw-r--r--9.3 KB
ext_internal_test.c -rw-r--r--2.8 KB
fake_rsaprov.c -rw-r--r--16.0 KB
fake_rsaprov.h -rw-r--r--543 bytes
fatalerrtest.c -rw-r--r--2.9 KB
ffc_internal_test.c -rw-r--r--27.5 KB
filterprov.c -rw-r--r--7.2 KB
filterprov.h -rw-r--r--523 bytes
fips-alt.cnf -rw-r--r--376 bytes
fips-and-base.cnf -rw-r--r--255 bytes
fips.cnf -rw-r--r--474 bytes
fips_version_test.c -rw-r--r--1.7 KB
generate_buildtest.pl -rw-r--r--796 bytes
generate_ssl_tests.pl -rw-r--r--4.7 KB
gmdifftest.c -rw-r--r--1.9 KB
hexstr_test.c -rw-r--r--3.6 KB
hmactest.c -rw-r--r--8.2 KB
http_test.c -rw-r--r--12.1 KB
ideatest.c -rw-r--r--3.9 KB
igetest.c -rw-r--r--16.4 KB
insta.priv.pem -rw-r--r--1.6 KB
insta_ca.cert.pem -rw-r--r--1.3 KB
invalid-x509.cnf -rw-r--r--125 bytes
keymgmt_internal_test.c -rw-r--r--11.5 KB
legacy.cnf -rw-r--r--219 bytes
lhash_test.c -rw-r--r--6.0 KB
localetest.c -rw-r--r--6.4 KB
mdc2_internal_test.c -rw-r--r--1.7 KB
mdc2test.c -rw-r--r--2.6 KB
memleaktest.c -rw-r--r--1.7 KB
modes_internal_test.c -rw-r--r--29.2 KB
moduleloadtest.c -rw-r--r--1.3 KB
namemap_internal_test.c -rw-r--r--4.8 KB
nodefltctxtest.c -rw-r--r--1.7 KB
null.cnf -rw-r--r--213 bytes
ocspapitest.c -rw-r--r--6.3 KB
ossl_store_test.c -rw-r--r--5.9 KB
p_minimal.c -rw-r--r--765 bytes
p_test.c -rw-r--r--10.9 KB
packettest.c -rw-r--r--15.2 KB
param_build_test.c -rw-r--r--20.5 KB
params_api_test.c -rw-r--r--24.6 KB
params_conversion_test.c -rw-r--r--11.9 KB
params_test.c -rw-r--r--24.3 KB
pathed.cnf -rw-r--r--356 bytes
pbelutest.c -rw-r--r--1.4 KB
pbetest.c -rw-r--r--4.8 KB
pem_read_depr_test.c -rw-r--r--4.1 KB
pemtest.c -rw-r--r--4.5 KB
pkcs12_format_test.c -rw-r--r--35.2 KB
pkcs7-1.pem -rw-r--r--851 bytes
pkcs7.pem -rw-r--r--3.7 KB
pkcs7_test.c -rw-r--r--5.7 KB
pkey_meth_kdf_test.c -rw-r--r--6.8 KB
pkey_meth_test.c -rw-r--r--2.3 KB
pkits-test.pl -rw-r--r--31.2 KB
poly1305_internal_test.c -rw-r--r--56.2 KB
property_test.c -rw-r--r--23.3 KB
prov_config_test.c -rw-r--r--3.4 KB
provfetchtest.c -rw-r--r--8.4 KB
provider_fallback_test.c -rw-r--r--1.5 KB
provider_internal_test.c -rw-r--r--4.1 KB
provider_internal_test.cnf.in -rw-r--r--347 bytes
provider_pkey_test.c -rw-r--r--8.4 KB
provider_status_test.c -rw-r--r--7.2 KB
provider_test.c -rw-r--r--7.7 KB
proxy.cnf -rw-r--r--1.7 KB
punycode_test.c -rw-r--r--8.0 KB
rand_status_test.c -rw-r--r--673 bytes
rand_test.c -rw-r--r--2.0 KB
rc2test.c -rw-r--r--2.1 KB
rc4test.c -rw-r--r--4.1 KB
rc5test.c -rw-r--r--9.1 KB
rdrand_sanitytest.c -rw-r--r--3.3 KB
recordlentest.c -rw-r--r--5.4 KB
recursive.cnf -rw-r--r--129 bytes
rsa_complex.c -rw-r--r--909 bytes
rsa_mp_test.c -rw-r--r--11.3 KB
rsa_sp800_56b_test.c -rw-r--r--20.9 KB
rsa_test.c -rw-r--r--20.2 KB
run_tests.pl -rw-r--r--11.9 KB
sanitytest.c -rw-r--r--4.4 KB
secmemtest.c -rw-r--r--5.9 KB
serverinfo.pem -rw-r--r--740 bytes
serverinfo2.pem -rw-r--r--412 bytes
servername_test.c -rw-r--r--7.4 KB
session.pem -rw-r--r--1.9 KB
sha_test.c -rw-r--r--3.7 KB
shibboleth.pfx -rw-r--r--2.5 KB
shlibloadtest.c -rw-r--r--8.9 KB
simpledynamic.c -rw-r--r--1.7 KB
simpledynamic.h -rw-r--r--1.2 KB
siphash_internal_test.c -rw-r--r--17.1 KB
sm2_internal_test.c -rw-r--r--14.6 KB
sm3_internal_test.c -rw-r--r--2.6 KB
sm4_internal_test.c -rw-r--r--2.3 KB
smcont.bin -rw-r--r--7.8 KB
smcont.txt -rw-r--r--83 bytes
smcont_zero.txt -rw-r--r--0 bytes
sparse_array_test.c -rw-r--r--5.6 KB
srptest.c -rw-r--r--8.1 KB
ssl_cert_table_internal_test.c -rw-r--r--2.1 KB
ssl_ctx_test.c -rw-r--r--2.3 KB
ssl_old_test.c -rw-r--r--98.8 KB
ssl_test.c -rw-r--r--19.9 KB
ssl_test.tmpl -rw-r--r--4.3 KB
ssl_test_ctx_test.c -rw-r--r--9.1 KB
ssl_test_ctx_test.cnf -rw-r--r--2.0 KB
sslapitest.c -rw-r--r--377.0 KB
sslbuffertest.c -rw-r--r--10.6 KB
sslcorrupttest.c -rw-r--r--7.3 KB
stack_test.c -rw-r--r--9.4 KB
sysdefault.cnf -rw-r--r--440 bytes
sysdefaulttest.c -rw-r--r--1.1 KB
test.cnf -rw-r--r--2.3 KB
test_asn1_parse.cnf -rw-r--r--240 bytes
test_test.c -rw-r--r--18.2 KB
testcrl.pem -rw-r--r--938 bytes
testdsa.pem -rw-r--r--672 bytes
testdsapub.pem -rw-r--r--654 bytes
testec-p112r1.pem -rw-r--r--221 bytes
testec-p256.pem -rw-r--r--227 bytes
testecpub-p256.pem -rw-r--r--178 bytes
tested25519.pem -rw-r--r--119 bytes
tested25519pub.pem -rw-r--r--113 bytes
tested448.pem -rw-r--r--156 bytes
tested448pub.pem -rw-r--r--146 bytes
testp7.pem -rw-r--r--2.8 KB
testreq2.pem -rw-r--r--371 bytes
testrsa.pem -rw-r--r--526 bytes
testrsa2048.pem -rw-r--r--1.7 KB
testrsa2048pub.pem -rw-r--r--451 bytes
testrsa_withattrs.der -rw-r--r--1.2 KB
testrsa_withattrs.pem -rw-r--r--1.7 KB
testrsapss.pem -rw-r--r--1.7 KB
testrsapssmandatory.pem -rw-r--r--1.7 KB
testrsapub.pem -rw-r--r--182 bytes
testsid.pem -rw-r--r--2.3 KB
testutil.h -rw-r--r--26.5 KB
testx509.pem -rw-r--r--562 bytes
threadstest.c -rw-r--r--19.8 KB
threadstest.h -rw-r--r--1.4 KB
threadstest_fips.c -rw-r--r--1.1 KB
time_offset_test.c -rw-r--r--3.2 KB
tls-provider.c -rw-r--r--26.0 KB
tls13ccstest.c -rw-r--r--15.2 KB
tls13encryptiontest.c -rw-r--r--13.8 KB
tls13secretstest.c -rw-r--r--11.5 KB
trace_api_test.c -rw-r--r--3.9 KB
uitest.c -rw-r--r--2.2 KB
upcallstest.c -rw-r--r--3.6 KB
user_property_test.c -rw-r--r--3.8 KB
v3-cert1.pem -rw-r--r--944 bytes
v3-cert2.pem -rw-r--r--940 bytes
v3_ca_exts.cnf -rw-r--r--136 bytes
v3ext.c -rw-r--r--16.1 KB
v3nametest.c -rw-r--r--19.8 KB
verify_extra_test.c -rw-r--r--8.7 KB
versions.c -rw-r--r--674 bytes
wpackettest.c -rw-r--r--17.8 KB
x509_check_cert_pkey_test.c -rw-r--r--4.9 KB
x509_dup_cert_test.c -rw-r--r--1.4 KB
x509_internal_test.c -rw-r--r--3.0 KB
x509_time_test.c -rw-r--r--17.7 KB
x509aux.c -rw-r--r--5.2 KB

The diff you're trying to view is too large. Only the first 1000 changed files have been loaded.
Showing with 0 additions and 0 deletions (0 / 0 diffs computed)
swh spinner

Computing file changes ...

README.md

ENEA — Copyright (C), ENEA. License: GNU AGPLv3+.
Legal notes  ::  JavaScript license information ::  Web API

back to top