Home
last modified time | relevance | path

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

/linux/lib/crypto/
H A Dsha512.c147 ctx->bytecount_lo = initial_bytecount; in __sha512_init()
165 size_t partial = ctx->bytecount_lo % SHA512_BLOCK_SIZE; in __sha512_update()
167 if (check_add_overflow(ctx->bytecount_lo, len, &ctx->bytecount_lo)) in __sha512_update()
200 u64 bitcount_hi = (ctx->bytecount_hi << 3) | (ctx->bytecount_lo >> 61); in __sha512_final()
201 u64 bitcount_lo = ctx->bytecount_lo << 3; in __sha512_final()
202 size_t partial = ctx->bytecount_lo % SHA512_BLOCK_SIZE; in __sha512_final()
315 ctx->ctx.sha_ctx.bytecount_lo = SHA512_BLOCK_SIZE; in hmac_sha384_init_usingrawkey()
325 ctx->ctx.sha_ctx.bytecount_lo = SHA512_BLOCK_SIZE; in hmac_sha512_init_usingrawkey()
/linux/crypto/
H A Dsha512.c24 static_assert(offsetof(struct __sha512_ctx, bytecount_lo) == 64);
35 partial = ctx.bytecount_lo % SHA512_BLOCK_SIZE; in __crypto_sha512_export()
36 ctx.bytecount_lo -= partial; in __crypto_sha512_export()
49 ctx->bytecount_lo += *p; in __crypto_sha512_import()
/linux/include/crypto/
H A Dsha2.h541 u64 bytecount_lo; member