Lines Matching defs:ctx
32 static struct mbed_hash_ctx *to_hash_ctx(struct crypto_hash_ctx *ctx) in to_hash_ctx()
39 static TEE_Result mbed_hash_init(struct crypto_hash_ctx *ctx) in mbed_hash_init()
47 static TEE_Result mbed_hash_update(struct crypto_hash_ctx *ctx, in mbed_hash_update()
56 static TEE_Result mbed_hash_final(struct crypto_hash_ctx *ctx, uint8_t *digest, in mbed_hash_final()
85 static void mbed_hash_free_ctx(struct crypto_hash_ctx *ctx) in mbed_hash_free_ctx()
140 TEE_Result crypto_md5_alloc_ctx(struct crypto_hash_ctx **ctx) in crypto_md5_alloc_ctx()
147 TEE_Result crypto_sha1_alloc_ctx(struct crypto_hash_ctx **ctx) in crypto_sha1_alloc_ctx()
154 TEE_Result crypto_sha224_alloc_ctx(struct crypto_hash_ctx **ctx) in crypto_sha224_alloc_ctx()
161 TEE_Result crypto_sha256_alloc_ctx(struct crypto_hash_ctx **ctx) in crypto_sha256_alloc_ctx()
168 TEE_Result crypto_sha384_alloc_ctx(struct crypto_hash_ctx **ctx) in crypto_sha384_alloc_ctx()
175 TEE_Result crypto_sha512_alloc_ctx(struct crypto_hash_ctx **ctx) in crypto_sha512_alloc_ctx()
202 int mbedtls_internal_sha1_process(mbedtls_sha1_context *ctx, in mbedtls_internal_sha1_process()
212 int mbedtls_internal_sha256_process(mbedtls_sha256_context *ctx, in mbedtls_internal_sha256_process()
222 int mbedtls_internal_sha512_process(mbedtls_sha512_context *ctx, in mbedtls_internal_sha512_process()