summaryrefslogtreecommitdiffstats
path: root/crypto/drbg.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/drbg.c')
-rw-r--r--crypto/drbg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/drbg.c b/crypto/drbg.c
index fb33f7d3b052..9a95b619e19a 100644
--- a/crypto/drbg.c
+++ b/crypto/drbg.c
@@ -1766,6 +1766,7 @@ static int drbg_kcapi_sym_ctr(struct drbg_state *drbg,
1766 init_completion(&drbg->ctr_completion); 1766 init_completion(&drbg->ctr_completion);
1767 1767
1768 outlen -= cryptlen; 1768 outlen -= cryptlen;
1769 outbuf += cryptlen;
1769 } 1770 }
1770 1771
1771 return 0; 1772 return 0;