Commit Graph

1 Commits

Author SHA1 Message Date
Romain Vimont
cef9bf51a9 Add sc_allocarray() util
Add a function to allocate an array, which fails safely in the case
where the multiplication would overflow.
2023-03-06 09:26:29 +01:00