Deleted Added
full compact
aesencdec.h (257757) aesencdec.h (281606)
1/*-
2 * Copyright 2013 John-Mark Gurney <jmg@FreeBSD.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
1/*-
2 * Copyright 2013 John-Mark Gurney <jmg@FreeBSD.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
26 * $FreeBSD: head/sys/crypto/aesni/aesencdec.h 257757 2013-11-06 19:14:49Z jmg $
26 * $FreeBSD: head/sys/crypto/aesni/aesencdec.h 281606 2015-04-16 17:42:52Z rodrigc $
27 *
28 */
29
27 *
28 */
29
30#include <crypto/aesni/aesni_os.h>
31
30#include <wmmintrin.h>
31
32static inline void
33aesni_enc8(int rounds, const __m128i *keysched, __m128i a,
34 __m128i b, __m128i c, __m128i d, __m128i e, __m128i f, __m128i g,
35 __m128i h, __m128i out[8])
36{
37 int i;

--- 95 unchanged lines hidden ---
32#include <wmmintrin.h>
33
34static inline void
35aesni_enc8(int rounds, const __m128i *keysched, __m128i a,
36 __m128i b, __m128i c, __m128i d, __m128i e, __m128i f, __m128i g,
37 __m128i h, __m128i out[8])
38{
39 int i;

--- 95 unchanged lines hidden ---