Skip to content

ima-evm-utils: rebase of digest algo resolving

Vitaly Chikunov linux-integrity 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 7 repliesIn review

Changes from the cover letter

* ima-evm-utils: Extract digest algorithms from hash_info.h
- algocmp is removed.
- hash_info.h is parsed better to match algo names in the Kernel, thus simple strcmp could be used.

* ima-evm-utils: try to load digest by its alias
- digest name lookup is simplified by removing get_digestbyname and strmatch helpers.
- Kernel and OpenSSL algo names arrays are introduced to support alternative algo names for older OpenSLL.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ima-evm-utils: Extract digest algorithms from hash_info.hconfigure.ac src/Makefile.am src/hash_info.gen +1 more+83 -10 replies
2/2ima-evm-utils: try to load digest by its aliassrc/libimaevm.c+12 -07 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchMimi Zohar
1/2
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] ima-evm-utils: rebase of digest algo resolving

This is rebase of the ima-evm-utils commits:

0267fa1 ima-evm-utils: Try to load digest by its alias 942d9f9 ima-evm-utils: Extract digest algorithms from hash_info.h

and should be applied over 07d799c ("ima-evm-utils: Preload OpenSSL engine via '--engine' option").

Changes:

* ima-evm-utils: Extract digest algorithms from hash_info.h
- algocmp is removed.
- hash_info.h is parsed better to match algo names in the Kernel, thus simple strcmp could be used.

* ima-evm-utils: try to load digest by its alias
- digest name lookup is simplified by removing get_digestbyname and strmatch helpers.
- Kernel and OpenSSL algo names arrays are introduced to support alternative algo names for older OpenSLL.

*** BLURB HERE ***

Vitaly Chikunov (2):
ima-evm-utils: Extract digest algorithms from hash_info.h
ima-evm-utils: try to load digest by its alias

 configure.ac      |  6 ++++++
 src/Makefile.am   |  6 ++++++
 src/hash_info.gen | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
 src/libimaevm.c   | 35 ++++++++++++++++++++++++++++++++++-
 4 files changed, 95 insertions(+), 1 deletion(-)
 create mode 100755 src/hash_info.gen
Signature · 1 line
2.11.0