X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/blobdiff_plain/55d8165698494a72b866a02f9fbf02d99320e7df..8c6991f6b0336f375a7b7d39f4c7f031b740838a:/symm/chacha.c diff --git a/symm/chacha.c b/symm/chacha.c index bd94ffde..e694ad22 100644 --- a/symm/chacha.c +++ b/symm/chacha.c @@ -672,7 +672,7 @@ static void grdestroy(grand *r) static const grand_ops grops_rand_##rr = { \ "chacha" #rr, GRAND_CRYPTO, 0, \ grmisc, grdestroy, grword, \ - grbyte, grword, grand_range, grfill \ + grbyte, grword, grand_defaultrange, grfill \ }; \ \ grand *chacha##rr##_rand(const void *k, size_t ksz, const void *n) \ @@ -714,7 +714,7 @@ CHACHA_VARS(DEFGRAND) static const grand_ops grxops_rand_##rr = { \ "xchacha" #rr, GRAND_CRYPTO, 0, \ grmisc, grxdestroy_##rr, grword, \ - grbyte, grword, grand_range, grfill \ + grbyte, grword, grand_defaultrange, grfill \ }; \ \ grand *xchacha##rr##_rand(const void *k, size_t ksz, const void *n) \