Home
last modified time | relevance | path

Searched refs:cmac (Results 1 – 14 of 14) sorted by relevance

/external/openssl/crypto/modes/
Dccm128.c112 (*block)(ctx->nonce.c,ctx->cmac.c,ctx->key), in CRYPTO_ccm128_aad()
116 ctx->cmac.c[0] ^= (u8)(alen>>8); in CRYPTO_ccm128_aad()
117 ctx->cmac.c[1] ^= (u8)alen; in CRYPTO_ccm128_aad()
121 ctx->cmac.c[0] ^= 0xFF; in CRYPTO_ccm128_aad()
122 ctx->cmac.c[1] ^= 0xFF; in CRYPTO_ccm128_aad()
123 ctx->cmac.c[2] ^= (u8)(alen>>(56%(sizeof(alen)*8))); in CRYPTO_ccm128_aad()
124 ctx->cmac.c[3] ^= (u8)(alen>>(48%(sizeof(alen)*8))); in CRYPTO_ccm128_aad()
125 ctx->cmac.c[4] ^= (u8)(alen>>(40%(sizeof(alen)*8))); in CRYPTO_ccm128_aad()
126 ctx->cmac.c[5] ^= (u8)(alen>>(32%(sizeof(alen)*8))); in CRYPTO_ccm128_aad()
127 ctx->cmac.c[6] ^= (u8)(alen>>24); in CRYPTO_ccm128_aad()
[all …]
Dmodes_lcl.h126 union { u64 u[2]; u8 c[16]; } nonce, cmac; member
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/
Deap_fast.c745 u8 cmk[EAP_FAST_CMK_LEN], cmac[SHA1_MAC_LEN]; in eap_fast_process_crypto_binding() local
756 os_memcpy(cmac, _bind->compound_mac, sizeof(cmac)); in eap_fast_process_crypto_binding()
757 os_memset(_bind->compound_mac, 0, sizeof(cmac)); in eap_fast_process_crypto_binding()
762 res = os_memcmp(cmac, _bind->compound_mac, sizeof(cmac)); in eap_fast_process_crypto_binding()
764 cmac, sizeof(cmac)); in eap_fast_process_crypto_binding()
766 _bind->compound_mac, sizeof(cmac)); in eap_fast_process_crypto_binding()
769 os_memcpy(_bind->compound_mac, cmac, sizeof(cmac)); in eap_fast_process_crypto_binding()
/external/wpa_supplicant_8/src/eap_peer/
Deap_fast.c740 u8 cmk[EAP_FAST_CMK_LEN], cmac[SHA1_MAC_LEN]; in eap_fast_process_crypto_binding() local
751 os_memcpy(cmac, _bind->compound_mac, sizeof(cmac)); in eap_fast_process_crypto_binding()
752 os_memset(_bind->compound_mac, 0, sizeof(cmac)); in eap_fast_process_crypto_binding()
757 res = os_memcmp(cmac, _bind->compound_mac, sizeof(cmac)); in eap_fast_process_crypto_binding()
759 cmac, sizeof(cmac)); in eap_fast_process_crypto_binding()
761 _bind->compound_mac, sizeof(cmac)); in eap_fast_process_crypto_binding()
764 os_memcpy(_bind->compound_mac, cmac, sizeof(cmac)); in eap_fast_process_crypto_binding()
/external/openssl/crypto/aes/asm/
Daesni-x86.pl582 { my $cmac=$inout1;
596 &movdqu ($cmac,&QWP(0,$rounds)); # load cmac
629 &xorps ($cmac,$rndkey0); # cmac^=inp
635 &aesenc ($cmac,$rndkey1);
639 &aesenc ($cmac,$rndkey0);
643 &aesenc ($cmac,$rndkey1);
646 &aesenclast ($cmac,$rndkey0);
659 &movups (&QWP(0,$out),$cmac);
675 &movdqu ($cmac,&QWP(0,$rounds)); # load cmac
725 &xorps ($cmac,$in0); # cmac^=out
[all …]
Daesni-x86_64.pl822 my $cmac="%r9"; # 6th argument
849 movdqu ($cmac),$inout1
892 movups $inout1,($cmac)
924 movdqu ($cmac),$inout1
985 movups $inout1,($cmac)
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/
Deap_fast.c1175 u8 cmac[SHA1_MAC_LEN]; in eap_fast_validate_crypto_binding() local
1207 os_memcpy(cmac, b->compound_mac, sizeof(cmac)); in eap_fast_validate_crypto_binding()
1208 os_memset(b->compound_mac, 0, sizeof(cmac)); in eap_fast_validate_crypto_binding()
1214 if (os_memcmp(cmac, b->compound_mac, sizeof(cmac)) != 0) { in eap_fast_validate_crypto_binding()
1217 b->compound_mac, sizeof(cmac)); in eap_fast_validate_crypto_binding()
/external/wpa_supplicant_8/src/eap_server/
Deap_server_fast.c1174 u8 cmac[SHA1_MAC_LEN]; in eap_fast_validate_crypto_binding() local
1206 os_memcpy(cmac, b->compound_mac, sizeof(cmac)); in eap_fast_validate_crypto_binding()
1207 os_memset(b->compound_mac, 0, sizeof(cmac)); in eap_fast_validate_crypto_binding()
1213 if (os_memcmp(cmac, b->compound_mac, sizeof(cmac)) != 0) { in eap_fast_validate_crypto_binding()
1216 b->compound_mac, sizeof(cmac)); in eap_fast_validate_crypto_binding()
/external/openssl/include/openssl/
Dmodes.h24 const unsigned char ivec[16],unsigned char cmac[16]);
/external/openssl/
DCrypto.mk198 crypto/cmac/cm_ameth.c \
199 crypto/cmac/cm_pmeth.c \
200 crypto/cmac/cmac.c \
Dopenssl.config93 crypto/cmac/Makefile \
/external/openssl/crypto/objects/
Dobj_mac.num894 cmac 894
Dobjects.txt1286 : CMAC : cmac
/external/openssl/crypto/evp/
De_aes.c220 unsigned char cmac[16]);
227 unsigned char cmac[16]);