Home
last modified time | relevance | path

Searched defs:hashctx (Results 1 – 3 of 3) sorted by relevance

/optee_os/core/drivers/crypto/hisilicon/
H A Dsec_hash.h25 struct hashctx { struct
26 uint8_t key[SEC_DIGEST_MAX_KEY_SIZE];
27 uint8_t iv[SEC_DIGEST_MAX_IV_SIZE];
28 uint8_t out[SEC_DIGEST_MAX_MAC_SIZE];
29 bool has_next;
53 struct hashctx *ctx; /* Hash Context */ argument
H A Dsec_hmac.c39 struct hashctx *hashctx = NULL; in sec_hmac_do_update() local
/optee_os/core/drivers/crypto/caam/hash/
H A Dlocal.h15 struct hashctx { struct
16 uint32_t *descriptor; /* Job descriptor */
17 struct caamblock blockbuf; /* Temporary block buffer */
18 struct caambuf ctx; /* Hash context used by the CAAM */
19 const struct hashalg *alg; /* Reference to the algo constants */
43 TEE_Result caam_hash_hmac_init(struct hashctx *ctx); argument