diff options
author | Marek BehĂșn <kabel@kernel.org> | 2024-08-31 11:20:38 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2024-09-02 09:42:09 +0000 |
commit | 99ed7980b5b03ad70d8965f300e1b9b8a21e0295 (patch) | |
tree | bc7bac5ccda6e00f2cb0dae2e6b3e2504e9975df /lib/crypto/mpi/mpiutil.c | |
parent | b787a6b89284949f3204fdc737b7e867f067720b (diff) |
firmware: turris-mox-rwtm: Hide signature related constants behind macros
Hide signature generation related constants behind macros instead of
hardcoding the values.
Use SHA512_DIGEST_SIZE from crypto/sha2.h instead of hardcoded 64 as the
message size.
Signed-off-by: Marek BehĂșn <kabel@kernel.org>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Link: https://lore.kernel.org/r/20240831092050.23093-5-kabel@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions