Searched refs:mbl_offset (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/arch/s390/crypto/ |
H A D | sha_common.c | 78 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()
|
/kernel/linux/linux-6.6/arch/s390/crypto/ |
H A D | sha_common.c | 78 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()
|
Completed in 2 milliseconds