/third_party/node/deps/openssl/openssl/crypto/modes/ |
H A D | ccm128.c | 78 (*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 D | ccm128.c | 78 (*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 D | Makefile | 14 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 D | cmac-aes256.c | 21 #include <openssl/cmac.h>
|
/third_party/mbedtls/library/ |
H A D | psa_crypto_mac.c | 184 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 D | macsignature.h | 23 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 D | macsignature.h | 23 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 D | mod.rs | 5 pub use self::cmac::*; 41 mod cmac; modules
|
/third_party/node/deps/openssl/openssl/providers/implementations/signature/ |
H A D | mac_legacy_sig.c | 96 MAC_NEWCTX(cmac, "CMAC") 244 MAC_SETTABLE_CTX_PARAMS(cmac, "CMAC") 267 MAC_SIGNATURE_FUNCTIONS(cmac)
|
/third_party/openssl/providers/implementations/signature/ |
H A D | mac_legacy_sig.c | 96 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 D | mac_legacy_kmgmt.c | 64 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 D | mac_legacy_kmgmt.c | 64 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 D | eap_fast.c | 760 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 D | eap_fast.c | 780 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 D | eap_server_fast.c | 1184 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 D | eap_server_fast.c | 1198 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 D | crypto_builtin_composites.h | 27 #include "mbedtls/cmac.h" 65 mbedtls_cipher_context_t MBEDTLS_PRIVATE(cmac);
|
/third_party/node/deps/openssl/openssl/crypto/aes/asm/ |
H A D | aesni-x86.pl | 657 # 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 D | aesni-x86.pl | 657 # 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 D | cmac_prov.c | 20 #include <openssl/cmac.h>
|
/third_party/openssl/providers/implementations/macs/ |
H A D | cmac_prov.c | 20 #include <openssl/cmac.h>
|
/third_party/node/deps/openssl/openssl/include/crypto/ |
H A D | aes_platform.h | 210 unsigned char cmac[16]); 217 unsigned char cmac[16]);
|
H A D | modes.h | 155 } nonce, cmac; member
|
/third_party/openssl/include/crypto/ |
H A D | aes_platform.h | 210 unsigned char cmac[16]); 217 unsigned char cmac[16]);
|
/third_party/node/deps/openssl/openssl/crypto/cmac/ |
H A D | cmac.c | 20 #include <openssl/cmac.h>
|