| /src/crypto/external/bsd/openssl/dist/demos/mac/ |
| 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
|
| cmac-aes256.c | 12 * a CMAC of static buffers 21 #include <openssl/cmac.h> 55 /* The known value of the CMAC/AES256 MAC of the above soliloqy */ 83 /* Fetch the CMAC implementation */ 84 mac = EVP_MAC_fetch(library_context, "CMAC", propq); 90 /* Create a context for the CMAC operation */ 102 /* Initialise the CMAC operation */
|
| /src/crypto/external/apache2/openssl/dist/demos/mac/ |
| build.info | 9 cmac-aes256 \ 20 INCLUDE[cmac-aes256]=../../include 21 SOURCE[cmac-aes256]=cmac-aes256.c 22 DEPEND[cmac-aes256]=../../libcrypto
|
| Makefile | 9 cmac-aes256 \ 20 cmac-aes256: cmac-aes256.o
|
| cmac-aes256.c | 12 * a CMAC of static buffers 21 #include <openssl/cmac.h> 53 /* The known value of the CMAC/AES256 MAC of the above soliloqy */ 81 /* Fetch the CMAC implementation */ 82 mac = EVP_MAC_fetch(library_context, "CMAC", propq); 88 /* Create a context for the CMAC operation */ 100 /* Initialise the CMAC operation */
|
| /src/crypto/external/apache2/openssl/dist/providers/implementations/include/prov/ |
| macsignature.h | 22 int cmac; member in struct:mac_key_st 27 MAC_KEY *ossl_mac_key_new(OSSL_LIB_CTX *libctx, int cmac);
|
| /src/crypto/external/bsd/openssl/dist/providers/implementations/include/prov/ |
| macsignature.h | 23 int cmac; member in struct:mac_key_st 28 MAC_KEY *ossl_mac_key_new(OSSL_LIB_CTX *libctx, int cmac);
|
| /src/crypto/external/apache2/openssl/dist/crypto/modes/ |
| ccm128.c | 78 (*block)(ctx->nonce.c, ctx->cmac.c, ctx->key), ctx->blocks++; 81 ctx->cmac.c[0] ^= (u8)(alen >> 8); 82 ctx->cmac.c[1] ^= (u8)alen; 86 ctx->cmac.c[0] ^= 0xFF; 87 ctx->cmac.c[1] ^= 0xFF; 88 ctx->cmac.c[2] ^= (u8)(alen >> (56 % (sizeof(alen) * 8))); 89 ctx->cmac.c[3] ^= (u8)(alen >> (48 % (sizeof(alen) * 8))); 90 ctx->cmac.c[4] ^= (u8)(alen >> (40 % (sizeof(alen) * 8))); 91 ctx->cmac.c[5] ^= (u8)(alen >> (32 % (sizeof(alen) * 8))); 92 ctx->cmac.c[6] ^= (u8)(alen >> 24) [all...] |
| /src/crypto/external/bsd/openssl/dist/crypto/modes/ |
| ccm128.c | 78 (*block) (ctx->nonce.c, ctx->cmac.c, ctx->key), ctx->blocks++; 81 ctx->cmac.c[0] ^= (u8)(alen >> 8); 82 ctx->cmac.c[1] ^= (u8)alen; 86 ctx->cmac.c[0] ^= 0xFF; 87 ctx->cmac.c[1] ^= 0xFF; 88 ctx->cmac.c[2] ^= (u8)(alen >> (56 % (sizeof(alen) * 8))); 89 ctx->cmac.c[3] ^= (u8)(alen >> (48 % (sizeof(alen) * 8))); 90 ctx->cmac.c[4] ^= (u8)(alen >> (40 % (sizeof(alen) * 8))); 91 ctx->cmac.c[5] ^= (u8)(alen >> (32 % (sizeof(alen) * 8))); 92 ctx->cmac.c[6] ^= (u8)(alen >> 24) [all...] |
| /src/crypto/external/bsd/openssl.old/dist/crypto/modes/ |
| ccm128.c | 78 (*block) (ctx->nonce.c, ctx->cmac.c, ctx->key), ctx->blocks++; 81 ctx->cmac.c[0] ^= (u8)(alen >> 8); 82 ctx->cmac.c[1] ^= (u8)alen; 86 ctx->cmac.c[0] ^= 0xFF; 87 ctx->cmac.c[1] ^= 0xFF; 88 ctx->cmac.c[2] ^= (u8)(alen >> (56 % (sizeof(alen) * 8))); 89 ctx->cmac.c[3] ^= (u8)(alen >> (48 % (sizeof(alen) * 8))); 90 ctx->cmac.c[4] ^= (u8)(alen >> (40 % (sizeof(alen) * 8))); 91 ctx->cmac.c[5] ^= (u8)(alen >> (32 % (sizeof(alen) * 8))); 92 ctx->cmac.c[6] ^= (u8)(alen >> 24) [all...] |
| /src/external/bsd/ntp/dist/sntp/tests/ |
| crypto.c | 10 #define CMAC "AES128CMAC" 25 void VerifyLocalCMAC(struct key *cmac); 26 void VerifyOpenSSLCMAC(struct key *cmac); 108 struct key cmac; local 110 cmac.next = NULL; 111 cmac.key_id = 30; 112 cmac.key_len = CMAC_LENGTH; 113 memcpy(&cmac.key_seq, "aes-128-cmac-seq", cmac.key_len) 200 struct key cmac; local [all...] |
| /src/crypto/external/apache2/openssl/dist/include/crypto/ |
| cmac.h | 15 #include <openssl/cmac.h>
|
| /src/crypto/external/bsd/openssl.old/dist/crypto/cmac/ |
| cm_ameth.c | 13 #include <openssl/cmac.h> 17 * CMAC "ASN1" method. This is just here to indicate the maximum CMAC output 18 * length and to free up a CMAC key. 37 "CMAC", 38 "OpenSSL CMAC method",
|
| cm_pmeth.c | 15 #include <openssl/cmac.h>
|
| /src/sys/dev/pci/cxgb/ |
| cxgb_xgmac.c | 49 static inline int macidx(const struct cmac *mac) 54 static void xaui_serdes_reset(struct cmac *mac) 78 void t3b_pcs_reset(struct cmac *mac) 87 int t3_mac_reset(struct cmac *mac) 168 static int t3b2_mac_reset(struct cmac *mac) 227 static void set_addr_filter(struct cmac *mac, int idx, const u8 *addr) 240 int t3_mac_set_address(struct cmac *mac, unsigned int idx, u8 addr[6]) 257 int t3_mac_set_num_ucast(struct cmac *mac, unsigned char n) 265 static void disable_exact_filters(struct cmac *mac) 276 static void enable_exact_filters(struct cmac *mac [all...] |
| cxgb_common.h | 463 struct cmac { struct 661 int t3_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc); 675 void mac_prep(struct cmac *mac, adapter_t *adapter, int index); 695 int t3_mac_reset(struct cmac *mac); 696 void t3b_pcs_reset(struct cmac *mac); 697 int t3_mac_enable(struct cmac *mac, int which); 698 int t3_mac_disable(struct cmac *mac, int which); 699 int t3_mac_set_mtu(struct cmac *mac, unsigned int mtu); 700 int t3_mac_set_rx_mode(struct cmac *mac, struct t3_rx_mode *rm); 701 int t3_mac_set_address(struct cmac *mac, unsigned int idx, u8 addr[6]) [all...] |
| /src/external/bsd/ntp/dist/include/ |
| ntp_md5.h | 29 # include <openssl/cmac.h> 30 # define CMAC "AES128CMAC"
|
| /src/crypto/external/apache2/openssl/dist/providers/implementations/signature/ |
| mac_legacy_sig.c | 94 MAC_NEWCTX(cmac, "CMAC") 242 MAC_SETTABLE_CTX_PARAMS(cmac, "CMAC") 265 MAC_SIGNATURE_FUNCTIONS(cmac)
|
| /src/crypto/external/bsd/openssl/dist/providers/implementations/signature/ |
| mac_legacy_sig.c | 96 MAC_NEWCTX(cmac, "CMAC") 244 MAC_SETTABLE_CTX_PARAMS(cmac, "CMAC") 267 MAC_SIGNATURE_FUNCTIONS(cmac)
|
| /src/crypto/external/apache2/openssl/dist/providers/implementations/keymgmt/ |
| mac_legacy_kmgmt.c | 64 MAC_KEY *ossl_mac_key_new(OSSL_LIB_CTX *libctx, int cmac) 80 mackey->cmac = cmac; 211 if (key->cmac && !ossl_prov_cipher_load_from_params(&key->cipher, params, key->libctx)) {
|
| /src/crypto/external/bsd/openssl/dist/providers/implementations/keymgmt/ |
| mac_legacy_kmgmt.c | 64 MAC_KEY *ossl_mac_key_new(OSSL_LIB_CTX *libctx, int cmac) 82 mackey->cmac = cmac; 219 if (key->cmac && !ossl_prov_cipher_load_from_params(&key->cipher, params,
|
| /src/external/bsd/ntp/dist/libntp/ |
| ssl_init.c | 24 # include <openssl/cmac.h> 26 # define CMAC "AES128CMAC" 108 * recognized but matches our CMAC string use NID_cmac, or if 125 if (!key_type && !strncmp(CMAC, upcased, strlen(CMAC) + 1)) { 130 __FILE__, __LINE__, __func__, CMAC); 159 __FILE__, __LINE__, __func__, CMAC); 214 name = CMAC;
|
| /src/crypto/external/bsd/openssl/dist/providers/implementations/macs/ |
| cmac_prov.c | 11 * CMAC low level APIs are deprecated for public use, but still ok for internal 20 #include <openssl/cmac.h> 43 /* local CMAC data */ 129 /* Reinitialize the CMAC context */
|
| /src/external/bsd/wpa/dist/src/eap_peer/ |
| eap_fast.c | 770 u8 cmk[EAP_FAST_CMK_LEN], cmac[SHA1_MAC_LEN]; local 781 os_memcpy(cmac, _bind->compound_mac, sizeof(cmac)); 782 os_memset(_bind->compound_mac, 0, sizeof(cmac)); 787 res = os_memcmp_const(cmac, _bind->compound_mac, sizeof(cmac)); 789 cmac, sizeof(cmac)); 791 _bind->compound_mac, sizeof(cmac)); 794 os_memcpy(_bind->compound_mac, cmac, sizeof(cmac)) [all...] |
| /src/external/bsd/wpa/dist/src/eap_server/ |
| eap_server_fast.c | 1188 u8 cmac[SHA1_MAC_LEN]; local 1220 os_memcpy(cmac, b->compound_mac, sizeof(cmac)); 1221 os_memset(b->compound_mac, 0, sizeof(cmac)); 1227 if (os_memcmp_const(cmac, b->compound_mac, sizeof(cmac)) != 0) { 1230 b->compound_mac, sizeof(cmac));
|