Lines Matching refs:l
144 size_t l = len; in __gcm_update_aad() local
153 while (l) { in __gcm_update_aad()
156 l < TEE_AES_BLOCK_SIZE) { in __gcm_update_aad()
157 n = MIN(TEE_AES_BLOCK_SIZE - state->buf_pos, l); in __gcm_update_aad()
167 l -= n; in __gcm_update_aad()
171 n = l / TEE_AES_BLOCK_SIZE; in __gcm_update_aad()
176 l -= n * TEE_AES_BLOCK_SIZE; in __gcm_update_aad()
198 size_t l = len; in __gcm_update_payload() local
210 while (l) { in __gcm_update_payload()
211 if (state->buf_pos || l < TEE_AES_BLOCK_SIZE) { in __gcm_update_payload()
212 n = MIN(TEE_AES_BLOCK_SIZE - state->buf_pos, l); in __gcm_update_payload()
237 l -= n; in __gcm_update_payload()
245 n = l / TEE_AES_BLOCK_SIZE; in __gcm_update_payload()
250 l -= n * TEE_AES_BLOCK_SIZE; in __gcm_update_payload()