Lines Matching refs:input
102 static void ctrIncrement(uint8_t *input) in ctrIncrement() argument
105 while (input[i] == (uint8_t)0xFFu) in ctrIncrement()
107 input[i] = (uint8_t)0x00u; in ctrIncrement()
117 input[i] += (uint8_t)1u; in ctrIncrement()
432 const uint8_t *input, in hashcrypt_aes_one_block_aligned() argument
439 base->MEMADDR = HASHCRYPT_MEMADDR_BASE(input); in hashcrypt_aes_one_block_aligned()
477 const uint8_t *input, in hashcrypt_aes_one_block_unaligned() argument
493 (void)memcpy(temp, (const uint32_t *)(uintptr_t)(input + 256 * cnt), actSz); in hashcrypt_aes_one_block_unaligned()
533 static status_t hashcrypt_aes_one_block(HASHCRYPT_Type *base, const uint8_t *input, uint8_t *output… in hashcrypt_aes_one_block() argument
548 …if ((0U != ((uint32_t)input & 0x3u)) || (0U != ((uint32_t)output & 0x3u))) /* If data is unaligned… in hashcrypt_aes_one_block()
552 status = hashcrypt_aes_one_block_unaligned(base, input, output, 32752U); in hashcrypt_aes_one_block()
553 input += 32752U; in hashcrypt_aes_one_block()
556 status = hashcrypt_aes_one_block_unaligned(base, input, output, remainingSize); in hashcrypt_aes_one_block()
562 status = hashcrypt_aes_one_block_aligned(base, input, output, 32752U); in hashcrypt_aes_one_block()
563 input += 32752U; in hashcrypt_aes_one_block()
566 status = hashcrypt_aes_one_block_aligned(base, input, output, remainingSize); in hashcrypt_aes_one_block()
576 if ((0U != ((uint32_t)input & 0x3u)) || (0U != ((uint32_t)output & 0x3u))) in hashcrypt_aes_one_block()
578 status = hashcrypt_aes_one_block_unaligned(base, input, output, size); in hashcrypt_aes_one_block()
582 status = hashcrypt_aes_one_block_aligned(base, input, output, size); in hashcrypt_aes_one_block()
903 const uint8_t *input, in HASHCRYPT_SHA() argument
917 status = HASHCRYPT_SHA_Update(base, &hashCtx, input, inputSize); in HASHCRYPT_SHA()
957 status_t HASHCRYPT_SHA_Update(HASHCRYPT_Type *base, hashcrypt_hash_ctx_t *ctx, const uint8_t *input… in HASHCRYPT_SHA_Update() argument
983 (void)hashcrypt_memcpy((&ctxInternal->blk.b[0]) + ctxInternal->blksz, input, inputSize); in HASHCRYPT_SHA_Update()
1005 status = hashcrypt_sha_process_message_data(base, ctxInternal, input, inputSize); in HASHCRYPT_SHA_Update()
1118 const uint8_t *input, in HASHCRYPT_SHA_UpdateNonBlocking() argument
1130 if (0U != ((uintptr_t)input & 0x3U)) in HASHCRYPT_SHA_UpdateNonBlocking()
1149 …(void)hashcrypt_memcpy((&ctxInternal->blk.b[0]), input + SHA_BLOCK_SIZE * ctxInternal->remainingBl… in HASHCRYPT_SHA_UpdateNonBlocking()
1172 base->MEMADDR = HASHCRYPT_MEMADDR_BASE(input); in HASHCRYPT_SHA_UpdateNonBlocking()
1398 const uint8_t *input, in HASHCRYPT_AES_CryptCtr() argument
1443 status = hashcrypt_aes_one_block(base, input, output, size); in HASHCRYPT_AES_CryptCtr()
1454 input += 16; in HASHCRYPT_AES_CryptCtr()
1479 output[i] = input[i] ^ lastEncryptedCounter[i]; in HASHCRYPT_AES_CryptCtr()
1506 const uint8_t *input, in HASHCRYPT_AES_CryptOfb() argument
1559 output[i] = input[i] ^ blockOutput[i]; in HASHCRYPT_AES_CryptOfb()
1563 input += 16; in HASHCRYPT_AES_CryptOfb()
1579 output[i] = input[i] ^ blockOutput[i]; in HASHCRYPT_AES_CryptOfb()