Searched refs:hashctx (Results 1 – 3 of 3) sorted by relevance
/optee_os-3.20.0/core/drivers/crypto/caam/hash/ |
A D | local.h | 15 struct hashctx { struct 43 TEE_Result caam_hash_hmac_init(struct hashctx *ctx); argument 52 TEE_Result caam_hash_hmac_update(struct hashctx *ctx, const uint8_t *data, 62 TEE_Result caam_hash_hmac_final(struct hashctx *ctx, uint8_t *digest, 71 void caam_hash_hmac_copy_state(struct hashctx *dst, struct hashctx *src); 78 void caam_hash_hmac_free(struct hashctx *ctx); 92 TEE_Result caam_hash_hmac_allocate(struct hashctx *ctx);
|
A D | caam_hash.c | 90 struct hashctx *ctx; /* Hash Context */ 132 static void do_free_intern(struct hashctx *ctx) in do_free_intern() 248 struct hashctx *hash_ctx = NULL; in caam_hash_allocate() 293 TEE_Result caam_hash_hmac_allocate(struct hashctx *ctx) in caam_hash_hmac_allocate() 344 void caam_hash_hmac_free(struct hashctx *ctx) in caam_hash_hmac_free() 365 TEE_Result caam_hash_hmac_init(struct hashctx *ctx) in caam_hash_hmac_init() 393 static TEE_Result do_update_hash(struct hashctx *ctx, struct caamdmaobj *src) in do_update_hash() 467 TEE_Result caam_hash_hmac_update(struct hashctx *ctx, const uint8_t *data, in caam_hash_hmac_update() 571 TEE_Result caam_hash_hmac_final(struct hashctx *ctx, uint8_t *digest, in caam_hash_hmac_final() 672 void caam_hash_hmac_copy_state(struct hashctx *dst, struct hashctx *src) in caam_hash_hmac_copy_state()
|
A D | caam_hash_mac.c | 37 struct hashctx *ctx; /* HMAC context */ 129 struct hashctx *hmac_ctx = mac->ctx; in do_hmac_init() 291 struct hashctx *hmac_ctx = NULL; in caam_hmac_allocate()
|
Completed in 4 milliseconds