Lines Matching +full:- +full:n

4  *  Copyright (C) 2006-2015, ARM Limited, All Rights Reserved
5 * SPDX-License-Identifier: Apache-2.0
11 * http://www.apache.org/licenses/LICENSE-2.0
51 static int flags = -1; in mbedtls_padlock_has_support()
54 if( flags == -1 ) in mbedtls_padlock_has_support()
56 asm( "movl %%ebx, %0 \n\t" in mbedtls_padlock_has_support()
57 "movl $0xC0000000, %%eax \n\t" in mbedtls_padlock_has_support()
58 "cpuid \n\t" in mbedtls_padlock_has_support()
59 "cmpl $0xC0000001, %%eax \n\t" in mbedtls_padlock_has_support()
60 "movl $0, %%edx \n\t" in mbedtls_padlock_has_support()
61 "jb unsupported \n\t" in mbedtls_padlock_has_support()
62 "movl $0xC0000001, %%eax \n\t" in mbedtls_padlock_has_support()
63 "cpuid \n\t" in mbedtls_padlock_has_support()
64 "unsupported: \n\t" in mbedtls_padlock_has_support()
65 "movl %%edx, %1 \n\t" in mbedtls_padlock_has_support()
66 "movl %2, %%ebx \n\t" in mbedtls_padlock_has_support()
78 * PadLock AES-ECB block en(de)cryption
91 rk = ctx->rk; in mbedtls_padlock_xcryptecb()
96 *ctrl = 0x80 | ctx->nr | ( ( ctx->nr + ( mode^1 ) - 10 ) << 9 ); in mbedtls_padlock_xcryptecb()
98 asm( "pushfl \n\t" in mbedtls_padlock_xcryptecb()
99 "popfl \n\t" in mbedtls_padlock_xcryptecb()
100 "movl %%ebx, %0 \n\t" in mbedtls_padlock_xcryptecb()
101 "movl $1, %%ecx \n\t" in mbedtls_padlock_xcryptecb()
102 "movl %2, %%edx \n\t" in mbedtls_padlock_xcryptecb()
103 "movl %3, %%ebx \n\t" in mbedtls_padlock_xcryptecb()
104 "movl %4, %%esi \n\t" in mbedtls_padlock_xcryptecb()
105 "movl %4, %%edi \n\t" in mbedtls_padlock_xcryptecb()
106 ".byte 0xf3,0x0f,0xa7,0xc8 \n\t" in mbedtls_padlock_xcryptecb()
107 "movl %1, %%ebx \n\t" in mbedtls_padlock_xcryptecb()
118 * PadLock AES-CBC buffer en(de)cryption
138 rk = ctx->rk; in mbedtls_padlock_xcryptcbc()
143 *ctrl = 0x80 | ctx->nr | ( ( ctx->nr + ( mode ^ 1 ) - 10 ) << 9 ); in mbedtls_padlock_xcryptcbc()
147 asm( "pushfl \n\t" in mbedtls_padlock_xcryptcbc()
148 "popfl \n\t" in mbedtls_padlock_xcryptcbc()
149 "movl %%ebx, %0 \n\t" in mbedtls_padlock_xcryptcbc()
150 "movl %2, %%ecx \n\t" in mbedtls_padlock_xcryptcbc()
151 "movl %3, %%edx \n\t" in mbedtls_padlock_xcryptcbc()
152 "movl %4, %%ebx \n\t" in mbedtls_padlock_xcryptcbc()
153 "movl %5, %%esi \n\t" in mbedtls_padlock_xcryptcbc()
154 "movl %6, %%edi \n\t" in mbedtls_padlock_xcryptcbc()
155 "movl %7, %%eax \n\t" in mbedtls_padlock_xcryptcbc()
156 ".byte 0xf3,0x0f,0xa7,0xd0 \n\t" in mbedtls_padlock_xcryptcbc()
157 "movl %1, %%ebx \n\t" in mbedtls_padlock_xcryptcbc()