| /freebsd-14.2/crypto/openssl/crypto/modes/ |
| H A D | ccm128.c | 86 ctx->cmac.c[0] ^= 0xFF; in CRYPTO_ccm128_aad() 87 ctx->cmac.c[1] ^= 0xFF; in CRYPTO_ccm128_aad() 98 ctx->cmac.c[0] ^= 0xFF; in CRYPTO_ccm128_aad() 99 ctx->cmac.c[1] ^= 0xFE; in CRYPTO_ccm128_aad() 110 (*block) (ctx->cmac.c, ctx->cmac.c, ctx->key), ctx->blocks++; in CRYPTO_ccm128_aad() 184 (*block) (ctx->cmac.c, ctx->cmac.c, key); in CRYPTO_ccm128_encrypt() 203 (*block) (ctx->cmac.c, ctx->cmac.c, key); in CRYPTO_ccm128_encrypt() 270 (*block) (ctx->cmac.c, ctx->cmac.c, key); in CRYPTO_ccm128_decrypt() 281 (*block) (ctx->cmac.c, ctx->cmac.c, key); in CRYPTO_ccm128_decrypt() 356 (*block) (ctx->cmac.c, ctx->cmac.c, key); in CRYPTO_ccm128_encrypt_ccm64() [all …]
|
| /freebsd-14.2/contrib/ntp/sntp/tests/ |
| H A D | crypto.c | 106 struct key cmac; in test_MakeCMac() local 108 cmac.next = NULL; in test_MakeCMac() 109 cmac.key_id = 30; in test_MakeCMac() 110 cmac.key_len = CMAC_LENGTH; in test_MakeCMac() 111 memcpy(&cmac.key_seq, "aes-128-cmac-seq", cmac.key_len); in test_MakeCMac() 198 struct key cmac; in test_VerifyCMAC() local 200 cmac.next = NULL; in test_VerifyCMAC() 201 cmac.key_id = 0; in test_VerifyCMAC() 203 memcpy(&cmac.key_seq, "aes-128-cmac-key", cmac.key_len); in test_VerifyCMAC() 206 VerifyOpenSSLCMAC(&cmac); in test_VerifyCMAC() [all …]
|
| /freebsd-14.2/crypto/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
|
| /freebsd-14.2/sys/dev/cxgb/common/ |
| H A D | cxgb_xgmac.c | 38 static inline int macidx(const struct cmac *mac) in macidx() 65 static void xaui_serdes_reset(struct cmac *mac) in xaui_serdes_reset() 95 void t3b_pcs_reset(struct cmac *mac) in t3b_pcs_reset() 106 void t3c_pcs_force_los(struct cmac *mac) in t3c_pcs_force_los() 139 int t3_mac_init(struct cmac *mac) in t3_mac_init() 365 void t3_mac_disable_exact_filters(struct cmac *mac) in t3_mac_disable_exact_filters() 376 void t3_mac_enable_exact_filters(struct cmac *mac) in t3_mac_enable_exact_filters() 410 struct cmac *mac; 646 int t3_mac_enable(struct cmac *mac, int which) in t3_mac_enable() 698 int t3_mac_disable(struct cmac *mac, int which) in t3_mac_disable() [all …]
|
| H A D | cxgb_common.h | 473 struct cmac { struct 752 int t3_mac_init(struct cmac *mac); 753 void t3b_pcs_reset(struct cmac *mac); 754 void t3c_pcs_force_los(struct cmac *mac); 755 void t3_mac_disable_exact_filters(struct cmac *mac); 756 void t3_mac_enable_exact_filters(struct cmac *mac); 757 int t3_mac_enable(struct cmac *mac, int which); 758 int t3_mac_disable(struct cmac *mac, int which); 759 int t3_mac_set_mtu(struct cmac *mac, unsigned int mtu); 762 int t3_mac_set_num_ucast(struct cmac *mac, unsigned char n); [all …]
|
| H A D | cxgb_t3_hw.c | 1435 static void t3_gate_rx_traffic(struct cmac *mac, u32 *rx_cfg, in t3_gate_rx_traffic() 1459 static void t3_open_rx_traffic(struct cmac *mac, u32 rx_cfg, in t3_open_rx_traffic() 1475 struct cmac *mac = &pi->mac; in t3_detect_link_fault() 1498 struct cmac *mac = &pi->mac; in t3_clear_faults() 1524 struct cmac *mac = &pi->mac; in t3_link_changed() 1671 int t3_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc) in t3_link_start() 2155 struct cmac *mac; in mac_intr_handler() 4316 void mac_prep(struct cmac *mac, adapter_t *adapter, int index) in mac_prep()
|
| H A D | cxgb_vsc7323.c | 284 const struct mac_stats *t3_vsc7323_update_stats(struct cmac *mac) in t3_vsc7323_update_stats()
|
| /freebsd-14.2/crypto/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);
|
| /freebsd-14.2/crypto/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)
|
| /freebsd-14.2/crypto/openssl/crypto/cmac/ |
| H A D | build.info | 3 $COMMON=cmac.c
|
| /freebsd-14.2/crypto/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()
|
| /freebsd-14.2/crypto/openssl/doc/man1/ |
| H A D | openssl-speed.pod.in | 15 [B<-cmac> I<algo>] 75 =item B<-cmac> I<cipher> 78 C<openssl speed -cmac aes128>.
|
| /freebsd-14.2/contrib/wpa/src/eap_peer/ |
| H A D | eap_fast.c | 770 u8 cmk[EAP_FAST_CMK_LEN], cmac[SHA1_MAC_LEN]; in eap_fast_process_crypto_binding() local 781 os_memcpy(cmac, _bind->compound_mac, sizeof(cmac)); in eap_fast_process_crypto_binding() 782 os_memset(_bind->compound_mac, 0, sizeof(cmac)); in eap_fast_process_crypto_binding() 787 res = os_memcmp_const(cmac, _bind->compound_mac, sizeof(cmac)); in eap_fast_process_crypto_binding() 789 cmac, sizeof(cmac)); in eap_fast_process_crypto_binding() 791 _bind->compound_mac, sizeof(cmac)); in eap_fast_process_crypto_binding() 794 os_memcpy(_bind->compound_mac, cmac, sizeof(cmac)); in eap_fast_process_crypto_binding()
|
| /freebsd-14.2/crypto/openssl/providers/implementations/macs/ |
| H A D | build.info | 16 IF[{- !$disabled{cmac} -}]
|
| /freebsd-14.2/contrib/wpa/src/eap_server/ |
| H A D | eap_server_fast.c | 1188 u8 cmac[SHA1_MAC_LEN]; in eap_fast_validate_crypto_binding() local 1220 os_memcpy(cmac, b->compound_mac, sizeof(cmac)); in eap_fast_validate_crypto_binding() 1221 os_memset(b->compound_mac, 0, sizeof(cmac)); in eap_fast_validate_crypto_binding() 1227 if (os_memcmp_const(cmac, b->compound_mac, sizeof(cmac)) != 0) { in eap_fast_validate_crypto_binding() 1230 b->compound_mac, sizeof(cmac)); in eap_fast_validate_crypto_binding()
|
| /freebsd-14.2/crypto/openssl/crypto/aes/asm/ |
| H A D | aesni-x86.pl | 659 { my $cmac=$inout1; 712 &aesenc ($cmac,$rndkey1); 716 &aesenc ($cmac,$rndkey0); 720 &aesenc ($cmac,$rndkey1); 724 &aesenclast ($cmac,$rndkey0); 736 &movups (&QWP(0,$out),$cmac); 819 &aesenc ($cmac,$rndkey1); 823 &aesenc ($cmac,$rndkey0); 829 &aesenc ($cmac,$rndkey1); 831 &aesenclast ($cmac,$rndkey0); [all …]
|
| /freebsd-14.2/crypto/openssl/include/crypto/ |
| H A D | aes_platform.h | 212 unsigned char cmac[16]); 219 unsigned char cmac[16]);
|
| H A D | modes.h | 155 } nonce, cmac; member
|
| /freebsd-14.2/sys/dev/qlxgbe/ |
| H A D | ql_hw.c | 1786 q80_config_mac_addr_t *cmac; in qla_config_mac_addr() local 1799 cmac = (q80_config_mac_addr_t *)ha->hw.mbox; in qla_config_mac_addr() 1800 bzero(cmac, (sizeof (q80_config_mac_addr_t))); in qla_config_mac_addr() 1802 cmac->opcode = Q8_MBX_CONFIG_MAC_ADDR; in qla_config_mac_addr() 1804 cmac->count_version |= Q8_MBX_CMD_VERSION; in qla_config_mac_addr() 1807 cmac->cmd = Q8_MBX_CMAC_CMD_ADD_MAC_ADDR; in qla_config_mac_addr() 1809 cmac->cmd = Q8_MBX_CMAC_CMD_DEL_MAC_ADDR; in qla_config_mac_addr() 1811 cmac->cmd |= Q8_MBX_CMAC_CMD_CAM_INGRESS; in qla_config_mac_addr() 1813 cmac->nmac_entries = num_mac; in qla_config_mac_addr() 1814 cmac->cntxt_id = ha->hw.rcv_cntxt_id; in qla_config_mac_addr() [all …]
|
| /freebsd-14.2/crypto/openssl/include/openssl/ |
| H A D | modes.h | 43 unsigned char cmac[16]);
|
| /freebsd-14.2/crypto/openssl/crypto/ |
| H A D | build.info | 8 err comp http ocsp cms ts srp cmac ct async ess crmf cmp encode_decode \
|
| /freebsd-14.2/crypto/openssl/providers/ |
| H A D | fips.module.sources | 108 crypto/cmac/cmac.c 410 include/openssl/cmac.h
|
| H A D | fips-sources.checksums | 108 0e1a41a2d81b5765bca3df448f60bf1fad91e485fe89dd65a7300ffc419e316d crypto/cmac/cmac.c 410 8e772c24b051e59d2f65339f54584e3e44165a3eaf997d497faea764990130f5 include/openssl/cmac.h
|
| /freebsd-14.2/sys/dev/cxgb/ |
| H A D | cxgb_adapter.h | 96 struct cmac mac;
|
| /freebsd-14.2/secure/lib/libcrypto/ |
| H A D | Makefile | 163 SRCS+= cmac.c 566 INCS+= cast.h cmac.h cmp.h cmp_util.h cmperr.h cms.h cmserr.h comp.h comperr.h conf.h conf_api.h 644 ${LCRYPTO_SRC}/crypto/cmac \
|