Home
last modified time | relevance | path

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

/rk3399_ARM-atf/include/drivers/st/
H A 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);
/rk3399_ARM-atf/drivers/st/crypto/
H A Dstm32_saes.c209 static int saes_start(struct stm32_saes_context *ctx) in saes_start()
231 static void saes_end(struct stm32_saes_context *ctx, int prev_error) in saes_end()
244 static void saes_write_iv(struct stm32_saes_context *ctx) in saes_write_iv()
258 static void saes_write_key(struct stm32_saes_context *ctx) in saes_write_key()
277 static int saes_prepare_key(struct stm32_saes_context *ctx) in saes_prepare_key()
319 static int save_context(struct stm32_saes_context *ctx) in save_context()
346 static int restore_context(struct stm32_saes_context *ctx) in restore_context()
417 int stm32_saes_init(struct stm32_saes_context *ctx, bool is_dec, in stm32_saes_init()
566 int stm32_saes_update_assodata(struct stm32_saes_context *ctx, bool last_block, in stm32_saes_update_assodata()
650 int stm32_saes_update_load(struct stm32_saes_context *ctx, bool last_block, in stm32_saes_update_load()
[all …]
/rk3399_ARM-atf/plat/st/common/
H A Dstm32mp_crypto_lib.c579 struct stm32_saes_context ctx; in stm32_decrypt_aes_gcm()