e_aes.c (269682) | e_aes.c (273144) |
---|---|
1/* ==================================================================== 2 * Copyright (c) 2001-2011 The OpenSSL Project. All rights reserved. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 8 * 1. Redistributions of source code must retain the above copyright --- 152 unchanged lines hidden (view full) --- 161 defined(__INTEL__) ) 162 163extern unsigned int OPENSSL_ia32cap_P[2]; 164 165#ifdef VPAES_ASM 166#define VPAES_CAPABLE (OPENSSL_ia32cap_P[1]&(1<<(41-32))) 167#endif 168#ifdef BSAES_ASM | 1/* ==================================================================== 2 * Copyright (c) 2001-2011 The OpenSSL Project. All rights reserved. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 8 * 1. Redistributions of source code must retain the above copyright --- 152 unchanged lines hidden (view full) --- 161 defined(__INTEL__) ) 162 163extern unsigned int OPENSSL_ia32cap_P[2]; 164 165#ifdef VPAES_ASM 166#define VPAES_CAPABLE (OPENSSL_ia32cap_P[1]&(1<<(41-32))) 167#endif 168#ifdef BSAES_ASM |
169#define BSAES_CAPABLE VPAES_CAPABLE | 169#define BSAES_CAPABLE (OPENSSL_ia32cap_P[1]&(1<<(41-32))) |
170#endif 171/* 172 * AES-NI section 173 */ 174#define AESNI_CAPABLE (OPENSSL_ia32cap_P[1]&(1<<(57-32))) 175 176int aesni_set_encrypt_key(const unsigned char *userKey, int bits, 177 AES_KEY *key); --- 1198 unchanged lines hidden --- | 170#endif 171/* 172 * AES-NI section 173 */ 174#define AESNI_CAPABLE (OPENSSL_ia32cap_P[1]&(1<<(57-32))) 175 176int aesni_set_encrypt_key(const unsigned char *userKey, int bits, 177 AES_KEY *key); --- 1198 unchanged lines hidden --- |