summaryrefslogtreecommitdiff
path: root/board/cr50/dcrypto/dcrypto_p256.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/cr50/dcrypto/dcrypto_p256.c')
-rw-r--r--board/cr50/dcrypto/dcrypto_p256.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/board/cr50/dcrypto/dcrypto_p256.c b/board/cr50/dcrypto/dcrypto_p256.c
index c03145938b..e13e9b51bb 100644
--- a/board/cr50/dcrypto/dcrypto_p256.c
+++ b/board/cr50/dcrypto/dcrypto_p256.c
@@ -150,7 +150,6 @@ int dcrypto_p256_ecdsa_sign(struct drbg_ctx *drbg, const p256_int *key,
/* Pick uniform 0 < k < R */
result |= (p256_hmac_drbg_generate(drbg, &k) != HMAC_DRBG_SUCCESS);
- drbg_exit(drbg);
CP8WB(k, &k, &rnd);