Commit 79dedf4
committed
wolfcrypt/src/aes.c: add
static volatile word32 x_volatile to PreFetchTe() and PreFetchSBox(), to move volatile accesses out of the loop iteration, reclaiming some (but not all) of the performance regression from 299e7bd.1 parent 7efefc7 commit 79dedf4
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1880 | 1880 | | |
1881 | 1881 | | |
1882 | 1882 | | |
1883 | | - | |
| 1883 | + | |
| 1884 | + | |
1884 | 1885 | | |
1885 | 1886 | | |
1886 | 1887 | | |
| |||
1891 | 1892 | | |
1892 | 1893 | | |
1893 | 1894 | | |
| 1895 | + | |
| 1896 | + | |
1894 | 1897 | | |
1895 | 1898 | | |
1896 | 1899 | | |
| |||
1901 | 1904 | | |
1902 | 1905 | | |
1903 | 1906 | | |
1904 | | - | |
| 1907 | + | |
| 1908 | + | |
1905 | 1909 | | |
1906 | 1910 | | |
1907 | 1911 | | |
1908 | 1912 | | |
1909 | 1913 | | |
1910 | 1914 | | |
| 1915 | + | |
| 1916 | + | |
1911 | 1917 | | |
1912 | 1918 | | |
1913 | 1919 | | |
| |||
0 commit comments