Lines Matching refs:input
56 static void aes_gcm_dec32(uint8_t *input);
228 static void aes_one_block(AES_Type *base, uint8_t *output, const uint8_t *input) in aes_one_block() argument
254 base->INTEXT[index] = aes_get_word_from_unaligned(input); in aes_one_block()
255 input += sizeof(uint32_t); in aes_one_block()
331 static void aes_set_holding(AES_Type *base, const uint8_t *input) in aes_set_holding() argument
337 base->HOLDING[index] = swap_bytes(aes_get_word_from_unaligned(input)); in aes_set_holding()
338 input += sizeof(uint32_t); in aes_set_holding()
478 const uint8_t *input, in aes_block_mode() argument
546 aes_one_block(base, output, input); in aes_block_mode()
549 input += 16; in aes_block_mode()
557 (void)aes_memcpy(blkTemp, input, size); in aes_block_mode()
682 const uint8_t *input, in AES_CryptCtr() argument
739 aes_one_block(base, output, input); in AES_CryptCtr()
741 input += 16; in AES_CryptCtr()
760 output[i] = input[i] ^ lastEncryptedCounter[i]; in AES_CryptCtr()
784 static void aes_gcm_one_block_input_only(AES_Type *base, const uint8_t *input) in aes_gcm_one_block_input_only() argument
798 base->INTEXT[index] = aes_get_word_from_unaligned(input); in aes_gcm_one_block_input_only()
799 input += sizeof(uint32_t); in aes_gcm_one_block_input_only()
914 static void aes_gcm_incr32(uint8_t *input) in aes_gcm_incr32() argument
917 while (input[i] == (uint8_t)0xFFu) in aes_gcm_incr32()
919 input[i] = (uint8_t)0x00u; in aes_gcm_incr32()
929 input[i] += (uint8_t)1u; in aes_gcm_incr32()
940 static void aes_gcm_dec32(uint8_t *input) in aes_gcm_dec32() argument
943 while (input[i] == (uint8_t)0x00u) in aes_gcm_dec32()
945 input[i] = (uint8_t)0xFFu; in aes_gcm_dec32()
955 input[i] -= (uint8_t)1u; in aes_gcm_dec32()