X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fu-boot%2Frsa.h;h=68bcb14c74d298d5b838628a50c15ee22a83a15d;hb=018664464628686d41f3d36e5428bb50d9094977;hp=325751ab7e1896c548e2c229708ad1a04670c2f5;hpb=22692ec0fbdb455ca16d4d0e27768c6b6deb4243;p=u-boot diff --git a/include/u-boot/rsa.h b/include/u-boot/rsa.h index 325751ab7e..68bcb14c74 100644 --- a/include/u-boot/rsa.h +++ b/include/u-boot/rsa.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (c) 2013, Google Inc. * @@ -5,8 +6,6 @@ * * (C) Copyright 2000-2006 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _RSA_H @@ -27,8 +26,11 @@ struct rsa_public_key { uint32_t n0inv; /* -1 / modulus[0] mod 2^32 */ uint32_t *modulus; /* modulus as little endian array */ uint32_t *rr; /* R^2 as little endian array */ + uint64_t exponent; /* public exponent */ }; +struct image_sign_info; + #if IMAGE_ENABLE_SIGN /** * sign() - calculate and return signature for given input data