Symbol: cmac
crypto/openssl/crypto/modes/ccm128.c
100
ctx->cmac.c[2] ^= (u8)(alen >> 24);
crypto/openssl/crypto/modes/ccm128.c
101
ctx->cmac.c[3] ^= (u8)(alen >> 16);
crypto/openssl/crypto/modes/ccm128.c
102
ctx->cmac.c[4] ^= (u8)(alen >> 8);
crypto/openssl/crypto/modes/ccm128.c
103
ctx->cmac.c[5] ^= (u8)alen;
crypto/openssl/crypto/modes/ccm128.c
109
ctx->cmac.c[i] ^= *aad;
crypto/openssl/crypto/modes/ccm128.c
110
(*block)(ctx->cmac.c, ctx->cmac.c, ctx->key), ctx->blocks++;
crypto/openssl/crypto/modes/ccm128.c
152
(*block)(ctx->nonce.c, ctx->cmac.c, key), ctx->blocks++;
crypto/openssl/crypto/modes/ccm128.c
178
ctx->cmac.u[0] ^= temp.u[0];
crypto/openssl/crypto/modes/ccm128.c
179
ctx->cmac.u[1] ^= temp.u[1];
crypto/openssl/crypto/modes/ccm128.c
181
ctx->cmac.u[0] ^= ((u64_a1 *)inp)[0];
crypto/openssl/crypto/modes/ccm128.c
182
ctx->cmac.u[1] ^= ((u64_a1 *)inp)[1];
crypto/openssl/crypto/modes/ccm128.c
184
(*block)(ctx->cmac.c, ctx->cmac.c, key);
crypto/openssl/crypto/modes/ccm128.c
202
ctx->cmac.c[i] ^= inp[i];
crypto/openssl/crypto/modes/ccm128.c
203
(*block)(ctx->cmac.c, ctx->cmac.c, key);
crypto/openssl/crypto/modes/ccm128.c
213
ctx->cmac.u[0] ^= scratch.u[0];
crypto/openssl/crypto/modes/ccm128.c
214
ctx->cmac.u[1] ^= scratch.u[1];
crypto/openssl/crypto/modes/ccm128.c
236
(*block)(ctx->nonce.c, ctx->cmac.c, key);
crypto/openssl/crypto/modes/ccm128.c
261
ctx->cmac.u[0] ^= (scratch.u[0] ^= temp.u[0]);
crypto/openssl/crypto/modes/ccm128.c
262
ctx->cmac.u[1] ^= (scratch.u[1] ^= temp.u[1]);
crypto/openssl/crypto/modes/ccm128.c
265
ctx->cmac.u[0] ^= (((u64_a1 *)out)[0]
crypto/openssl/crypto/modes/ccm128.c
267
ctx->cmac.u[1] ^= (((u64_a1 *)out)[1]
crypto/openssl/crypto/modes/ccm128.c
270
(*block)(ctx->cmac.c, ctx->cmac.c, key);
crypto/openssl/crypto/modes/ccm128.c
280
ctx->cmac.c[i] ^= (out[i] = scratch.c[i] ^ inp[i]);
crypto/openssl/crypto/modes/ccm128.c
281
(*block)(ctx->cmac.c, ctx->cmac.c, key);
crypto/openssl/crypto/modes/ccm128.c
288
ctx->cmac.u[0] ^= scratch.u[0];
crypto/openssl/crypto/modes/ccm128.c
289
ctx->cmac.u[1] ^= scratch.u[1];
crypto/openssl/crypto/modes/ccm128.c
325
(*block)(ctx->nonce.c, ctx->cmac.c, key), ctx->blocks++;
crypto/openssl/crypto/modes/ccm128.c
344
(*stream)(inp, out, n, key, ctx->nonce.c, ctx->cmac.c);
crypto/openssl/crypto/modes/ccm128.c
355
ctx->cmac.c[i] ^= inp[i];
crypto/openssl/crypto/modes/ccm128.c
356
(*block)(ctx->cmac.c, ctx->cmac.c, key);
crypto/openssl/crypto/modes/ccm128.c
366
ctx->cmac.u[0] ^= scratch.u[0];
crypto/openssl/crypto/modes/ccm128.c
367
ctx->cmac.u[1] ^= scratch.u[1];
crypto/openssl/crypto/modes/ccm128.c
389
(*block)(ctx->nonce.c, ctx->cmac.c, key);
crypto/openssl/crypto/modes/ccm128.c
404
(*stream)(inp, out, n, key, ctx->nonce.c, ctx->cmac.c);
crypto/openssl/crypto/modes/ccm128.c
416
ctx->cmac.c[i] ^= (out[i] = scratch.c[i] ^ inp[i]);
crypto/openssl/crypto/modes/ccm128.c
417
(*block)(ctx->cmac.c, ctx->cmac.c, key);
crypto/openssl/crypto/modes/ccm128.c
424
ctx->cmac.u[0] ^= scratch.u[0];
crypto/openssl/crypto/modes/ccm128.c
425
ctx->cmac.u[1] ^= scratch.u[1];
crypto/openssl/crypto/modes/ccm128.c
440
memcpy(tag, ctx->cmac.c, M);
crypto/openssl/crypto/modes/ccm128.c
78
(*block)(ctx->nonce.c, ctx->cmac.c, ctx->key), ctx->blocks++;
crypto/openssl/crypto/modes/ccm128.c
81
ctx->cmac.c[0] ^= (u8)(alen >> 8);
crypto/openssl/crypto/modes/ccm128.c
82
ctx->cmac.c[1] ^= (u8)alen;
crypto/openssl/crypto/modes/ccm128.c
86
ctx->cmac.c[0] ^= 0xFF;
crypto/openssl/crypto/modes/ccm128.c
87
ctx->cmac.c[1] ^= 0xFF;
crypto/openssl/crypto/modes/ccm128.c
88
ctx->cmac.c[2] ^= (u8)(alen >> (56 % (sizeof(alen) * 8)));
crypto/openssl/crypto/modes/ccm128.c
89
ctx->cmac.c[3] ^= (u8)(alen >> (48 % (sizeof(alen) * 8)));
crypto/openssl/crypto/modes/ccm128.c
90
ctx->cmac.c[4] ^= (u8)(alen >> (40 % (sizeof(alen) * 8)));
crypto/openssl/crypto/modes/ccm128.c
91
ctx->cmac.c[5] ^= (u8)(alen >> (32 % (sizeof(alen) * 8)));
crypto/openssl/crypto/modes/ccm128.c
92
ctx->cmac.c[6] ^= (u8)(alen >> 24);
crypto/openssl/crypto/modes/ccm128.c
93
ctx->cmac.c[7] ^= (u8)(alen >> 16);
crypto/openssl/crypto/modes/ccm128.c
94
ctx->cmac.c[8] ^= (u8)(alen >> 8);
crypto/openssl/crypto/modes/ccm128.c
95
ctx->cmac.c[9] ^= (u8)alen;
crypto/openssl/crypto/modes/ccm128.c
98
ctx->cmac.c[0] ^= 0xFF;
crypto/openssl/crypto/modes/ccm128.c
99
ctx->cmac.c[1] ^= 0xFE;
crypto/openssl/include/crypto/aes_platform.h
264
unsigned char cmac[16]);
crypto/openssl/include/crypto/aes_platform.h
271
unsigned char cmac[16]);
crypto/openssl/include/crypto/modes.h
163
} nonce, cmac;
crypto/openssl/include/openssl/modes.h
43
unsigned char cmac[16]);
crypto/openssl/providers/implementations/include/prov/macsignature.h
22
int cmac;
crypto/openssl/providers/implementations/include/prov/macsignature.h
27
MAC_KEY *ossl_mac_key_new(OSSL_LIB_CTX *libctx, int cmac);
crypto/openssl/providers/implementations/keymgmt/mac_legacy_kmgmt.c
211
if (key->cmac && !ossl_prov_cipher_load_from_params(&key->cipher, params, key->libctx)) {
crypto/openssl/providers/implementations/keymgmt/mac_legacy_kmgmt.c
64
MAC_KEY *ossl_mac_key_new(OSSL_LIB_CTX *libctx, int cmac)
crypto/openssl/providers/implementations/keymgmt/mac_legacy_kmgmt.c
80
mackey->cmac = cmac;
crypto/openssl/providers/implementations/signature/mac_legacy_sig.c
242
MAC_SETTABLE_CTX_PARAMS(cmac, "CMAC")
crypto/openssl/providers/implementations/signature/mac_legacy_sig.c
265
MAC_SIGNATURE_FUNCTIONS(cmac)
crypto/openssl/providers/implementations/signature/mac_legacy_sig.c
94
MAC_NEWCTX(cmac, "CMAC")
sys/dev/cxgb/common/cxgb_common.h
711
int t3_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc);
sys/dev/cxgb/common/cxgb_common.h
728
void mac_prep(struct cmac *mac, adapter_t *adapter, int index);
sys/dev/cxgb/common/cxgb_common.h
752
int t3_mac_init(struct cmac *mac);
sys/dev/cxgb/common/cxgb_common.h
753
void t3b_pcs_reset(struct cmac *mac);
sys/dev/cxgb/common/cxgb_common.h
754
void t3c_pcs_force_los(struct cmac *mac);
sys/dev/cxgb/common/cxgb_common.h
755
void t3_mac_disable_exact_filters(struct cmac *mac);
sys/dev/cxgb/common/cxgb_common.h
756
void t3_mac_enable_exact_filters(struct cmac *mac);
sys/dev/cxgb/common/cxgb_common.h
757
int t3_mac_enable(struct cmac *mac, int which);
sys/dev/cxgb/common/cxgb_common.h
758
int t3_mac_disable(struct cmac *mac, int which);
sys/dev/cxgb/common/cxgb_common.h
759
int t3_mac_set_mtu(struct cmac *mac, unsigned int mtu);
sys/dev/cxgb/common/cxgb_common.h
760
int t3_mac_set_rx_mode(struct cmac *mac, struct t3_rx_mode *rm);
sys/dev/cxgb/common/cxgb_common.h
761
int t3_mac_set_address(struct cmac *mac, unsigned int idx, u8 addr[6]);
sys/dev/cxgb/common/cxgb_common.h
762
int t3_mac_set_num_ucast(struct cmac *mac, unsigned char n);
sys/dev/cxgb/common/cxgb_common.h
763
const struct mac_stats *t3_mac_update_stats(struct cmac *mac);
sys/dev/cxgb/common/cxgb_common.h
764
int t3_mac_set_speed_duplex_fc(struct cmac *mac, int speed, int duplex,
sys/dev/cxgb/common/cxgb_common.h
766
int t3b2_mac_watchdog_task(struct cmac *mac);
sys/dev/cxgb/common/cxgb_common.h
834
const struct mac_stats *t3_vsc7323_update_stats(struct cmac *mac);
sys/dev/cxgb/common/cxgb_t3_hw.c
1435
static void t3_gate_rx_traffic(struct cmac *mac, u32 *rx_cfg,
sys/dev/cxgb/common/cxgb_t3_hw.c
1459
static void t3_open_rx_traffic(struct cmac *mac, u32 rx_cfg,
sys/dev/cxgb/common/cxgb_t3_hw.c
1475
struct cmac *mac = &pi->mac;
sys/dev/cxgb/common/cxgb_t3_hw.c
1498
struct cmac *mac = &pi->mac;
sys/dev/cxgb/common/cxgb_t3_hw.c
1524
struct cmac *mac = &pi->mac;
sys/dev/cxgb/common/cxgb_t3_hw.c
1671
int t3_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc)
sys/dev/cxgb/common/cxgb_t3_hw.c
2155
struct cmac *mac;
sys/dev/cxgb/common/cxgb_t3_hw.c
4316
void mac_prep(struct cmac *mac, adapter_t *adapter, int index)
sys/dev/cxgb/common/cxgb_vsc7323.c
284
const struct mac_stats *t3_vsc7323_update_stats(struct cmac *mac)
sys/dev/cxgb/common/cxgb_xgmac.c
106
void t3c_pcs_force_los(struct cmac *mac)
sys/dev/cxgb/common/cxgb_xgmac.c
139
int t3_mac_init(struct cmac *mac)
sys/dev/cxgb/common/cxgb_xgmac.c
219
static int t3_mac_reset(struct cmac *mac, int portspeed)
sys/dev/cxgb/common/cxgb_xgmac.c
313
static void set_addr_filter(struct cmac *mac, int idx, const u8 *addr)
sys/dev/cxgb/common/cxgb_xgmac.c
333
int t3_mac_set_address(struct cmac *mac, unsigned int idx, u8 addr[6])
sys/dev/cxgb/common/cxgb_xgmac.c
357
int t3_mac_set_num_ucast(struct cmac *mac, unsigned char n)
sys/dev/cxgb/common/cxgb_xgmac.c
365
void t3_mac_disable_exact_filters(struct cmac *mac)
sys/dev/cxgb/common/cxgb_xgmac.c
376
void t3_mac_enable_exact_filters(struct cmac *mac)
sys/dev/cxgb/common/cxgb_xgmac.c
38
static inline int macidx(const struct cmac *mac)
sys/dev/cxgb/common/cxgb_xgmac.c
410
struct cmac *mac;
sys/dev/cxgb/common/cxgb_xgmac.c
432
int t3_mac_set_rx_mode(struct cmac *mac, struct t3_rx_mode *rm)
sys/dev/cxgb/common/cxgb_xgmac.c
46
static inline int xgm_reset_ctrl(const struct cmac *mac)
sys/dev/cxgb/common/cxgb_xgmac.c
473
int t3_mac_set_mtu(struct cmac *mac, unsigned int mtu)
sys/dev/cxgb/common/cxgb_xgmac.c
568
int t3_mac_set_speed_duplex_fc(struct cmac *mac, int speed, int duplex, int fc)
sys/dev/cxgb/common/cxgb_xgmac.c
646
int t3_mac_enable(struct cmac *mac, int which)
sys/dev/cxgb/common/cxgb_xgmac.c
65
static void xaui_serdes_reset(struct cmac *mac)
sys/dev/cxgb/common/cxgb_xgmac.c
698
int t3_mac_disable(struct cmac *mac, int which)
sys/dev/cxgb/common/cxgb_xgmac.c
721
int t3b2_mac_watchdog_task(struct cmac *mac)
sys/dev/cxgb/common/cxgb_xgmac.c
798
const struct mac_stats *t3_mac_update_stats(struct cmac *mac)
sys/dev/cxgb/common/cxgb_xgmac.c
95
void t3b_pcs_reset(struct cmac *mac)
sys/dev/cxgb/cxgb_adapter.h
96
struct cmac mac;
sys/dev/cxgb/cxgb_main.c
1248
struct cmac *mac = &p->mac;
sys/dev/cxgb/cxgb_main.c
1633
struct cmac *mac = &p->mac;
sys/dev/cxgb/cxgb_main.c
2156
struct cmac *mac = &pi->mac;
sys/dev/cxgb/cxgb_main.c
2293
struct cmac *mac = &p->mac;
sys/dev/cxgb/cxgb_main.c
2378
struct cmac *mac = &pi->mac;
sys/dev/qlxgbe/ql_hw.c
1786
q80_config_mac_addr_t *cmac;
sys/dev/qlxgbe/ql_hw.c
1799
cmac = (q80_config_mac_addr_t *)ha->hw.mbox;
sys/dev/qlxgbe/ql_hw.c
1800
bzero(cmac, (sizeof (q80_config_mac_addr_t)));
sys/dev/qlxgbe/ql_hw.c
1802
cmac->opcode = Q8_MBX_CONFIG_MAC_ADDR;
sys/dev/qlxgbe/ql_hw.c
1803
cmac->count_version = sizeof (q80_config_mac_addr_t) >> 2;
sys/dev/qlxgbe/ql_hw.c
1804
cmac->count_version |= Q8_MBX_CMD_VERSION;
sys/dev/qlxgbe/ql_hw.c
1807
cmac->cmd = Q8_MBX_CMAC_CMD_ADD_MAC_ADDR;
sys/dev/qlxgbe/ql_hw.c
1809
cmac->cmd = Q8_MBX_CMAC_CMD_DEL_MAC_ADDR;
sys/dev/qlxgbe/ql_hw.c
1811
cmac->cmd |= Q8_MBX_CMAC_CMD_CAM_INGRESS;
sys/dev/qlxgbe/ql_hw.c
1813
cmac->nmac_entries = num_mac;
sys/dev/qlxgbe/ql_hw.c
1814
cmac->cntxt_id = ha->hw.rcv_cntxt_id;
sys/dev/qlxgbe/ql_hw.c
1817
bcopy(mac_addr, cmac->mac_addr[i].addr, Q8_ETHER_ADDR_LEN);
sys/dev/qlxgbe/ql_hw.c
1821
if (qla_mbx_cmd(ha, (uint32_t *)cmac,