sh: ms7722: Remove the board
[oweals/u-boot.git] / include / u-boot / rsa-mod-exp.h
index fce445a082a2f9ea28353d080243d2d6bf070c3b..8a428c4b6a1ac88fcbe5ef5fce62b0e356a3c11c 100644 (file)
@@ -1,8 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
- * Copyright (c) 2014, Ruchika Gupta.
- *
- * SPDX-License-Identifier:    GPL-2.0+
-*/
+ * Copyright 2014 Freescale Semiconductor, Inc.
+ */
 
 #ifndef _RSA_MOD_EXP_H
 #define _RSA_MOD_EXP_H
@@ -43,6 +42,10 @@ int rsa_mod_exp_sw(const uint8_t *sig, uint32_t sig_len,
 int rsa_mod_exp(struct udevice *dev, const uint8_t *sig, uint32_t sig_len,
                struct key_prop *node, uint8_t *out);
 
+#if defined(CONFIG_CMD_ZYNQ_RSA)
+int zynq_pow_mod(u32 *keyptr, u32 *inout);
+#endif
+
 /**
  * struct struct mod_exp_ops - Driver model for RSA Modular Exponentiation
  *                             operations