Lines Matching refs:n

305 void PKA_Memcpy_u32_to_u8(uint8_t dst[], __IO const uint32_t src[], size_t n);
306 void PKA_Memcpy_u8_to_u32(__IO uint32_t dst[], const uint8_t src[], size_t n);
307 void PKA_Memcpy_u32_to_u32(__IO uint32_t dst[], __IO const uint32_t src[], size_t n);
2128 void PKA_Memcpy_u32_to_u8(uint8_t dst[], __IO const uint32_t src[], size_t n) in PKA_Memcpy_u32_to_u8() argument
2136 for (; index_uint32_t < (n / 4UL); index_uint32_t++) in PKA_Memcpy_u32_to_u8()
2140 uint32_t index_uint8_t = n - 4UL - (index_uint32_t * 4UL); in PKA_Memcpy_u32_to_u8()
2148 if ((n % 4UL) == 1UL) in PKA_Memcpy_u32_to_u8()
2152 else if ((n % 4UL) == 2UL) in PKA_Memcpy_u32_to_u8()
2157 else if ((n % 4UL) == 3UL) in PKA_Memcpy_u32_to_u8()
2178 void PKA_Memcpy_u8_to_u32(__IO uint32_t dst[], const uint8_t src[], size_t n) in PKA_Memcpy_u8_to_u32() argument
2186 for (; index < (n / 4UL); index++) in PKA_Memcpy_u8_to_u32()
2189 dst[index] = ((uint32_t)src[(n - (index * 4UL) - 1UL)]) \ in PKA_Memcpy_u8_to_u32()
2190 | ((uint32_t)src[(n - (index * 4UL) - 2UL)] << 8UL) \ in PKA_Memcpy_u8_to_u32()
2191 | ((uint32_t)src[(n - (index * 4UL) - 3UL)] << 16UL) \ in PKA_Memcpy_u8_to_u32()
2192 | ((uint32_t)src[(n - (index * 4UL) - 4UL)] << 24UL); in PKA_Memcpy_u8_to_u32()
2196 if ((n % 4UL) == 1UL) in PKA_Memcpy_u8_to_u32()
2198 dst[index] = (uint32_t)src[(n - (index * 4UL) - 1UL)]; in PKA_Memcpy_u8_to_u32()
2200 else if ((n % 4UL) == 2UL) in PKA_Memcpy_u8_to_u32()
2202 dst[index] = ((uint32_t)src[(n - (index * 4UL) - 1UL)]) \ in PKA_Memcpy_u8_to_u32()
2203 | ((uint32_t)src[(n - (index * 4UL) - 2UL)] << 8UL); in PKA_Memcpy_u8_to_u32()
2205 else if ((n % 4UL) == 3UL) in PKA_Memcpy_u8_to_u32()
2207 dst[index] = ((uint32_t)src[(n - (index * 4UL) - 1UL)]) \ in PKA_Memcpy_u8_to_u32()
2208 | ((uint32_t)src[(n - (index * 4UL) - 2UL)] << 8UL) \ in PKA_Memcpy_u8_to_u32()
2209 | ((uint32_t)src[(n - (index * 4UL) - 3UL)] << 16UL); in PKA_Memcpy_u8_to_u32()
2226 void PKA_Memcpy_u32_to_u32(__IO uint32_t dst[], __IO const uint32_t src[], size_t n) in PKA_Memcpy_u32_to_u32() argument
2235 for (uint32_t index = 0UL; index < n; index++) in PKA_Memcpy_u32_to_u32()