Lines Matching refs:output
318 static status_t hashcrypt_get_data(HASHCRYPT_Type *base, uint8_t *output, size_t outputSize) in hashcrypt_get_data() argument
345 (void)hashcrypt_memcpy(output, (const uint8_t *)(uintptr_t)digest, outputSize); in hashcrypt_get_data()
424 uint8_t *output, in hashcrypt_aes_one_block_aligned() argument
442 ((uint32_t *)(uintptr_t)output + idx)[i] = swap_bytes(base->DIGEST0[i]); in hashcrypt_aes_one_block_aligned()
469 uint8_t *output, in hashcrypt_aes_one_block_unaligned() argument
503 (void)hashcrypt_memcpy(output + 256 * cnt, (const uint8_t *)(uintptr_t)temp, actSzOrig); in hashcrypt_aes_one_block_unaligned()
525 static status_t hashcrypt_aes_one_block(HASHCRYPT_Type *base, const uint8_t *input, uint8_t *output… in hashcrypt_aes_one_block() argument
540 …if ((0U != ((uint32_t)input & 0x3u)) || (0U != ((uint32_t)output & 0x3u))) /* If data is unaligned… in hashcrypt_aes_one_block()
544 status = hashcrypt_aes_one_block_unaligned(base, input, output, 32752U); in hashcrypt_aes_one_block()
546 output += 32752U; in hashcrypt_aes_one_block()
548 status = hashcrypt_aes_one_block_unaligned(base, input, output, remainingSize); in hashcrypt_aes_one_block()
554 status = hashcrypt_aes_one_block_aligned(base, input, output, 32752U); in hashcrypt_aes_one_block()
556 output += 32752U; in hashcrypt_aes_one_block()
558 status = hashcrypt_aes_one_block_aligned(base, input, output, remainingSize); in hashcrypt_aes_one_block()
568 if ((0U != ((uint32_t)input & 0x3u)) || (0U != ((uint32_t)output & 0x3u))) in hashcrypt_aes_one_block()
570 status = hashcrypt_aes_one_block_unaligned(base, input, output, size); in hashcrypt_aes_one_block()
574 status = hashcrypt_aes_one_block_aligned(base, input, output, size); in hashcrypt_aes_one_block()
922 uint8_t *output, in HASHCRYPT_SHA() argument
940 status = HASHCRYPT_SHA_Finish(base, &hashCtx, output, outputSize); in HASHCRYPT_SHA()
1033 status_t HASHCRYPT_SHA_Finish(HASHCRYPT_Type *base, hashcrypt_hash_ctx_t *ctx, uint8_t *output, siz… in HASHCRYPT_SHA_Finish() argument
1043 if (output == NULL) in HASHCRYPT_SHA_Finish()
1102 status = hashcrypt_get_data(base, output, algOutSize); in HASHCRYPT_SHA_Finish()
1424 uint8_t *output, in HASHCRYPT_AES_CryptCtr() argument
1470 status = hashcrypt_aes_one_block(base, input, output, size); in HASHCRYPT_AES_CryptCtr()
1482 output += 16; in HASHCRYPT_AES_CryptCtr()
1506 output[i] = input[i] ^ lastEncryptedCounter[i]; in HASHCRYPT_AES_CryptCtr()
1534 uint8_t *output, in HASHCRYPT_AES_CryptOfb() argument
1588 output[i] = input[i] ^ blockOutput[i]; in HASHCRYPT_AES_CryptOfb()
1591 output += 16; in HASHCRYPT_AES_CryptOfb()
1608 output[i] = input[i] ^ blockOutput[i]; in HASHCRYPT_AES_CryptOfb()