diff options
author | Kenny Root <kroot@google.com> | 2013-10-08 12:52:07 -0700 |
---|---|---|
committer | Kenny Root <kroot@google.com> | 2013-10-09 17:04:50 -0700 |
commit | db0850c3b637faaa7cbe1bab2e6c91ad2af35426 (patch) | |
tree | e42c2a7bf92d55c4f0b35f9e85035b842fe40965 /include/mincrypt/rsa.h | |
parent | 7dbe96602cde4822d22f17b85e33027563e8c521 (diff) | |
download | system_core-db0850c3b637faaa7cbe1bab2e6c91ad2af35426.zip system_core-db0850c3b637faaa7cbe1bab2e6c91ad2af35426.tar.gz system_core-db0850c3b637faaa7cbe1bab2e6c91ad2af35426.tar.bz2 |
Add support for ECDSA P-256 with SHA256
This adds a small EC library that is capable of verifying a signature of
SHA256 with ECDSA on the NIST P-256 curve.
Change-Id: I2a16639c92a77e8e4783c47ffbc56676de56eb59
Diffstat (limited to 'include/mincrypt/rsa.h')
-rw-r--r-- | include/mincrypt/rsa.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/mincrypt/rsa.h b/include/mincrypt/rsa.h index cc0e800..3d0556b 100644 --- a/include/mincrypt/rsa.h +++ b/include/mincrypt/rsa.h @@ -25,8 +25,8 @@ ** ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef _EMBEDDED_RSA_H_ -#define _EMBEDDED_RSA_H_ +#ifndef SYSTEM_CORE_INCLUDE_MINCRYPT_RSA_H_ +#define SYSTEM_CORE_INCLUDE_MINCRYPT_RSA_H_ #include <inttypes.h> @@ -55,4 +55,4 @@ int RSA_verify(const RSAPublicKey *key, } #endif -#endif +#endif // SYSTEM_CORE_INCLUDE_MINCRYPT_RSA_H_ |