BSL v0.0.0
AMMOS Bundle Protocol Security Library (BSL)
|
Header for the implementation of an example default security context (RFC 9173). More...
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <qcbor/qcbor_encode.h>
#include <qcbor/qcbor_spiffy_decode.h>
#include <BPSecLib_Private.h>
#include <CryptoInterface.h>
#include "DefaultSecContext.h"
#include "DefaultSecContext_Private.h"
#include "rfc9173.h"
Go to the source code of this file.
Functions | |
void | BSLX_EncodeHeader (const BSL_CanonicalBlock_t *block, QCBOREncodeContext *encoder) |
void * | BSLX_ScratchSpace_take (BSLX_ScratchSpace_t *scratch, size_t len) |
This means "give me len bytes from the scratch space and increment a counter." This is a convenience to assign space within the scratch space for certain structs. | |
Header for the implementation of an example default security context (RFC 9173).
Definition in file DefaultSecContext.c.
void BSLX_EncodeHeader | ( | const BSL_CanonicalBlock_t * | block, |
QCBOREncodeContext * | encoder | ||
) |
Definition at line 41 of file DefaultSecContext.c.
void * BSLX_ScratchSpace_take | ( | BSLX_ScratchSpace_t * | scratch, |
size_t | len | ||
) |
This means "give me len bytes from the scratch space and increment a counter." This is a convenience to assign space within the scratch space for certain structs.
Definition at line 51 of file DefaultSecContext.c.