/external/openssl/crypto/modes/ |
ccm128.c | 112 (*block)(ctx->nonce.c,ctx->cmac.c,ctx->key), 116 ctx->cmac.c[0] ^= (u8)(alen>>8); 117 ctx->cmac.c[1] ^= (u8)alen; 121 ctx->cmac.c[0] ^= 0xFF; 122 ctx->cmac.c[1] ^= 0xFF; 123 ctx->cmac.c[2] ^= (u8)(alen>>(56%(sizeof(alen)*8))); 124 ctx->cmac.c[3] ^= (u8)(alen>>(48%(sizeof(alen)*8))); 125 ctx->cmac.c[4] ^= (u8)(alen>>(40%(sizeof(alen)*8))); 126 ctx->cmac.c[5] ^= (u8)(alen>>(32%(sizeof(alen)*8))); 127 ctx->cmac.c[6] ^= (u8)(alen>>24) [all...] |
modes_lcl.h | 126 union { u64 u[2]; u8 c[16]; } nonce, cmac; member in struct:ccm128_context
|
/external/openssl/crypto/cmac/ |
cm_ameth.c | 56 #include <openssl/cmac.h> 59 /* CMAC "ASN1" method. This is just here to indicate the 60 * maximum CMAC output length and to free up a CMAC 82 "CMAC", 83 "OpenSSL CMAC method",
|
cm_pmeth.c | 58 #include <openssl/cmac.h>
|
cmac.c | 1 /* crypto/cmac/cmac.c */ 58 #include <openssl/cmac.h> 305 * CMAC to continue after calling CMAC_Final().
|
/external/openssl/crypto/aes/asm/ |
aesni-x86.pl | 580 # const char *ivec,char *cmac); 583 # does not update *ivec! Nor does it finalize CMAC value 586 { my $cmac=$inout1; 600 &movdqu ($cmac,&QWP(0,$rounds)); # load cmac 633 &xorps ($cmac,$rndkey0); # cmac^=inp 639 &aesenc ($cmac,$rndkey1); 643 &aesenc ($cmac,$rndkey0); 647 &aesenc ($cmac,$rndkey1) [all...] |
aesni-x86_64.pl | 820 # const char *ivec,char *cmac); 823 # does not update *ivec! Nor does it finalize CMAC value 827 my $cmac="%r9"; # 6th argument 854 movdqu ($cmac),$inout1 869 xorps $rndkey0,$inout1 # cmac^=inp 897 movups $inout1,($cmac) 929 movdqu ($cmac),$inout1 962 xorps $in0,$inout1 # cmac^=out 986 #xorps $in0,$inout1 # cmac^=out 990 movups $inout1,($cmac) [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/ |
eap_fast.c | 745 u8 cmk[EAP_FAST_CMK_LEN], cmac[SHA1_MAC_LEN]; local 756 os_memcpy(cmac, _bind->compound_mac, sizeof(cmac)); 757 os_memset(_bind->compound_mac, 0, sizeof(cmac)); 762 res = os_memcmp(cmac, _bind->compound_mac, sizeof(cmac)); 764 cmac, sizeof(cmac)); 766 _bind->compound_mac, sizeof(cmac)); 769 os_memcpy(_bind->compound_mac, cmac, sizeof(cmac)) [all...] |
/external/wpa_supplicant_8/src/eap_peer/ |
eap_fast.c | 740 u8 cmk[EAP_FAST_CMK_LEN], cmac[SHA1_MAC_LEN]; local 751 os_memcpy(cmac, _bind->compound_mac, sizeof(cmac)); 752 os_memset(_bind->compound_mac, 0, sizeof(cmac)); 757 res = os_memcmp(cmac, _bind->compound_mac, sizeof(cmac)); 759 cmac, sizeof(cmac)); 761 _bind->compound_mac, sizeof(cmac)); 764 os_memcpy(_bind->compound_mac, cmac, sizeof(cmac)) [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/ |
eap_fast.c | 1175 u8 cmac[SHA1_MAC_LEN]; local 1207 os_memcpy(cmac, b->compound_mac, sizeof(cmac)); 1208 os_memset(b->compound_mac, 0, sizeof(cmac)); 1214 if (os_memcmp(cmac, b->compound_mac, sizeof(cmac)) != 0) { 1217 b->compound_mac, sizeof(cmac)); [all...] |
/external/wpa_supplicant_8/src/eap_server/ |
eap_server_fast.c | 1174 u8 cmac[SHA1_MAC_LEN]; local 1206 os_memcpy(cmac, b->compound_mac, sizeof(cmac)); 1207 os_memset(b->compound_mac, 0, sizeof(cmac)); 1213 if (os_memcmp(cmac, b->compound_mac, sizeof(cmac)) != 0) { 1216 b->compound_mac, sizeof(cmac)); [all...] |
/external/openssl/include/openssl/ |
modes.h | 24 const unsigned char ivec[16],unsigned char cmac[16]);
|
/external/openssl/ |
Crypto.mk | 198 crypto/cmac/cm_ameth.c \ 199 crypto/cmac/cm_pmeth.c \ 200 crypto/cmac/cmac.c \
|
/external/openssl/crypto/evp/ |
e_aes.c | 220 unsigned char cmac[16]); 227 unsigned char cmac[16]); [all...] |
/external/wpa_supplicant_8/src/crypto/ |
crypto_openssl.c | 20 #include <openssl/cmac.h>
|