Branch: refs/heads/master Home: https://github.com/openssl/openssl Commit: 9270f67059e0291a2ef73acfba5a4ac54f732ef9 https://github.com/openssl/openssl/commit/9270f67059e0291a2ef73acfba5a4ac54f732ef9 Author: Tomas Mraz <to...@openssl.org> Date: 2022-11-11 (Fri, 11 Nov 2022)
Changed paths: M demos/mac/cmac-aes256.c Log Message: ----------- demos/mac/cmac-aes256: Clarify the cipher algorithm used The currently used cipher is aes256 which is an alias to AES-256-CBC, so the demo is correct. However it might be misleading so make it clear the CBC mode cipher is used. Reviewed-by: Dmitry Belyavskiy <beld...@gmail.com> Reviewed-by: Paul Dale <pa...@openssl.org> (Merged from https://github.com/openssl/openssl/pull/19401) Commit: 94976a1e8d9b127999df14c2e0c38e918c2badda https://github.com/openssl/openssl/commit/94976a1e8d9b127999df14c2e0c38e918c2badda Author: Tomas Mraz <to...@openssl.org> Date: 2022-11-11 (Fri, 11 Nov 2022) Changed paths: M doc/man7/EVP_MAC-CMAC.pod M providers/implementations/macs/cmac_prov.c M test/recipes/30-test_evp_data/evpmac_common.txt Log Message: ----------- cmac_set_ctx_params(): Fail if cipher mode is not CBC Also add negative test cases for CMAC and GMAC using a cipher with wrong mode. Reviewed-by: Dmitry Belyavskiy <beld...@gmail.com> Reviewed-by: Paul Dale <pa...@openssl.org> (Merged from https://github.com/openssl/openssl/pull/19401) Commit: a0783b83a3bd05a07ea64567995c7642621b4aa6 https://github.com/openssl/openssl/commit/a0783b83a3bd05a07ea64567995c7642621b4aa6 Author: Tomas Mraz <to...@openssl.org> Date: 2022-11-11 (Fri, 11 Nov 2022) Changed paths: M test/evp_extra_test.c Log Message: ----------- test_CMAC_keygen(): Avoid using ECB cipher with CMAC Reviewed-by: Dmitry Belyavskiy <beld...@gmail.com> Reviewed-by: Paul Dale <pa...@openssl.org> (Merged from https://github.com/openssl/openssl/pull/19401) Compare: https://github.com/openssl/openssl/compare/10119e7475bb...a0783b83a3bd