Home
last modified time | relevance | path

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

/Linux-v5.4/arch/s390/crypto/
Dsha_common.c77 unsigned int n, mbl_offset; in s390_sha_final() local
81 mbl_offset = s390_crypto_shash_parmsize(ctx->func) / sizeof(u32); in s390_sha_final()
82 if (mbl_offset < 0) in s390_sha_final()
89 memcpy(ctx->state + mbl_offset, &bits, sizeof(bits)); in s390_sha_final()
96 memset(ctx->state + mbl_offset, 0x00, sizeof(bits)); in s390_sha_final()
97 mbl_offset += sizeof(u64) / sizeof(u32); in s390_sha_final()
98 memcpy(ctx->state + mbl_offset, &bits, sizeof(bits)); in s390_sha_final()