Lines Matching defs:ctx
17 struct crypto_mac_ctx ctx; member
24 static struct ltc_hmac_ctx *to_hmac_ctx(struct crypto_mac_ctx *ctx) in to_hmac_ctx()
31 static TEE_Result ltc_hmac_init(struct crypto_mac_ctx *ctx, const uint8_t *key, in ltc_hmac_init()
42 static TEE_Result ltc_hmac_update(struct crypto_mac_ctx *ctx, in ltc_hmac_update()
51 static TEE_Result ltc_hmac_final(struct crypto_mac_ctx *ctx, uint8_t *digest, in ltc_hmac_final()
62 static void ltc_hmac_free_ctx(struct crypto_mac_ctx *ctx) in ltc_hmac_free_ctx()
88 struct ltc_hmac_ctx *ctx = NULL; in ltc_hmac_alloc_ctx() local
104 TEE_Result crypto_hmac_md5_alloc_ctx(struct crypto_mac_ctx **ctx) in crypto_hmac_md5_alloc_ctx()
109 TEE_Result crypto_hmac_sha1_alloc_ctx(struct crypto_mac_ctx **ctx) in crypto_hmac_sha1_alloc_ctx()
114 TEE_Result crypto_hmac_sha224_alloc_ctx(struct crypto_mac_ctx **ctx) in crypto_hmac_sha224_alloc_ctx()
119 TEE_Result crypto_hmac_sha256_alloc_ctx(struct crypto_mac_ctx **ctx) in crypto_hmac_sha256_alloc_ctx()
124 TEE_Result crypto_hmac_sha384_alloc_ctx(struct crypto_mac_ctx **ctx) in crypto_hmac_sha384_alloc_ctx()
129 TEE_Result crypto_hmac_sha512_alloc_ctx(struct crypto_mac_ctx **ctx) in crypto_hmac_sha512_alloc_ctx()