Janos Follath 91dc67d31c Allow (NULL, 0) as a representation of 0
- We don't check for NULL pointers this deep in the library
- Accessing a NULL pointer when the limb number is 0 as a mistake is the
  very similar to any other out of bounds access
- We could potentially mandate at least 1 limb representation for 0 but
  we either would need to enforce it or the implementation would be less
  robust.
- Allowing zero limb representation - (NULL, 0) in particular - for zero
  is present in the legacy interface, if we disallow it, the
  compatibility code will need to deal with this (more code size and
  opportunities for mistakes)

In summary, interpreting (NULL, 0) as the number zero in the core
interface is the least of the two evils.

Signed-off-by: Janos Follath <janos.follath@arm.com>
2022-08-05 17:08:52 +01:00
..
2022-06-29 16:17:50 +01:00
2022-08-05 17:08:52 +01:00
2022-08-05 17:03:56 +01:00
2022-08-05 17:03:56 +01:00
2022-08-05 17:08:52 +01:00
2022-05-06 10:55:10 +02:00
2022-08-05 17:03:56 +01:00
2022-07-27 14:43:38 +01:00
2022-07-28 10:31:16 +01:00
2022-07-26 10:20:52 +02:00
2022-07-26 10:20:52 +02:00
2022-07-27 20:44:02 +02:00
2022-08-05 17:03:56 +01:00
2022-07-21 12:11:53 +02:00
2022-05-12 09:45:03 +01:00
2022-07-01 16:43:25 +01:00
2021-12-06 07:50:27 +01:00
2022-07-20 11:07:29 +08:00
2022-03-29 17:43:56 +02:00