Lines Matching refs:aadLength

644                          operation->aadLength,  in AESCCMLPF3_processOneStepCBCMACPolling()
649 if (operation->aadLength > 0U) in AESCCMLPF3_processOneStepCBCMACPolling()
651 aadBytesRemaining = operation->aadLength; in AESCCMLPF3_processOneStepCBCMACPolling()
654 …maining -= AESCCMLPF3_processB1withAAD(operation->aad, operation->aadLength, operation->aadLength); in AESCCMLPF3_processOneStepCBCMACPolling()
663 AESCMACLPF3_processBlocks(&operation->aad[operation->aadLength - aadBytesRemaining], in AESCCMLPF3_processOneStepCBCMACPolling()
671 … AESCCMLPF3_processCBCMACFinalBlock(&operation->aad[operation->aadLength - aadBytesRemaining], in AESCCMLPF3_processOneStepCBCMACPolling()
817 DebugP_assert((operation->aad && (operation->aadLength > 0U)) || in AESCCMLPF3_oneStepOperation()
821 DebugP_assert(operation->aadLength <= B1_AAD_LENGTH_SMALL_LIMIT) in AESCCMLPF3_oneStepOperation()
842 if ((operation->aadLength + operation->inputLength) == 0U) in AESCCMLPF3_oneStepOperation()
904 object->totalAADLength = operation->aadLength; in AESCCMLPF3_oneStepOperation()
921 if ((operation->aadLength > 0U) && (status == AESCCM_STATUS_SUCCESS)) in AESCCMLPF3_oneStepOperation()
928 status = AESCCMLPF3_processSegmentedCBCMAC(object, operation->aadLength, 0, direction); in AESCCMLPF3_oneStepOperation()
1115 int_fast16_t AESCCM_setLengths(AESCCM_Handle handle, size_t aadLength, size_t plaintextLength, size… in AESCCM_setLengths() argument
1134 if ((aadLength == 0U) && (plaintextLength == 0U)) in AESCCM_setLengths()
1139 object->totalAADLength = aadLength; in AESCCM_setLengths()
1567 … calcAADLen = object->aadBytesProcessed + (size_t)object->bufferedAADLength + operation->aadLength; in AESCCM_addAAD()
1572 if ((operation->aadLength == 0U) || in AESCCM_addAAD()
1573 …((AES_NON_BLOCK_SIZE_MULTIPLE_LENGTH(operation->aadLength) > 0U) && (calcAADLen != object->totalAA… in AESCCM_addAAD()
1618 status = AESCCMLPF3_processSegmentedCBCMAC(object, operation->aadLength, 0, direction); in AESCCM_addAAD()
2386 DebugP_assert((operation->aad && (operation->aadLength > 0U)) || in AESCCMLPF3HSM_oneStepOperation()
2390 DebugP_assert(operation->aadLength <= B1_AAD_LENGTH_SMALL_LIMIT); in AESCCMLPF3HSM_oneStepOperation()
2407 if ((operation->aadLength + operation->inputLength) == 0U) in AESCCMLPF3HSM_oneStepOperation()
2433 object->aadLength = object->totalAADLength; in AESCCMLPF3HSM_oneStepOperation()
2434 object->totalAADLength = operation->aadLength; in AESCCMLPF3HSM_oneStepOperation()
2494 object->aadLength = 0U; in AESCCMLPF3HSM_setupSegmentedOperation()
2585 object->totalAADLengthRemaining -= object->aadLength; in AESCCMLPF3HSM_SegmentedPostProcessing()
2586 object->aadLength = 0U; in AESCCMLPF3HSM_SegmentedPostProcessing()
2595 object->totalAADLengthRemaining -= object->aadLength; in AESCCMLPF3HSM_SegmentedPostProcessing()
2614 object->totalAADLengthRemaining -= object->aadLength; in AESCCMLPF3HSM_SegmentedPostProcessing()
2688 size_t calcAADLen = aadBytesProcessed + operation->aadLength; in AESCCMLPF3HSM_addAAD()
2717 uint8_t aadBytesToProcess = operation->aadLength; in AESCCMLPF3HSM_addAAD()
2730 object->aadLength = aadBytesToProcess; in AESCCMLPF3HSM_addAAD()
2816 object->aadLength = object->totalAADLengthRemaining; in AESCCMLPF3HSM_addData()