Searched refs:CMAC (Results 1 - 7 of 7) sorted by relevance

/freebsd-13-stable/contrib/ntp/libntp/
H A Dssl_init.c24 # define CMAC "AES128CMAC" macro
113 * recognized but matches our CMAC string use NID_cmac, or if
130 if (!key_type && !strncmp(CMAC, upcased, strlen(CMAC) + 1)) {
135 __FILE__, __LINE__, __func__, CMAC);
164 __FILE__, __LINE__, __func__, CMAC);
219 name = CMAC;
223 __FILE__, __LINE__, __func__, CMAC);
H A Da_md5encrypt.c59 /* Check if CMAC key type specific code required */
75 msyslog(LOG_ERR, "MAC encrypt: CMAC %s CTX new failed.", CMAC);
79 msyslog(LOG_ERR, "MAC encrypt: CMAC %s Init failed.", CMAC);
83 msyslog(LOG_ERR, "MAC encrypt: CMAC %s buf too small.", CMAC);
87 msyslog(LOG_ERR, "MAC encrypt: CMAC %s Update failed.", CMAC);
91 msyslog(LOG_ERR, "MAC encrypt: CMAC
[all...]
/freebsd-13-stable/contrib/ntp/sntp/tests/
H A Dcrypto.c8 #define CMAC "AES128CMAC" macro
102 memcpy(&cmac.typen, CMAC, strlen(CMAC) + 1);
184 memcpy(&cmac.typen, CMAC, strlen(CMAC) + 1);
216 TEST_IGNORE_MESSAGE("Hook in the local AES-128-CMAC check!");
H A DpacketProcessing.c8 #define CMAC "AES128CMAC" macro
469 PrepareAuthenticationTest(30, CMAC_LENGTH, CMAC, "abcdefghijklmnop");
488 TEST_IGNORE_MESSAGE("OpenSSL CMAC not used, skipping...");
/freebsd-13-stable/contrib/ntp/sntp/
H A Dcrypto.c44 /* Check if CMAC key type specific code required */
58 msyslog(LOG_ERR, "make_mac: CMAC %s CTX new failed.", CMAC);
62 msyslog(LOG_ERR, "make_mac: CMAC %s Init failed.", CMAC);
65 msyslog(LOG_ERR, "make_mac: CMAC %s Update failed.", CMAC);
68 msyslog(LOG_ERR, "make_mac: CMAC %s Final failed.", CMAC);
75 /* Test our AES-128-CMAC implementatio
[all...]
/freebsd-13-stable/contrib/ntp/include/
H A Dntp_md5.h14 # define CMAC "AES128CMAC" macro
/freebsd-13-stable/contrib/ntp/ntpq/
H A Dntpq.c47 # define CMAC "AES128CMAC" macro
3947 /* Insert CMAC into SSL digests list */
3956 /* If list empty, we need to insert CMAC on new line */
3960 len = strlen(K_NL_PFX_STR) + strlen(CMAC);
3962 sprintf(list, "%s%s", K_NL_PFX_STR, CMAC);
3964 /* Check if CMAC already in list - future proofing */
3972 /* CMAC in list if found, followed by nul char or ',' */
4011 /* Found insertion point where CMAC before entry? */
4012 if (strncmp(CMAC, point, delim - point) < 0) {
4031 len += strlen(CMAC)
[all...]

Completed in 222 milliseconds