mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-28 12:53:14 +01:00
Implement self-testing infrastructure to test the pseudo-random function, key derivation, encryption and checksumming. Add the testing data from rfc8009 to test AES + HMAC-SHA2. Add the testing data from rfc6803 to test Camellia. Note some encryption test vectors here are incomplete, lacking the key usage number needed to derive Ke and Ki, and there are errata for this: https://www.rfc-editor.org/errata_search.php?rfc=6803 Signed-off-by: David Howells <[email protected]> cc: Herbert Xu <[email protected]> cc: "David S. Miller" <[email protected]> cc: Chuck Lever <[email protected]> cc: Marc Dionne <[email protected]> cc: Eric Dumazet <[email protected]> cc: Jakub Kicinski <[email protected]> cc: Paolo Abeni <[email protected]> cc: Simon Horman <[email protected]> cc: [email protected] cc: [email protected] cc: [email protected] cc: [email protected]
19 lines
315 B
Makefile
19 lines
315 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for asymmetric cryptographic keys
|
|
#
|
|
|
|
krb5-y += \
|
|
krb5_kdf.o \
|
|
krb5_api.o \
|
|
rfc3961_simplified.o \
|
|
rfc3962_aes.o \
|
|
rfc6803_camellia.o \
|
|
rfc8009_aes2.o
|
|
|
|
krb5-$(CONFIG_CRYPTO_KRB5_SELFTESTS) += \
|
|
selftest.o \
|
|
selftest_data.o
|
|
|
|
obj-$(CONFIG_CRYPTO_KRB5) += krb5.o
|