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 a5170a8249d01e4e9cf5890b49ff6623637df09b authored by erbsland-dev on 10 September 2024, 19:24:59 UTC, committed by Tomas Mraz on 13 September 2024, 08:13:16 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 5cd025c
  • Files
  • Changes
  • e9ababd
  • /
  • crypto
  • /
History
Cook and download a directory from the Software Heritage Vault

You have requested the cooking of the directory with identifier swh:1:dir:e73d09726c2413360583d01df2f4b1e7378e5d11 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:e73d09726c2413360583d01df2f4b1e7378e5d11 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:a5170a8249d01e4e9cf5890b49ff6623637df09b 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:a5170a8249d01e4e9cf5890b49ff6623637df09b 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:a5170a8249d01e4e9cf5890b49ff6623637df09b
directory badge Iframe embedding
swh:1:dir:e73d09726c2413360583d01df2f4b1e7378e5d11
FileModeSize
aes
aria
asn1
async
bf
bio
bn
buffer
camellia
cast
chacha
cmac
cmp
cms
comp
conf
crmf
ct
des
dh
dsa
dso
ec
encode_decode
engine
err
ess
evp
ffc
hmac
hpke
http
idea
kdf
lhash
md2
md4
md5
mdc2
modes
objects
ocsp
pem
perlasm
pkcs12
pkcs7
poly1305
property
rand
rc2
rc4
rc5
ripemd
rsa
seed
sha
siphash
sm2
sm3
sm4
srp
stack
store
thread
ts
txt_db
ui
whrlpool
x509
LPdir_nyi.c -rw-r--r--2.0 KB
LPdir_unix.c -rw-r--r--4.9 KB
LPdir_vms.c -rw-r--r--6.2 KB
LPdir_win.c -rw-r--r--6.9 KB
LPdir_win32.c -rw-r--r--1.9 KB
LPdir_wince.c -rw-r--r--2.0 KB
README-sparse_array.md -rw-r--r--5.6 KB
alphacpuid.pl -rw-r--r--3.9 KB
arm64cpuid.pl -rwxr-xr-x5.6 KB
arm_arch.h -rw-r--r--7.5 KB
armcap.c -rw-r--r--13.7 KB
armv4cpuid.pl -rw-r--r--5.6 KB
asn1_dsa.c -rw-r--r--7.4 KB
bsearch.c -rw-r--r--1.2 KB
build.info -rw-r--r--4.8 KB
c64xpluscpuid.pl -rw-r--r--5.3 KB
context.c -rw-r--r--16.3 KB
core_algorithm.c -rw-r--r--6.5 KB
core_fetch.c -rw-r--r--5.7 KB
core_namemap.c -rw-r--r--14.0 KB
cpt_err.c -rw-r--r--3.7 KB
cpuid.c -rw-r--r--5.7 KB
cryptlib.c -rw-r--r--7.9 KB
ctype.c -rw-r--r--14.9 KB
cversion.c -rw-r--r--1.9 KB
der_writer.c -rw-r--r--6.0 KB
deterministic_nonce.c -rw-r--r--7.5 KB
dllmain.c -rw-r--r--1.2 KB
ebcdic.c -rw-r--r--15.0 KB
ex_data.c -rw-r--r--14.0 KB
getenv.c -rw-r--r--3.1 KB
ia64cpuid.S -rw-r--r--6.3 KB
info.c -rw-r--r--8.0 KB
init.c -rw-r--r--21.4 KB
initthread.c -rw-r--r--13.3 KB
loongarch64cpuid.pl -rw-r--r--3.2 KB
loongarch_arch.h -rw-r--r--577 bytes
loongarchcap.c -rw-r--r--517 bytes
mem.c -rw-r--r--8.7 KB
mem_clr.c -rw-r--r--773 bytes
mem_sec.c -rw-r--r--19.6 KB
mips_arch.h -rw-r--r--1.2 KB
o_dir.c -rw-r--r--1.1 KB
o_fopen.c -rw-r--r--4.2 KB
o_init.c -rw-r--r--525 bytes
o_str.c -rw-r--r--8.8 KB
o_time.c -rw-r--r--5.5 KB
packet.c -rw-r--r--13.8 KB
param_build.c -rw-r--r--12.0 KB
param_build_set.c -rw-r--r--3.8 KB
params.c -rw-r--r--46.6 KB
params_dup.c -rw-r--r--7.2 KB
params_from_text.c -rw-r--r--7.2 KB
params_idx.c.in -rw-r--r--626 bytes
pariscid.pl -rw-r--r--4.8 KB
passphrase.c -rw-r--r--11.0 KB
ppccap.c -rw-r--r--8.6 KB
ppccpuid.pl -rwxr-xr-x7.4 KB
provider.c -rw-r--r--4.6 KB
provider_child.c -rw-r--r--9.7 KB
provider_conf.c -rw-r--r--11.6 KB
provider_core.c -rw-r--r--73.0 KB
provider_local.h -rw-r--r--1.0 KB
provider_predefined.c -rw-r--r--1.1 KB
punycode.c -rw-r--r--8.7 KB
quic_vlint.c -rw-r--r--2.0 KB
riscv32cpuid.pl -rw-r--r--2.4 KB
riscv64cpuid.pl -rw-r--r--2.4 KB
riscvcap.c -rw-r--r--2.1 KB
s390x_arch.h -rw-r--r--6.6 KB
s390xcap.c -rw-r--r--31.7 KB
s390xcpuid.pl -rwxr-xr-x11.4 KB
self_test_core.c -rw-r--r--4.4 KB
sleep.c -rw-r--r--2.3 KB
sparccpuid.S -rw-r--r--12.0 KB
sparcv9cap.c -rw-r--r--7.3 KB
sparse_array.c -rw-r--r--5.8 KB
threads_lib.c -rw-r--r--543 bytes
threads_none.c -rw-r--r--3.2 KB
threads_pthread.c -rw-r--r--7.3 KB
threads_win.c -rw-r--r--6.5 KB
time.c -rw-r--r--1.3 KB
trace.c -rw-r--r--15.5 KB
uid.c -rw-r--r--1.4 KB
vms_rms.h -rw-r--r--2.1 KB
x86_64cpuid.pl -rw-r--r--10.4 KB
x86cpuid.pl -rw-r--r--12.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-sparse_array.md

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

back to top