]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - crypto/drbg.c
drm/nouveau/kms/nv50: skip core channel cursor update on position-only changes
[karo-tx-linux.git] / crypto / drbg.c
index 053035b5c8f85686446df108ccbf3675a19cd056..8a4d98b4adba46bafb30928cc6b28426427802ce 100644 (file)
@@ -1782,6 +1782,7 @@ static int drbg_kcapi_sym_ctr(struct drbg_state *drbg,
                memcpy(outbuf, drbg->outscratchpad, cryptlen);
 
                outlen -= cryptlen;
+               outbuf += cryptlen;
        }
        ret = 0;