The AWS SigV4 Library is a standalone library for generating signatures and authorization headers according to the specifications of the AWS Signature Version 4 signing process. This library aids applications in sending direct HTTP requests to AWS services requiring SigV4 authentication. The library is written in C and designed to be compliant with ISO C90 and MISRA C and has no dependencies on any additional libraries other than the standard C library.
Memory requirements of the SigV4 Library.
File | ||
sigv4.c | ||
sigv4_quicksort.c | ||
Total estimates |
SigV4 Library Design
All functions in the SigV4 library operate only on the buffers provided and use only local variables on the stack.
The SIGV4 library is designed to be compliant with ISO C90 and MISRA C:2012. All functions are written to have low complexity scores. Unit tests and CBMC proofs are written to cover every path of execution and achieve 100% branch coverage.
The diagram below demonstrates the happy path an application can take to use the SigV4 library to interact with AWS Services that support SigV4 authentication via HTTP requests.