Home
last modified time | relevance | path

Searched refs:stm32_saes_context (Results 1 – 3 of 3) sorted by relevance

/trusted-firmware-a-latest/include/drivers/st/
Dstm32_saes.h38 struct stm32_saes_context { struct
49 int stm32_saes_init(struct stm32_saes_context *ctx, bool is_decrypt, argument
52 int stm32_saes_update(struct stm32_saes_context *ctx, bool last_block,
54 int stm32_saes_update_assodata(struct stm32_saes_context *ctx, bool last_block,
56 int stm32_saes_update_load(struct stm32_saes_context *ctx, bool last_block,
58 int stm32_saes_final(struct stm32_saes_context *ctx, uint8_t *tag, size_t tag_len);
/trusted-firmware-a-latest/drivers/st/crypto/
Dstm32_saes.c209 static int saes_start(struct stm32_saes_context *ctx) in saes_start()
229 static void saes_end(struct stm32_saes_context *ctx, int prev_error) in saes_end()
242 static void saes_write_iv(struct stm32_saes_context *ctx) in saes_write_iv()
256 static void saes_write_key(struct stm32_saes_context *ctx) in saes_write_key()
275 static int saes_prepare_key(struct stm32_saes_context *ctx) in saes_prepare_key()
317 static int save_context(struct stm32_saes_context *ctx) in save_context()
344 static int restore_context(struct stm32_saes_context *ctx) in restore_context()
415 int stm32_saes_init(struct stm32_saes_context *ctx, bool is_dec, in stm32_saes_init()
564 int stm32_saes_update_assodata(struct stm32_saes_context *ctx, bool last_block, in stm32_saes_update_assodata()
648 int stm32_saes_update_load(struct stm32_saes_context *ctx, bool last_block, in stm32_saes_update_load()
[all …]
/trusted-firmware-a-latest/plat/st/common/
Dstm32mp_crypto_lib.c578 struct stm32_saes_context ctx; in stm32_decrypt_aes_gcm()