1
1
mirror of https://github.com/henrydcase/pqc.git synced 2024-11-26 09:21:28 +00:00
pqcrypto/.github/pull_request_template.md
Thom Wiggers 1938f78bf1 Pull request template draft
[ci skip]
2019-04-05 16:19:56 +02:00

854 B

Manually checked properties

  • #ifdefs only for header encapsulation
  • api.h does not include other files
  • No stringification macros
  • Output-parameter pointers in functions are on the left
  • Negative return values on failure of API functions (within restrictions of FO transform).
  • const arguments are labeled as const
  • (optional) All integer types are of fixed size, using stdint.h types (including uint8_t instead of unsigned char)
  • Integers used for indexing are of size size_t
  • variable declarations at the beginning (except in for (size_t i=...)