Home
last modified time | relevance | path

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

/optee_os/core/drivers/crypto/stm32/
H A Dstm32_hash.h40 struct stm32_hash_context { struct
55 size_t stm32_hash_digest_size(struct stm32_hash_context *c); argument
56 TEE_Result stm32_hash_deep_copy(struct stm32_hash_context *dst,
57 struct stm32_hash_context *src);
58 TEE_Result stm32_hash_alloc(struct stm32_hash_context *c,
61 void stm32_hash_free(struct stm32_hash_context *c);
62 TEE_Result stm32_hash_update(struct stm32_hash_context *ctx,
64 TEE_Result stm32_hash_final(struct stm32_hash_context *c, uint8_t *digest,
66 TEE_Result stm32_hash_init(struct stm32_hash_context *ctx, const uint8_t *key,
H A Dstm32_hash.c222 static void get_save_registers(struct stm32_hash_context *c, size_t *nb_regs, in get_save_registers()
259 static TEE_Result save_context(struct stm32_hash_context *c) in save_context()
297 static TEE_Result restore_context(struct stm32_hash_context *c) in restore_context()
327 static TEE_Result hw_init(struct stm32_hash_context *c, const uint8_t *key, in hw_init()
391 static TEE_Result hash_get_digest(struct stm32_hash_context *c, uint8_t *digest) in hash_get_digest()
410 size_t stm32_hash_digest_size(struct stm32_hash_context *c) in stm32_hash_digest_size()
417 TEE_Result stm32_hash_deep_copy(struct stm32_hash_context *dst, in stm32_hash_deep_copy()
418 struct stm32_hash_context *src) in stm32_hash_deep_copy()
443 TEE_Result stm32_hash_alloc(struct stm32_hash_context *c, in stm32_hash_alloc()
568 void stm32_hash_free(struct stm32_hash_context *c) in stm32_hash_free()
[all …]
H A Dhash.c21 struct stm32_hash_context hash;
H A Dhmac.c21 struct stm32_hash_context hash;