Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ psa_status_t cracen_aead_set_lengths(cracen_aead_operation_t *operation, size_t
#endif
}

static psa_status_t cracen_aead_update_internal(cracen_aead_operation_t *operation,
static __maybe_unused psa_status_t cracen_aead_update_internal(cracen_aead_operation_t *operation,
const uint8_t *input, size_t input_length,
uint8_t *output, size_t output_size,
size_t *output_length, bool is_ad_update)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include <silexpk/sxbuf/sxbufop.h>

/** Write the sizes of the elements of a RSA key. */
static void cracen_ffkey_write_sz(const struct cracen_rsa_key *key, int *sizes)
static inline void cracen_ffkey_write_sz(const struct cracen_rsa_key *key, int *sizes)
{
int slotidx = 0;
int i = 0;
Expand All @@ -29,7 +29,7 @@ static void cracen_ffkey_write_sz(const struct cracen_rsa_key *key, int *sizes)
}

/** Write the elements of a RSA key into the input slots. */
static void cracen_ffkey_write(const struct cracen_rsa_key *key, struct sx_pk_slot *inputs)
static inline void cracen_ffkey_write(const struct cracen_rsa_key *key, struct sx_pk_slot *inputs)
{
int slotidx = 0;
int i = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ struct sxcmmask {
* @return Return the nested error if it is not SX_OK, otherwise return
* the original error code.
*/
inline int sx_handle_nested_error(int nested_err, int err)
static inline int sx_handle_nested_error(int nested_err, int err)
{
return nested_err ? nested_err != SX_OK : err;
}
Expand Down