Lines Matching refs:blk
47 …hashcrypt_sha_block_t blk; /*!< memory buffer. only full 64-byte blocks are written to SHA during … member
650 static void hashcrypt_sha_one_block(HASHCRYPT_Type *base, const uint8_t *blk) in hashcrypt_sha_one_block() argument
656 if (0U != ((uintptr_t)blk & 0x3u)) in hashcrypt_sha_one_block()
658 (void)hashcrypt_memcpy(temp, blk, SHA_BLOCK_SIZE); in hashcrypt_sha_one_block()
666 actBlk = (const uint32_t *)(uintptr_t)blk; in hashcrypt_sha_one_block()
706 (void)hashcrypt_memcpy(&ctxInternal->blk.b[ctxInternal->blksz], message, toCopy); in hashcrypt_sha_process_message_data()
711 hashcrypt_sha_one_block(base, &ctxInternal->blk.b[0]); in hashcrypt_sha_process_message_data()
785 (void)hashcrypt_memcpy(&ctxInternal->blk.b[0], message, messageSize); in hashcrypt_sha_process_message_data()
810 (void)hashcrypt_memcpy(&lastBlock.b[0], &ctxInternal->blk.b[0], ctxInternal->blksz); in hashcrypt_sha_finalize()
819 ctxInternal->blk.b[ctxInternal->blksz] = (uint8_t)0x80U; in hashcrypt_sha_finalize()
822 ctxInternal->blk.b[i] = 0; in hashcrypt_sha_finalize()
830 hashcrypt_sha_one_block(base, &ctxInternal->blk.b[0]); in hashcrypt_sha_finalize()
964 for (int i = 0; i < sizeof(ctxInternal->blk.w) / sizeof(ctxInternal->blk.w[0]); i++) in HASHCRYPT_SHA_Init()
966 ctxInternal->blk.w[i] = 0u; in HASHCRYPT_SHA_Init()
1000 (void)hashcrypt_memcpy((&ctxInternal->blk.b[0]) + ctxInternal->blksz, input, inputSize); in HASHCRYPT_SHA_Update()
1166 …(void)hashcrypt_memcpy((&ctxInternal->blk.b[0]), input + SHA_BLOCK_SIZE * ctxInternal->remainingBl… in HASHCRYPT_SHA_UpdateNonBlocking()