gcm-aes-ccp self-tests failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Tom and Gary,

On latest cryptodev tree, I'm seeing the following self-test failure after I
built a kernel with the AMD CCP driver and crypto self-tests enabled, and booted
it on system with a Ryzen processor ("Threadripper 1950X"):

[    4.378985] alg: aead: gcm-aes-ccp encryption test failed (wrong result) on test vector 2, cfg="two even aligned splits"

i.e., in some cases the AES-GCM implementation produces the wrong ciphertext
and/or authentication tag.

Is this is a known issue?  When will it be fixed?

The potentially relevant bits of my Kconfig are:

	CONFIG_CRYPTO_AES=y
	CONFIG_CRYPTO_GCM=y
	CONFIG_CRYPTO_DEV_CCP=y
	CONFIG_CRYPTO_DEV_CCP_DD=y
	CONFIG_CRYPTO_DEV_SP_CCP=y
	CONFIG_CRYPTO_DEV_CCP_CRYPTO=y
	CONFIG_CRYPTO_DEV_SP_PSP=y
	# CONFIG_CRYPTO_MANAGER_DISABLE_TESTS is not set
	CONFIG_DEBUG_KERNEL=y
	CONFIG_CRYPTO_MANAGER_EXTRA_TESTS=y

- Eric



[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux