Skip to content

SipHash via EVP_PKEY has lost support for EVP_PKEY_CTRL_SET_DIGEST_SIZE #14370

@mattcaswell

Description

@mattcaswell

In 1.1.1 using SipHash via EVP_PKEY you could use the ctrl EVP_PKEY_CTRL_SET_DIGEST_SIZE or the ctrl string "digestsize". In 3.0, this is no longer possible. The parameter seems to have been renamed to "size".

Running the 1.1.1 tests against 3.0 I experienced this error:

       # ../../test/recipes/30-test_evp_data/evpmac.txt:133: Source of above error; unexpected error EVPPKEYCTXCTRL_ERROR
        # 804B055BFB7F0000:error:03000093:digital envelope routines:default_fixup_args:command not supported:crypto/evp/ctrl_params_translate.c:582:[action:2, state:4] name=digestsize, value=8

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions