| /NextBSD/crypto/openssl/crypto/modes/ |
| HD | ccm128.c | 117 (*block) (ctx->nonce.c, ctx->cmac.c, ctx->key), ctx->blocks++; in CRYPTO_ccm128_aad() 120 ctx->cmac.c[0] ^= (u8)(alen >> 8); in CRYPTO_ccm128_aad() 121 ctx->cmac.c[1] ^= (u8)alen; in CRYPTO_ccm128_aad() 125 ctx->cmac.c[0] ^= 0xFF; in CRYPTO_ccm128_aad() 126 ctx->cmac.c[1] ^= 0xFF; in CRYPTO_ccm128_aad() 127 ctx->cmac.c[2] ^= (u8)(alen >> (56 % (sizeof(alen) * 8))); in CRYPTO_ccm128_aad() 128 ctx->cmac.c[3] ^= (u8)(alen >> (48 % (sizeof(alen) * 8))); in CRYPTO_ccm128_aad() 129 ctx->cmac.c[4] ^= (u8)(alen >> (40 % (sizeof(alen) * 8))); in CRYPTO_ccm128_aad() 130 ctx->cmac.c[5] ^= (u8)(alen >> (32 % (sizeof(alen) * 8))); in CRYPTO_ccm128_aad() 131 ctx->cmac.c[6] ^= (u8)(alen >> 24); in CRYPTO_ccm128_aad() [all …]
|
| HD | modes_lcl.h | 139 } nonce, cmac; member
|
| HD | modes.h | 27 unsigned char cmac[16]);
|
| /NextBSD/crypto/openssl/crypto/cmac/ |
| HD | Makefile | 5 DIR= cmac 20 LIBSRC=cmac.c cm_ameth.c cm_pmeth.c 21 LIBOBJ=cmac.o cm_ameth.o cm_pmeth.o 25 EXHEADER= cmac.h 81 cm_ameth.o: ../../include/openssl/cmac.h ../../include/openssl/crypto.h 92 cm_pmeth.o: ../../include/openssl/cmac.h ../../include/openssl/conf.h 105 cmac.o: ../../e_os.h ../../include/openssl/asn1.h ../../include/openssl/bio.h 106 cmac.o: ../../include/openssl/buffer.h ../../include/openssl/cmac.h 107 cmac.o: ../../include/openssl/crypto.h ../../include/openssl/e_os2.h 108 cmac.o: ../../include/openssl/err.h ../../include/openssl/evp.h [all …]
|
| /NextBSD/sys/dev/cxgb/common/ |
| HD | cxgb_common.h | 474 struct cmac { struct 712 int t3_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc); 729 void mac_prep(struct cmac *mac, adapter_t *adapter, int index); 753 int t3_mac_init(struct cmac *mac); 754 void t3b_pcs_reset(struct cmac *mac); 755 void t3c_pcs_force_los(struct cmac *mac); 756 void t3_mac_disable_exact_filters(struct cmac *mac); 757 void t3_mac_enable_exact_filters(struct cmac *mac); 758 int t3_mac_enable(struct cmac *mac, int which); 759 int t3_mac_disable(struct cmac *mac, int which); [all …]
|
| HD | cxgb_xgmac.c | 39 static inline int macidx(const struct cmac *mac) in macidx() 47 static inline int xgm_reset_ctrl(const struct cmac *mac) in xgm_reset_ctrl() 66 static void xaui_serdes_reset(struct cmac *mac) in xaui_serdes_reset() 96 void t3b_pcs_reset(struct cmac *mac) in t3b_pcs_reset() 107 void t3c_pcs_force_los(struct cmac *mac) in t3c_pcs_force_los() 140 int t3_mac_init(struct cmac *mac) in t3_mac_init() 220 static int t3_mac_reset(struct cmac *mac, int portspeed) in t3_mac_reset() 314 static void set_addr_filter(struct cmac *mac, int idx, const u8 *addr) in set_addr_filter() 334 int t3_mac_set_address(struct cmac *mac, unsigned int idx, u8 addr[6]) in t3_mac_set_address() 358 int t3_mac_set_num_ucast(struct cmac *mac, unsigned char n) in t3_mac_set_num_ucast() [all …]
|
| HD | cxgb_t3_hw.c | 1437 static void t3_gate_rx_traffic(struct cmac *mac, u32 *rx_cfg, in t3_gate_rx_traffic() 1461 static void t3_open_rx_traffic(struct cmac *mac, u32 rx_cfg, in t3_open_rx_traffic() 1477 struct cmac *mac = &pi->mac; in t3_detect_link_fault() 1500 struct cmac *mac = &pi->mac; in t3_clear_faults() 1526 struct cmac *mac = &pi->mac; in t3_link_changed() 1673 int t3_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc) in t3_link_start() 2157 struct cmac *mac; in mac_intr_handler() 4318 void mac_prep(struct cmac *mac, adapter_t *adapter, int index) in mac_prep()
|
| HD | cxgb_vsc7323.c | 286 const struct mac_stats *t3_vsc7323_update_stats(struct cmac *mac) in t3_vsc7323_update_stats()
|
| /NextBSD/contrib/wpa/src/eap_peer/ |
| HD | 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, sizeof(cmac)); in eap_fast_process_crypto_binding()
|
| /NextBSD/lib/libosxsupport/ |
| HD | file_module.c | 1198 char *cmac; in _fsi_parse_ether() local 1212 cmac = si_standardize_mac_address(tokens[0]); in _fsi_parse_ether() 1213 if (cmac == NULL) in _fsi_parse_ether() 1222 else if ((which == SEL_NUMBER) && (string_equal(name, cmac))) match = 1; in _fsi_parse_ether() 1227 free(cmac); in _fsi_parse_ether() 1231 …(si_item_t *)LI_ils_create("L4488ss", (unsigned long)si, CATEGORY_MAC, 1, va, vb, tokens[1], cmac); in _fsi_parse_ether() 1234 free(cmac); in _fsi_parse_ether() 1242 char *line, *cmac; in _fsi_get_ether() local 1250 cmac = NULL; in _fsi_get_ether() 1253 cmac = si_standardize_mac_address(name); in _fsi_get_ether() [all …]
|
| /NextBSD/crypto/openssl/crypto/aes/asm/ |
| HD | aesni-x86.pl | 644 { my $cmac=$inout1; 658 &movdqu ($cmac,&QWP(0,$rounds)); # load cmac 692 &xorps ($cmac,$rndkey0); # cmac^=inp 697 &aesenc ($cmac,$rndkey1); 701 &aesenc ($cmac,$rndkey0); 705 &aesenc ($cmac,$rndkey1); 709 &aesenclast ($cmac,$rndkey0); 721 &movups (&QWP(0,$out),$cmac); 746 &movdqu ($cmac,&QWP(0,$rounds)); # load cmac 799 &xorps ($cmac,$in0); # cmac^=out [all …]
|
| HD | aesni-x86_64.pl | 944 my $cmac="%r9"; # 6th argument 973 movdqu ($cmac),$inout1 1018 movups $inout1,($cmac) # store resulting mac 1057 movdqu ($cmac),$inout1 1125 movups $inout1,($cmac) # store resulting mac
|
| /NextBSD/contrib/wpa/src/eap_server/ |
| HD | eap_server_fast.c | 1179 u8 cmac[SHA1_MAC_LEN]; in eap_fast_validate_crypto_binding() local 1211 os_memcpy(cmac, b->compound_mac, sizeof(cmac)); in eap_fast_validate_crypto_binding() 1212 os_memset(b->compound_mac, 0, sizeof(cmac)); in eap_fast_validate_crypto_binding() 1218 if (os_memcmp_const(cmac, b->compound_mac, sizeof(cmac)) != 0) { in eap_fast_validate_crypto_binding() 1221 b->compound_mac, sizeof(cmac)); in eap_fast_validate_crypto_binding()
|
| /NextBSD/sys/dev/qlxgbe/ |
| HD | ql_hw.c | 1056 q80_config_mac_addr_t *cmac; in qla_config_mac_addr() local 1061 cmac = (q80_config_mac_addr_t *)ha->hw.mbox; in qla_config_mac_addr() 1062 bzero(cmac, (sizeof (q80_config_mac_addr_t))); in qla_config_mac_addr() 1064 cmac->opcode = Q8_MBX_CONFIG_MAC_ADDR; in qla_config_mac_addr() 1065 cmac->count_version = sizeof (q80_config_mac_addr_t) >> 2; in qla_config_mac_addr() 1066 cmac->count_version |= Q8_MBX_CMD_VERSION; in qla_config_mac_addr() 1069 cmac->cmd = Q8_MBX_CMAC_CMD_ADD_MAC_ADDR; in qla_config_mac_addr() 1071 cmac->cmd = Q8_MBX_CMAC_CMD_DEL_MAC_ADDR; in qla_config_mac_addr() 1073 cmac->cmd |= Q8_MBX_CMAC_CMD_CAM_INGRESS; in qla_config_mac_addr() 1075 cmac->nmac_entries = 1; in qla_config_mac_addr() [all …]
|
| /NextBSD/secure/lib/libcrypto/ |
| HD | Makefile | 116 SRCS+= cm_ameth.c cm_pmeth.c cmac.c 117 INCS+= cmac.h 434 ${LCRYPTO_SRC}/crypto/cmac \
|
| /NextBSD/sys/dev/cxgb/ |
| HD | cxgb_adapter.h | 98 struct cmac mac;
|
| HD | cxgb_main.c | 1292 struct cmac *mac = &p->mac; in cxgb_update_mac_settings() 1677 struct cmac *mac = &p->mac; in cxgb_init_locked() 2199 struct cmac *mac = &pi->mac; in cxgb_get_counter() 2336 struct cmac *mac = &p->mac; in check_t3b2_mac() 2421 struct cmac *mac = &pi->mac; in cxgb_tick_handler()
|
| /NextBSD/crypto/openssl/crypto/objects/ |
| HD | obj_mac.num | 894 cmac 894
|
| HD | objects.txt | 1287 : CMAC : cmac
|
| /NextBSD/contrib/wpa/src/pae/ |
| HD | ieee802_1x_kay.c | 1721 u8 cmac[MAX_ICV_LEN]; in ieee802_1x_mka_encode_icv_body() local 1731 participant->ick.key, wpabuf_head(buf), buf->used, cmac)) { in ieee802_1x_mka_encode_icv_body() 1737 os_memcpy(wpabuf_put(buf, length - MKA_HDR_LEN), cmac, in ieee802_1x_mka_encode_icv_body() 1740 os_memcpy(wpabuf_put(buf, length), cmac, length); in ieee802_1x_mka_encode_icv_body()
|
| /NextBSD/crypto/openssl/ |
| HD | Makefile.org | 151 cms pqueue ts jpake srp store cmac
|
| HD | Makefile | 153 cms pqueue ts srp cmac
|
| /NextBSD/crypto/openssl/crypto/evp/ |
| HD | e_aes.c | 240 unsigned char cmac[16]); 247 unsigned char cmac[16]);
|