summaryrefslogtreecommitdiff
path: root/src/fundamental/sha256.h
Commit message (Collapse)AuthorAgeFilesLines
* sha256: header needs stddefWilliam Roberts2023-01-251-0/+1
| | | | | | The sha256 header uses size_t which is within stddef, so add it. Signed-off-by: William Roberts <william.c.roberts@intel.com>
* sha256: add helper than hashes a buffer *and* its sizeLennart Poettering2023-01-041-0/+5
| | | | | We use this pattern all the time in order to thward extension attacks, add a helper to make it shorter.
* sha256: external headers should be included with <>Lennart Poettering2022-12-081-1/+1
|
* sha256: add sha256_direct()/SHA256_DIRECT() helpersLennart Poettering2022-08-191-0/+4
|
* sha256: change digest buffer type to uint8_t[]Lennart Poettering2022-08-191-1/+1
| | | | | This way we can specify a size with "static". All users use uint8_t already, hence this comes at no price.
* sha256: Use stdbool and uintptr_tJan Janssen2022-06-241-6/+1
| | | | | | This also syncs the copyright blurb with current glibc sources. The written by line does not appear in upstream, so it should be okay to remove.
* hmac/sha256: move size define to sha256.hGrigori Goronzy2022-03-151-0/+2
|
* fundamental: rename type.h → types-fundamental.hLennart Poettering2021-11-111-1/+1
| | | | | | | "type.h" is a very generic name, but this header is very specific to making the "fundaemtnal" stuff work, it maps genric types in two distinct ways. Hence let's make clear in the header name already what this is about.
* boot/sha256: sd-ify and move to src/fundamentalLuca Boccassi2021-10-081-0/+32