summaryrefslogtreecommitdiff
path: root/include/dm
diff options
context:
space:
mode:
authorRuchika Gupta <ruchika.gupta@freescale.com>2015-01-23 16:01:52 +0530
committerSimon Glass <sjg@chromium.org>2015-01-29 17:09:58 -0700
commit31d2b4fd90f9305aad2e79872067e6c0243267de (patch)
tree823edbcb72a6f271688a3c22edc223fa89587525 /include/dm
parentc4beb22fcd8cf57569a8045c8e04cea0dbbfd763 (diff)
downloadu-boot-imx-31d2b4fd90f9305aad2e79872067e6c0243267de.zip
u-boot-imx-31d2b4fd90f9305aad2e79872067e6c0243267de.tar.gz
u-boot-imx-31d2b4fd90f9305aad2e79872067e6c0243267de.tar.bz2
DM: crypto/rsa_mod_exp: Add rsa Modular Exponentiation DM driver
Add a new rsa uclass for performing modular exponentiation and implement the software driver basing on this uclass. Signed-off-by: Ruchika Gupta <ruchika.gupta@freescale.com> CC: Simon Glass <sjg@chromium.org> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/dm')
-rw-r--r--include/dm/uclass-id.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dm/uclass-id.h b/include/dm/uclass-id.h
index f17c3c2..91bb90d 100644
--- a/include/dm/uclass-id.h
+++ b/include/dm/uclass-id.h
@@ -33,6 +33,7 @@ enum uclass_id {
UCLASS_I2C, /* I2C bus */
UCLASS_I2C_GENERIC, /* Generic I2C device */
UCLASS_I2C_EEPROM, /* I2C EEPROM device */
+ UCLASS_MOD_EXP, /* RSA Mod Exp device */
UCLASS_COUNT,
UCLASS_INVALID = -1,