Lines Matching defs:ctx

22 	struct crypto_hash_ctx ctx;  member
29 static struct ltc_hash_ctx *to_hash_ctx(struct crypto_hash_ctx *ctx) in to_hash_ctx()
36 static TEE_Result ltc_hash_init(struct crypto_hash_ctx *ctx) in ltc_hash_init()
46 static TEE_Result ltc_hash_update(struct crypto_hash_ctx *ctx, in ltc_hash_update()
57 static TEE_Result ltc_hash_final(struct crypto_hash_ctx *ctx, uint8_t *digest, in ltc_hash_final()
86 static void ltc_hash_free_ctx(struct crypto_hash_ctx *ctx) in ltc_hash_free_ctx()
112 struct ltc_hash_ctx *ctx = NULL; in ltc_hash_alloc_ctx() local
130 TEE_Result crypto_md5_alloc_ctx(struct crypto_hash_ctx **ctx) in crypto_md5_alloc_ctx()
137 TEE_Result crypto_sha1_alloc_ctx(struct crypto_hash_ctx **ctx) in crypto_sha1_alloc_ctx()
144 TEE_Result crypto_sha224_alloc_ctx(struct crypto_hash_ctx **ctx) in crypto_sha224_alloc_ctx()
151 TEE_Result crypto_sha256_alloc_ctx(struct crypto_hash_ctx **ctx) in crypto_sha256_alloc_ctx()
158 TEE_Result crypto_sha384_alloc_ctx(struct crypto_hash_ctx **ctx) in crypto_sha384_alloc_ctx()
165 TEE_Result crypto_sha512_alloc_ctx(struct crypto_hash_ctx **ctx) in crypto_sha512_alloc_ctx()
208 TEE_Result crypto_sha3_224_alloc_ctx(struct crypto_hash_ctx **ctx) in crypto_sha3_224_alloc_ctx()
215 TEE_Result crypto_sha3_256_alloc_ctx(struct crypto_hash_ctx **ctx) in crypto_sha3_256_alloc_ctx()
222 TEE_Result crypto_sha3_384_alloc_ctx(struct crypto_hash_ctx **ctx) in crypto_sha3_384_alloc_ctx()
229 TEE_Result crypto_sha3_512_alloc_ctx(struct crypto_hash_ctx **ctx) in crypto_sha3_512_alloc_ctx()