Home
last modified time | relevance | path

Searched refs:cmac (Results 1 - 25 of 46) sorted by relevance

12

/third_party/node/deps/openssl/openssl/crypto/modes/
H A Dccm128.c78 (*block) (ctx->nonce.c, ctx->cmac.c, ctx->key), ctx->blocks++; in CRYPTO_ccm128_aad()
81 ctx->cmac.c[0] ^= (u8)(alen >> 8); in CRYPTO_ccm128_aad()
82 ctx->cmac.c[1] ^= (u8)alen; in CRYPTO_ccm128_aad()
86 ctx->cmac.c[0] ^= 0xFF; in CRYPTO_ccm128_aad()
87 ctx->cmac.c[1] ^= 0xFF; in CRYPTO_ccm128_aad()
88 ctx->cmac.c[2] ^= (u8)(alen >> (56 % (sizeof(alen) * 8))); in CRYPTO_ccm128_aad()
89 ctx->cmac.c[3] ^= (u8)(alen >> (48 % (sizeof(alen) * 8))); in CRYPTO_ccm128_aad()
90 ctx->cmac.c[4] ^= (u8)(alen >> (40 % (sizeof(alen) * 8))); in CRYPTO_ccm128_aad()
91 ctx->cmac.c[5] ^= (u8)(alen >> (32 % (sizeof(alen) * 8))); in CRYPTO_ccm128_aad()
92 ctx->cmac in CRYPTO_ccm128_aad()
[all...]
/third_party/openssl/crypto/modes/
H A Dccm128.c78 (*block) (ctx->nonce.c, ctx->cmac.c, ctx->key), ctx->blocks++; in CRYPTO_ccm128_aad()
81 ctx->cmac.c[0] ^= (u8)(alen >> 8); in CRYPTO_ccm128_aad()
82 ctx->cmac.c[1] ^= (u8)alen; in CRYPTO_ccm128_aad()
86 ctx->cmac.c[0] ^= 0xFF; in CRYPTO_ccm128_aad()
87 ctx->cmac.c[1] ^= 0xFF; in CRYPTO_ccm128_aad()
88 ctx->cmac.c[2] ^= (u8)(alen >> (56 % (sizeof(alen) * 8))); in CRYPTO_ccm128_aad()
89 ctx->cmac.c[3] ^= (u8)(alen >> (48 % (sizeof(alen) * 8))); in CRYPTO_ccm128_aad()
90 ctx->cmac.c[4] ^= (u8)(alen >> (40 % (sizeof(alen) * 8))); in CRYPTO_ccm128_aad()
91 ctx->cmac.c[5] ^= (u8)(alen >> (32 % (sizeof(alen) * 8))); in CRYPTO_ccm128_aad()
92 ctx->cmac in CRYPTO_ccm128_aad()
[all...]
/third_party/openssl/demos/mac/
H A DMakefile14 all: gmac hmac-sha512 cmac-aes256 poly1305
18 cmac-aes256: cmac-aes256.o
21 gmac hmac-sha512 cmac-aes256 poly1305:
25 $(RM) gmac hmac-sha512 cmac-aes256 poly1305 *.o
H A Dcmac-aes256.c21 #include <openssl/cmac.h>
/third_party/mbedtls/library/
H A Dpsa_crypto_mac.c184 ret = mbedtls_cipher_setup(&operation->ctx.cmac, cipher_info); in cmac_setup()
189 ret = mbedtls_cipher_cmac_starts(&operation->ctx.cmac, in cmac_setup()
212 mbedtls_cipher_init(&operation->ctx.cmac); in mac_init()
244 mbedtls_cipher_free(&operation->ctx.cmac); in mbedtls_psa_mac_abort()
353 mbedtls_cipher_cmac_update(&operation->ctx.cmac, in mbedtls_psa_mac_update()
379 int ret = mbedtls_cipher_cmac_finish(&operation->ctx.cmac, tmp); in psa_mac_finish_internal()
/third_party/node/deps/openssl/openssl/providers/implementations/include/prov/
H A Dmacsignature.h23 int cmac; member
28 MAC_KEY *ossl_mac_key_new(OSSL_LIB_CTX *libctx, int cmac);
/third_party/openssl/providers/implementations/include/prov/
H A Dmacsignature.h23 int cmac; member
28 MAC_KEY *ossl_mac_key_new(OSSL_LIB_CTX *libctx, int cmac);
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/
H A Dmod.rs5 pub use self::cmac::*;
41 mod cmac; modules
/third_party/node/deps/openssl/openssl/providers/implementations/signature/
H A Dmac_legacy_sig.c96 MAC_NEWCTX(cmac, "CMAC")
244 MAC_SETTABLE_CTX_PARAMS(cmac, "CMAC")
267 MAC_SIGNATURE_FUNCTIONS(cmac)
/third_party/openssl/providers/implementations/signature/
H A Dmac_legacy_sig.c96 MAC_NEWCTX(cmac, "CMAC")
244 MAC_SETTABLE_CTX_PARAMS(cmac, "CMAC")
267 MAC_SIGNATURE_FUNCTIONS(cmac)
/third_party/node/deps/openssl/openssl/providers/implementations/keymgmt/
H A Dmac_legacy_kmgmt.c64 MAC_KEY *ossl_mac_key_new(OSSL_LIB_CTX *libctx, int cmac) in ossl_mac_key_new() argument
82 mackey->cmac = cmac; in ossl_mac_key_new()
219 if (key->cmac && !ossl_prov_cipher_load_from_params(&key->cipher, params, in mac_key_fromdata()
/third_party/openssl/providers/implementations/keymgmt/
H A Dmac_legacy_kmgmt.c64 MAC_KEY *ossl_mac_key_new(OSSL_LIB_CTX *libctx, int cmac) in ossl_mac_key_new() argument
82 mackey->cmac = cmac; in ossl_mac_key_new()
219 if (key->cmac && !ossl_prov_cipher_load_from_params(&key->cipher, params, in mac_key_fromdata()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/
H A Deap_fast.c760 u8 cmk[EAP_FAST_CMK_LEN], cmac[SHA1_MAC_LEN]; in eap_fast_process_crypto_binding() local
771 os_memcpy(cmac, _bind->compound_mac, sizeof(cmac)); in eap_fast_process_crypto_binding()
772 os_memset(_bind->compound_mac, 0, sizeof(cmac)); in eap_fast_process_crypto_binding()
777 res = os_memcmp_const(cmac, _bind->compound_mac, sizeof(cmac)); in eap_fast_process_crypto_binding()
779 cmac, sizeof(cmac)); in eap_fast_process_crypto_binding()
781 _bind->compound_mac, sizeof(cmac)); in eap_fast_process_crypto_binding()
784 os_memcpy(_bind->compound_mac, cmac, sizeo in eap_fast_process_crypto_binding()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/
H A Deap_fast.c780 u8 cmk[EAP_FAST_CMK_LEN], cmac[SHA1_MAC_LEN]; in eap_fast_process_crypto_binding() local
791 os_memcpy(cmac, _bind->compound_mac, sizeof(cmac)); in eap_fast_process_crypto_binding()
792 os_memset(_bind->compound_mac, 0, sizeof(cmac)); in eap_fast_process_crypto_binding()
797 res = os_memcmp_const(cmac, _bind->compound_mac, sizeof(cmac)); in eap_fast_process_crypto_binding()
799 cmac, sizeof(cmac)); in eap_fast_process_crypto_binding()
801 _bind->compound_mac, sizeof(cmac)); in eap_fast_process_crypto_binding()
804 os_memcpy(_bind->compound_mac, cmac, sizeo in eap_fast_process_crypto_binding()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/
H A Deap_server_fast.c1184 u8 cmac[SHA1_MAC_LEN]; in eap_fast_validate_crypto_binding() local
1216 os_memcpy(cmac, b->compound_mac, sizeof(cmac)); in eap_fast_validate_crypto_binding()
1217 os_memset(b->compound_mac, 0, sizeof(cmac)); in eap_fast_validate_crypto_binding()
1223 if (os_memcmp_const(cmac, b->compound_mac, sizeof(cmac)) != 0) { in eap_fast_validate_crypto_binding()
1226 b->compound_mac, sizeof(cmac)); in eap_fast_validate_crypto_binding()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/
H A Deap_server_fast.c1198 u8 cmac[SHA1_MAC_LEN]; in eap_fast_validate_crypto_binding() local
1230 os_memcpy(cmac, b->compound_mac, sizeof(cmac)); in eap_fast_validate_crypto_binding()
1231 os_memset(b->compound_mac, 0, sizeof(cmac)); in eap_fast_validate_crypto_binding()
1237 if (os_memcmp_const(cmac, b->compound_mac, sizeof(cmac)) != 0) { in eap_fast_validate_crypto_binding()
1240 b->compound_mac, sizeof(cmac)); in eap_fast_validate_crypto_binding()
/third_party/mbedtls/include/psa/
H A Dcrypto_builtin_composites.h27 #include "mbedtls/cmac.h"
65 mbedtls_cipher_context_t MBEDTLS_PRIVATE(cmac);
/third_party/node/deps/openssl/openssl/crypto/aes/asm/
H A Daesni-x86.pl657 # const char *ivec,char *cmac);
663 { my $cmac=$inout1;
677 &movdqu ($cmac,&QWP(0,$rounds)); # load cmac
711 &xorps ($cmac,$rndkey0); # cmac^=inp
716 &aesenc ($cmac,$rndkey1);
720 &aesenc ($cmac,$rndkey0);
724 &aesenc ($cmac,$rndkey1);
728 &aesenclast ($cmac,
[all...]
/third_party/openssl/crypto/aes/asm/
H A Daesni-x86.pl657 # const char *ivec,char *cmac);
663 { my $cmac=$inout1;
677 &movdqu ($cmac,&QWP(0,$rounds)); # load cmac
711 &xorps ($cmac,$rndkey0); # cmac^=inp
716 &aesenc ($cmac,$rndkey1);
720 &aesenc ($cmac,$rndkey0);
724 &aesenc ($cmac,$rndkey1);
728 &aesenclast ($cmac,
[all...]
/third_party/node/deps/openssl/openssl/providers/implementations/macs/
H A Dcmac_prov.c20 #include <openssl/cmac.h>
/third_party/openssl/providers/implementations/macs/
H A Dcmac_prov.c20 #include <openssl/cmac.h>
/third_party/node/deps/openssl/openssl/include/crypto/
H A Daes_platform.h210 unsigned char cmac[16]);
217 unsigned char cmac[16]);
H A Dmodes.h155 } nonce, cmac; member
/third_party/openssl/include/crypto/
H A Daes_platform.h210 unsigned char cmac[16]);
217 unsigned char cmac[16]);
/third_party/node/deps/openssl/openssl/crypto/cmac/
H A Dcmac.c20 #include <openssl/cmac.h>

Completed in 18 milliseconds

12