Lines Matching full:sha
13 LOG_MODULE_REGISTER(SHA);
32 static int intel_sha_set_ctl_enable(struct sha_container *sha, int status) in intel_sha_set_ctl_enable() argument
35 if (status == 0 && sha->dfsha->shactl.part.en == 1) { in intel_sha_set_ctl_enable()
36 while (sha->dfsha->shasts.part.busy) { in intel_sha_set_ctl_enable()
40 sha->dfsha->shactl.part.en = status; in intel_sha_set_ctl_enable()
44 static int intel_sha_set_resume_length_dw0(struct sha_container *sha, uint32_t lower_length) in intel_sha_set_resume_length_dw0() argument
49 sha->dfsha->sharldw0.full = lower_length; in intel_sha_set_resume_length_dw0()
56 static int intel_sha_set_resume_length_dw1(struct sha_container *sha, uint32_t upper_length) in intel_sha_set_resume_length_dw1() argument
58 sha->dfsha->sharldw1.full = upper_length; in intel_sha_set_resume_length_dw1()
80 /* ! Perform SHA computation over requested region. */
166 /* The index of a last element in the sha result buffer. */ in intel_sha_copy_hash()
301 /* populate sha session data */ in intel_sha_device_set_hash_type()