/* Creating hash Context. 
Change Logs: Date Author Notes  tyx the first version */
struct rt_hwcrypto_ctx* rt_hwcrypto_hash_create(struct rt_hwcrypto_device *device, hwcrypto_type type)
/* Creating hash Context. 
Change Logs: Date Author Notes  tyx the first version */
struct rt_hwcrypto_ctx* rt_hwcrypto_hash_create(struct rt_hwcrypto_device *device, hwcrypto_type type)
{
    struct rt_hwcrypto_ctx *ctx;
    ctx = rt_hwcrypto_ctx_create(device, type, sizeof(struct hwcrypto_hash));
    return ctx;
}