]> git.dujemihanovic.xyz Git - u-boot.git/commit
crypto/fsl: Make function names consistent for blob encapsulation/decapsulation.
authorgaurav rana <gaurav.rana@freescale.com>
Wed, 25 Feb 2015 04:07:09 +0000 (09:37 +0530)
committerYork Sun <yorksun@freescale.com>
Wed, 25 Feb 2015 21:19:48 +0000 (13:19 -0800)
commit7ee8c4795d0ab0f1cd25496bfbcdedb184ef5a8d
treee72f0aeb83295ee97a8c8465eabc8e0e7a58e434
parent0e1bf614d5045b060db8e1bf9e7f69afdf1c592f
crypto/fsl: Make function names consistent for blob encapsulation/decapsulation.

This patch does the following:

1. The function names for encapsulation and decapsulation
were inconsitent in freescale's implementation and cmd_blob file.
This patch corrects the issues.
2. The function protopye is also modified to change the length parameter
from u8 to u32 to allow encapsulation and decapsulation of larger images.
3. Modified the description of km paramter in the command usage for better
readability.

Signed-off-by: Gaurav Rana <gaurav.rana@freescale.com>
Reviewed-by: Ruchika Gupta <ruchika.gupta@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
common/cmd_blob.c
drivers/crypto/fsl/fsl_blob.c