Home
last modified time | relevance | path

Searched refs:stm32_cryp_context (Results 1 – 4 of 4) sorted by relevance

/optee_os/core/drivers/crypto/stm32/
H A Dstm32_cryp.h45 struct stm32_cryp_context { struct
64 TEE_Result stm32_cryp_init(struct stm32_cryp_context *ctx, bool is_decrypt, argument
68 TEE_Result stm32_cryp_update(struct stm32_cryp_context *ctx, bool last_block,
71 TEE_Result stm32_cryp_update_assodata(struct stm32_cryp_context *ctx,
73 TEE_Result stm32_cryp_update_load(struct stm32_cryp_context *ctx,
76 TEE_Result stm32_cryp_final(struct stm32_cryp_context *ctx, uint8_t *tag,
H A Dstm32_cryp.c259 static TEE_Result __must_check write_align_block(struct stm32_cryp_context *ctx, in write_align_block()
277 static TEE_Result __must_check write_block(struct stm32_cryp_context *ctx, in write_block()
290 static TEE_Result __must_check read_align_block(struct stm32_cryp_context *ctx, in read_align_block()
308 static TEE_Result __must_check read_block(struct stm32_cryp_context *ctx, in read_block()
343 static void cryp_end(struct stm32_cryp_context *ctx, TEE_Result prev_error) in cryp_end()
352 static void cryp_write_iv(struct stm32_cryp_context *ctx) in cryp_write_iv()
364 static void cryp_save_suspend(struct stm32_cryp_context *ctx) in cryp_save_suspend()
380 static void cryp_restore_suspend(struct stm32_cryp_context *ctx) in cryp_restore_suspend()
395 static void cryp_write_key(struct stm32_cryp_context *ctx) in cryp_write_key()
413 static TEE_Result cryp_prepare_key(struct stm32_cryp_context *ctx) in cryp_prepare_key()
[all …]
H A Dauthenc.c27 struct stm32_cryp_context cryp;
56 struct stm32_cryp_context ctx = { }; in stm32_ae_gcm_generate_iv()
H A Dcipher.c23 struct stm32_cryp_context ctx;