[openssl/openssl] e6b1c2: evp: Simplify ARIA aead cipher definition

Tianjia Zhang noreply at github.com
Mon Aug 22 08:18:18 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: e6b1c22b41b5feaffe7fe2bb24996fb6763586af
      https://github.com/openssl/openssl/commit/e6b1c22b41b5feaffe7fe2bb24996fb6763586af
  Author: Tianjia Zhang <tianjia.zhang at linux.alibaba.com>
  Date:   2022-08-22 (Mon, 22 Aug 2022)

  Changed paths:
    M crypto/evp/e_aria.c

  Log Message:
  -----------
  evp: Simplify ARIA aead cipher definition

Remove fixed macro variables, only keep the cipher mode name and
key length.

Signed-off-by: Tianjia Zhang <tianjia.zhang at linux.alibaba.com>

Reviewed-by: Hugo Landau <hlandau at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16465)


  Commit: b134300a342476398c11c19af602d7b2aa6b7f8a
      https://github.com/openssl/openssl/commit/b134300a342476398c11c19af602d7b2aa6b7f8a
  Author: Tianjia Zhang <tianjia.zhang at linux.alibaba.com>
  Date:   2022-08-22 (Mon, 22 Aug 2022)

  Changed paths:
    M crypto/evp/e_aes.c
    M crypto/evp/e_chacha20_poly1305.c

  Log Message:
  -----------
  evp: Use functions instead of direct structure field references

AES and chacha20poly1305 also have some codes that directly reference
the fields in the EVP_CIPHER_CTX structure, such as 'ctx->buf' and
'ctx->encrypt', in order to make the code style uniform, use the
corresponding interface API instead of direct field references.

Signed-off-by: Tianjia Zhang <tianjia.zhang at linux.alibaba.com>

Reviewed-by: Hugo Landau <hlandau at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16465)


Compare: https://github.com/openssl/openssl/compare/a9389c0b75e6...b134300a3424


More information about the openssl-commits mailing list