Home
last modified time | relevance | path

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

/linux-6.1.9/arch/s390/crypto/
Dsha_common.c78 int mbl_offset; in s390_sha_final() local
82 mbl_offset = s390_crypto_shash_parmsize(ctx->func); in s390_sha_final()
83 if (mbl_offset < 0) in s390_sha_final()
86 mbl_offset = mbl_offset / sizeof(u32); in s390_sha_final()
92 memcpy(ctx->state + mbl_offset, &bits, sizeof(bits)); in s390_sha_final()
99 memset(ctx->state + mbl_offset, 0x00, sizeof(bits)); in s390_sha_final()
100 mbl_offset += sizeof(u64) / sizeof(u32); in s390_sha_final()
101 memcpy(ctx->state + mbl_offset, &bits, sizeof(bits)); in s390_sha_final()