Re: [PATCH] imx: ele_ahab: Add HUK derivation support

2024-08-20 Thread Mathieu Othacehe
Hello, Thanks for having a look. > Please try to pass seed size as a parameter, not hard code it. So users can > set different seed. Right, this is now fixed in v2: https://lore.kernel.org/u-boot/20240820044802.12401-1-othac...@gnu.org/T/#u Mathieu

Re: [PATCH] imx: ele_ahab: Add HUK derivation support

2024-08-16 Thread Ye Li
Hi Mathieu, On 8/13/2024 2:32 PM, Mathieu Othacehe wrote: Add a new ahab_derive command that derives the hardware unique key (HUK) into a 16 or 32 bytes key and stores it at the given address. Signed-off-by: Mathieu Othacehe --- arch/arm/include/asm/mach-imx/ele_api.h | 2 + arch/arm/mach-

Re: [PATCH] imx: ele_ahab: Add HUK derivation support

2024-08-16 Thread Fabio Estevam
Hi Peng and Ye Li, Please help review the patch below. Thanks. On Tue, Aug 13, 2024 at 3:32 AM Mathieu Othacehe wrote: > > Add a new ahab_derive command that derives the hardware unique key (HUK) > into a 16 or 32 bytes key and stores it at the given address. > > Signed-off-by: Mathieu Othacehe