aboutsummaryrefslogtreecommitdiff
path: root/drivers/crypto
diff options
context:
space:
mode:
authorBreno Lima <breno.lima@nxp.com>2021-03-25 17:30:35 +0800
committerStefano Babic <sbabic@denx.de>2021-04-08 20:29:52 +0200
commit58fc03e2a65884c17841dd4eee58c97bbeb2297b (patch)
treed685c63a1037845e67a32a7cd3d0b8593b593619 /drivers/crypto
parent69f542ca2b68b88cd31118c3bf926dd59b544473 (diff)
downloadu-boot-58fc03e2a65884c17841dd4eee58c97bbeb2297b.zip
u-boot-58fc03e2a65884c17841dd4eee58c97bbeb2297b.tar.gz
u-boot-58fc03e2a65884c17841dd4eee58c97bbeb2297b.tar.bz2
fsl_mfgprot: Fix typo in sign_mppubk()
The signature is generated using manufacturing protection private key. Fix typo in fsl_mfgprot.c. Signed-off-by: Breno Lima <breno.lima@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'drivers/crypto')
-rw-r--r--drivers/crypto/fsl/fsl_mfgprot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/fsl/fsl_mfgprot.c b/drivers/crypto/fsl/fsl_mfgprot.c
index fa874e7..29af79f 100644
--- a/drivers/crypto/fsl/fsl_mfgprot.c
+++ b/drivers/crypto/fsl/fsl_mfgprot.c
@@ -138,7 +138,7 @@ int sign_mppubk(const u8 *m, int data_size, u8 *dgst, u8 *c, u8 *d)
flush_dcache_range((unsigned long)d, (unsigned long)d + size);
/* Execute Job Descriptor */
- puts("\nSigning message with Manufacturing Protection Public Key\n");
+ puts("\nSigning message with Manufacturing Protection Private Key\n");
ret = run_descriptor_jr(dsc);
if (ret) {