summaryrefslogtreecommitdiff
path: root/board/host/dcrypto.h
diff options
context:
space:
mode:
Diffstat (limited to 'board/host/dcrypto.h')
-rw-r--r--board/host/dcrypto.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/board/host/dcrypto.h b/board/host/dcrypto.h
index 481d724986..b9bd5b8be8 100644
--- a/board/host/dcrypto.h
+++ b/board/host/dcrypto.h
@@ -74,8 +74,10 @@ struct drbg_ctx {
uint32_t reseed_counter;
};
-int dcrypto_p256_ecdsa_sign(struct drbg_ctx *drbg, const p256_int *key,
- const p256_int *message, p256_int *r, p256_int *s);
+enum dcrypto_result dcrypto_p256_ecdsa_sign(struct drbg_ctx *drbg,
+ const p256_int *key,
+ const p256_int *message,
+ p256_int *r, p256_int *s);
void hmac_drbg_init_rfc6979(struct drbg_ctx *ctx, const p256_int *key,
const p256_int *message);