Home
last modified time | relevance | path

Searched refs:CMAC (Results 1 – 25 of 47) sorted by relevance

12

/src/contrib/ntp/libntp/
H A Dssl_init.c24 # define CMAC "AES128CMAC" macro
123 if (!key_type && !strncmp(CMAC, upcased, strlen(CMAC) + 1)) { in keytype_from_text()
128 __FILE__, __LINE__, __func__, CMAC); in keytype_from_text()
157 __FILE__, __LINE__, __func__, CMAC); in keytype_from_text()
212 name = CMAC; in keytype_name()
H A Da_md5encrypt.c108 msyslog(LOG_ERR, "MAC encrypt: CMAC %s CTX new failed.", CMAC); in make_mac()
112 msyslog(LOG_ERR, "MAC encrypt: CMAC %s Init failed.", CMAC); in make_mac()
116 msyslog(LOG_ERR, "MAC encrypt: CMAC %s buf too small.", CMAC); in make_mac()
120 msyslog(LOG_ERR, "MAC encrypt: CMAC %s Update failed.", CMAC); in make_mac()
124 msyslog(LOG_ERR, "MAC encrypt: CMAC %s Final failed.", CMAC); in make_mac()
H A Dauthreadkeys.c365 msyslog(LOG_WARNING, CMAC " keys are 128 bits, " in authreadkeys()
/src/crypto/openssl/doc/man7/
H A DEVP_PKEY-HMAC.pod6 EVP_PKEY-Poly1305, EVP_KEYMGMT-Poly1305, EVP_PKEY-CMAC, EVP_KEYMGMT-CMAC
11 The B<HMAC> and B<CMAC> key types are implemented in OpenSSL's default and FIPS
20 L<EVP_SIGNATURE-Poly1305(7)> or L<EVP_SIGNATURE-CMAC(7)>.
38 =head2 CMAC parameters
40 As well as the parameters described above, the B<CMAC> keytype additionally
69 =head2 CMAC key generation parameters
71 In addition to the common MAC key generation parameters, the CMAC key generation
H A DEVP_SIGNATURE-HMAC.pod6 EVP_SIGNATURE-CMAC
20 L<EVP_MAC-CMAC(7)> for details.
23 L<EVP_PKEY-CMAC(7)> for details about parameters that are supported during the
33 L<EVP_PKEY-CMAC(7)>,
37 L<EVP_MAC-CMAC(7)>,
H A DEVP_MAC-CMAC.pod5 EVP_MAC-CMAC - The CMAC EVP_MAC implementation
9 Support for computing CMAC MACs through the B<EVP_MAC> API.
21 =item "CMAC", "provider=default" or "provider=fips"
H A DEVP_KDF-KB.pod34 The value is either CMAC, HMAC, KMAC128 or KMAC256.
94 Depending on whether mac is CMAC or HMAC, either digest or cipher is required
147 This example derives 10 bytes using FEEDBACK-CMAC-AES256, with KI "secret",
161 *p++ = OSSL_PARAM_construct_utf8_string(OSSL_KDF_PARAM_MAC, "CMAC", 0);
H A DOSSL_PROVIDER-default.pod108 =item CMAC, see L<EVP_MAC-CMAC(7)>
212 =item CMAC, see L<EVP_SIGNATURE-CMAC(7)>
344 =item CMAC, see L<EVP_KEYMGMT-CMAC(7)>
H A DOSSL_PROVIDER-FIPS.pod90 =item CMAC, see L<EVP_MAC-CMAC(7)>
174 =item CMAC, see L<EVP_SIGNATURE-CMAC(7)>
232 =item CMAC, see L<EVP_KEYMGMT-CMAC(7)>
/src/crypto/openssl/test/recipes/30-test_evp_data/
H A Devpmac_cmac_des.txt15 Title = CMAC tests (from FIPS module)
18 MAC = CMAC
25 MAC = CMAC by EVP_PKEY
33 MAC = CMAC
41 MAC = CMAC
H A Devpkdf_kbkdf_counter.txt30 Ctrl.mac = mac:CMAC
43 Ctrl.mac = mac:CMAC
56 Ctrl.mac = mac:CMAC
69 Ctrl.mac = mac:CMAC
87 Ctrl.mac = mac:CMAC
100 Ctrl.mac = mac:CMAC
113 Ctrl.mac = mac:CMAC
126 Ctrl.mac = mac:CMAC
144 Ctrl.mac = mac:CMAC
157 Ctrl.mac = mac:CMAC
[all …]
H A Devpmac_common.txt289 Title = CMAC tests (from FIPS module)
291 MAC = CMAC
297 MAC = CMAC by EVP_PKEY
303 MAC = CMAC
311 MAC = CMAC
318 # Test CMAC with a small key is not allowed
320 MAC = CMAC
H A Devpciph_camellia_cts.txt14 # ke = KBKDF(mac = CMAC, mode = FEEDBACK, base_key,
26 # -mac CMAC
/src/contrib/ntp/sntp/tests/
H A Dcrypto.c8 #define CMAC "AES128CMAC" macro
112 memcpy(&cmac.typen, CMAC, strlen(CMAC) + 1); in test_MakeCMac()
204 memcpy(&cmac.typen, CMAC, strlen(CMAC) + 1); in test_VerifyCMAC()
H A DpacketProcessing.c8 #define CMAC "AES128CMAC" macro
526 PrepareAuthenticationTest(30, CMAC_LENGTH, CMAC, "abcdefghijklmnop"); in test_CorrectAuthenticatedPacketCMAC()
/src/crypto/openssl/doc/man3/
H A DCMAC_CTX.pod54 The B<CMAC_CTX> type is a structure used for the provision of CMAC
70 CMAC_Init() initializes the B<CMAC_CTX> structure for a new CMAC calculation
74 CMAC_Update() processes data to be included in the CMAC calculation.
78 CMAC_Final() finalizes the CMAC calculation and retrieves the resulting
85 CMAC_resume() resumes a previously finalized CMAC calculation, allowing
H A DEVP_DigestSignInit.pod70 "signing". Built-in EVP_PKEY types supported by these functions are CMAC,
106 =item CMAC, Poly1305 and SipHash
H A DEVP_PKEY_new.pod78 "SIPHASH", "HMAC", "CMAC". This usage is considered legacy and is discouraged
207 creation of a CMAC in the B<cipher> argument. The cipher should be a standard
/src/contrib/ntp/sntp/
H A Dcrypto.c54 msyslog(LOG_ERR, "make_mac: CMAC %s CTX new failed.", CMAC); in compute_mac()
58 msyslog(LOG_ERR, "make_mac: CMAC %s Init failed.", CMAC); in compute_mac()
61 msyslog(LOG_ERR, "make_mac: CMAC %s Update failed.", CMAC); in compute_mac()
64 msyslog(LOG_ERR, "make_mac: CMAC %s Final failed.", CMAC); in compute_mac()
/src/crypto/openssl/doc/man1/
H A Dopenssl-mac.pod.in50 Used by CMAC and GMAC to specify the cipher algorithm.
51 For CMAC it should be a CBC mode cipher e.g. AES-128-CBC.
136 To create a hex-encoded CMAC-AES-128-CBC MAC from a file:
140 -in msg.bin CMAC
163 L<EVP_MAC-CMAC(7)>,
/src/contrib/ntp/include/
H A Dntp_md5.h28 # define CMAC "AES128CMAC" macro
/src/contrib/ntp/ntpq/
H A Dntpq.c46 # define CMAC "AES128CMAC" macro
4005 len = strlen(K_NL_PFX_STR) + strlen(CMAC); in insert_cmac()
4007 sprintf(list, "%s%s", K_NL_PFX_STR, CMAC); in insert_cmac()
4058 if (strncmp(CMAC, point, delim - point) < 0) { in insert_cmac()
4077 len += strlen(CMAC) + strlen(K_DELIM_STR); in insert_cmac()
4081 memmove(point + strlen(CMAC) + strlen(K_DELIM_STR), in insert_cmac()
4083 memcpy(point, CMAC, strlen(CMAC)); in insert_cmac()
4084 memcpy(point + strlen(CMAC), K_DELIM_STR, strlen(K_DELIM_STR)); in insert_cmac()
4087 len += strlen(K_DELIM_STR) + strlen(CMAC); in insert_cmac()
4090 strcpy(list + strlen(list), CMAC); in insert_cmac()
/src/crypto/openssl/include/openssl/
H A Dcore_names.h.in61 #define OSSL_MAC_NAME_CMAC "CMAC"
/src/crypto/openssl/doc/designs/
H A Dfips_indicator.md269 - CMAC
319 - CMAC
320 - KBKDF CMAC
/src/secure/lib/libcrypto/man/man7/
H A DMakefile42 MAN+= EVP_MAC-CMAC.7

12