| /freebsd-14.2/contrib/ntp/libntp/ |
| H A D | ssl_init.c | 24 # 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 D | a_md5encrypt.c | 108 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 D | authreadkeys.c | 365 msyslog(LOG_WARNING, CMAC " keys are 128 bits, " in authreadkeys()
|
| /freebsd-14.2/crypto/openssl/doc/man7/ |
| H A D | EVP_PKEY-HMAC.pod | 6 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 D | EVP_SIGNATURE-HMAC.pod | 6 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 D | EVP_MAC-CMAC.pod | 5 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 D | EVP_KDF-KB.pod | 34 The value is either CMAC or HMAC. 65 Depending on whether mac is CMAC or HMAC, either digest or cipher is required 118 This example derives 10 bytes using FEEDBACK-CMAC-AES256, with KI "secret", 132 *p++ = OSSL_PARAM_construct_utf8_string(OSSL_KDF_PARAM_MAC, "CMAC", 0);
|
| H A D | OSSL_PROVIDER-default.pod | 108 =item CMAC, see L<EVP_MAC-CMAC(7)> 181 =item CMAC, see L<EVP_SIGNATURE-CMAC(7)>
|
| H A D | OSSL_PROVIDER-FIPS.pod | 73 =item CMAC, see L<EVP_MAC-CMAC(7)> 135 =item CMAC, see L<EVP_SIGNATURE-CMAC(7)>
|
| H A D | provider-mac.pod | 218 L<EVP_MAC-BLAKE2(7)>, L<EVP_MAC-CMAC(7)>, L<EVP_MAC-GMAC(7)>,
|
| /freebsd-14.2/crypto/openssl/test/recipes/30-test_evp_data/ |
| H A D | evpmac_cmac_des.txt | 15 Title = CMAC tests (from FIPS module) 17 MAC = CMAC 23 MAC = CMAC by EVP_PKEY
|
| H A D | evpmac_common.txt | 242 Title = CMAC tests (from FIPS module) 244 MAC = CMAC 250 MAC = CMAC by EVP_PKEY 256 MAC = CMAC
|
| H A D | evpciph_camellia_cts.txt | 14 # ke = KBKDF(mac = CMAC, mode = FEEDBACK, base_key, 26 # -mac CMAC
|
| /freebsd-14.2/contrib/ntp/sntp/tests/ |
| H A D | crypto.c | 8 #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 D | packetProcessing.c | 8 #define CMAC "AES128CMAC" macro 526 PrepareAuthenticationTest(30, CMAC_LENGTH, CMAC, "abcdefghijklmnop"); in test_CorrectAuthenticatedPacketCMAC()
|
| /freebsd-14.2/contrib/ntp/sntp/ |
| H A D | crypto.c | 54 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()
|
| /freebsd-14.2/crypto/openssl/doc/man1/ |
| H A D | openssl-mac.pod.in | 50 Used by CMAC and GMAC to specify the cipher algorithm. 51 For CMAC it must be one of AES-128-CBC, AES-192-CBC, AES-256-CBC or 137 To create a hex-encoded CMAC-AES-128-CBC MAC from a file: 141 -in msg.bin CMAC 164 L<EVP_MAC-CMAC(7)>,
|
| H A D | openssl-speed.pod.in | 77 Time the CMAC algorithm using the specified cipher e.g.
|
| /freebsd-14.2/secure/lib/libcrypto/man/man7/ |
| H A D | Makefile | 36 MAN+= EVP_MAC-CMAC.7 128 MLINKS+= EVP_PKEY-HMAC.7 EVP_KEYMGMT-CMAC.7 147 MLINKS+= EVP_PKEY-HMAC.7 EVP_PKEY-CMAC.7 154 MLINKS+= EVP_SIGNATURE-HMAC.7 EVP_SIGNATURE-CMAC.7
|
| /freebsd-14.2/contrib/ntp/include/ |
| H A D | ntp_md5.h | 28 # define CMAC "AES128CMAC" macro
|
| /freebsd-14.2/contrib/ntp/ntpq/ |
| H A D | ntpq.c | 46 # 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()
|
| /freebsd-14.2/crypto/openssl/doc/man3/ |
| H A D | EVP_PKEY_new.pod | 78 "SIPHASH", "HMAC", "CMAC". This usage is considered legacy and is discouraged 156 creation of a CMAC in the B<cipher> argument. The cipher should be a standard
|
| H A D | EVP_DigestSignInit.pod | 70 "signing". Built-in EVP_PKEY types supported by these functions are CMAC, 106 =item CMAC, Poly1305 and SipHash
|
| H A D | EVP_DigestVerifyInit.pod | 97 =item CMAC, Poly1305 and Siphash
|
| /freebsd-14.2/crypto/openssl/crypto/objects/ |
| H A D | objects.txt | 1473 camellia 10 : CAMELLIA-128-CMAC : camellia-128-cmac 1483 camellia 30 : CAMELLIA-192-CMAC : camellia-192-cmac 1493 camellia 50 : CAMELLIA-256-CMAC : camellia-256-cmac 1572 # Nor CMAC either 1573 : CMAC : cmac
|