Lines Matching defs:ctx
26 static struct mbed_hmac_ctx *to_hmac_ctx(struct crypto_mac_ctx *ctx) in to_hmac_ctx()
33 static TEE_Result mbed_hmac_init(struct crypto_mac_ctx *ctx, in mbed_hmac_init()
42 static TEE_Result mbed_hmac_update(struct crypto_mac_ctx *ctx, in mbed_hmac_update()
51 static TEE_Result mbed_hmac_final(struct crypto_mac_ctx *ctx, uint8_t *digest, in mbed_hmac_final()
80 static void mbed_hmac_free_ctx(struct crypto_mac_ctx *ctx) in mbed_hmac_free_ctx()
135 TEE_Result crypto_hmac_md5_alloc_ctx(struct crypto_mac_ctx **ctx) in crypto_hmac_md5_alloc_ctx()
142 TEE_Result crypto_hmac_sha1_alloc_ctx(struct crypto_mac_ctx **ctx) in crypto_hmac_sha1_alloc_ctx()
149 TEE_Result crypto_hmac_sha224_alloc_ctx(struct crypto_mac_ctx **ctx) in crypto_hmac_sha224_alloc_ctx()
156 TEE_Result crypto_hmac_sha256_alloc_ctx(struct crypto_mac_ctx **ctx) in crypto_hmac_sha256_alloc_ctx()
163 TEE_Result crypto_hmac_sha384_alloc_ctx(struct crypto_mac_ctx **ctx) in crypto_hmac_sha384_alloc_ctx()
170 TEE_Result crypto_hmac_sha512_alloc_ctx(struct crypto_mac_ctx **ctx) in crypto_hmac_sha512_alloc_ctx()