Home
last modified time | relevance | path

Searched refs:mbed_hash_alloc_ctx (Results 1 – 1 of 1) sorted by relevance

/optee_os/lib/libmbedtls/core/
H A Dhash.c111 static TEE_Result mbed_hash_alloc_ctx(struct crypto_hash_ctx **ctx_ret, in mbed_hash_alloc_ctx() function
142 return mbed_hash_alloc_ctx(ctx, MBEDTLS_MD_MD5); in crypto_md5_alloc_ctx()
149 return mbed_hash_alloc_ctx(ctx, MBEDTLS_MD_SHA1); in crypto_sha1_alloc_ctx()
156 return mbed_hash_alloc_ctx(ctx, MBEDTLS_MD_SHA224); in crypto_sha224_alloc_ctx()
163 return mbed_hash_alloc_ctx(ctx, MBEDTLS_MD_SHA256); in crypto_sha256_alloc_ctx()
170 return mbed_hash_alloc_ctx(ctx, MBEDTLS_MD_SHA384); in crypto_sha384_alloc_ctx()
177 return mbed_hash_alloc_ctx(ctx, MBEDTLS_MD_SHA512); in crypto_sha512_alloc_ctx()