Searched refs:stream_bytes (Results 1 – 2 of 2) sorted by relevance
340 unsigned stream_bytes = len % AES_BLOCK_BYTES; // bytes which aren't in a full block in esp_aes_process_dma() local341 unsigned block_bytes = len - stream_bytes; // bytes which are in a full block in esp_aes_process_dma()342 unsigned blocks = (block_bytes / AES_BLOCK_BYTES) + ((stream_bytes > 0) ? 1 : 0); in esp_aes_process_dma()349 …assert(stream_bytes == 0 || stream_out != NULL); // stream_out can be NULL if we're processing ful… in esp_aes_process_dma()414 if (stream_bytes > 0) { in esp_aes_process_dma()422 memcpy(s_stream_in, input + block_bytes, stream_bytes); in esp_aes_process_dma()472 if (stream_bytes > 0) { in esp_aes_process_dma()473 memcpy(output + block_bytes, s_stream_out, stream_bytes); in esp_aes_process_dma()505 unsigned stream_bytes = len % AES_BLOCK_BYTES; // bytes which aren't in a full block in esp_aes_process_dma_gcm() local506 unsigned block_bytes = len - stream_bytes; // bytes which are in a full block in esp_aes_process_dma_gcm()[all …]
684 unsigned stream_bytes = aad_len % AES_BLOCK_BYTES; // bytes which aren't in a full block in esp_aes_gcm_crypt_and_tag() local685 unsigned block_bytes = aad_len - stream_bytes; // bytes which are in a full block in esp_aes_gcm_crypt_and_tag()737 if (stream_bytes > 0) { in esp_aes_gcm_crypt_and_tag()738 memcpy(stream_in, aad + block_bytes, stream_bytes); in esp_aes_gcm_crypt_and_tag()749 } else if (stream_bytes > 0) { in esp_aes_gcm_crypt_and_tag()