Searched refs:hmac_key (Results 1 - 6 of 6) sorted by relevance
/freebsd-11-stable/crypto/openssl/crypto/evp/ |
H A D | e_rc4_hmac_md5.c | 235 unsigned char hmac_key[64]; local 237 memset(hmac_key, 0, sizeof(hmac_key)); 239 if (arg > (int)sizeof(hmac_key)) { 242 MD5_Final(hmac_key, &key->head); 244 memcpy(hmac_key, ptr, arg); 247 for (i = 0; i < sizeof(hmac_key); i++) 248 hmac_key[i] ^= 0x36; /* ipad */ 250 MD5_Update(&key->head, hmac_key, sizeof(hmac_key)); [all...] |
H A D | e_aes_cbc_hmac_sha1.c | 827 unsigned char hmac_key[64]; local 829 memset(hmac_key, 0, sizeof(hmac_key)); 831 if (arg > (int)sizeof(hmac_key)) { 834 SHA1_Final(hmac_key, &key->head); 836 memcpy(hmac_key, ptr, arg); 839 for (i = 0; i < sizeof(hmac_key); i++) 840 hmac_key[i] ^= 0x36; /* ipad */ 842 SHA1_Update(&key->head, hmac_key, sizeof(hmac_key)); [all...] |
H A D | e_aes_cbc_hmac_sha256.c | 806 unsigned char hmac_key[64]; local 808 memset(hmac_key, 0, sizeof(hmac_key)); 810 if (arg > (int)sizeof(hmac_key)) { 813 SHA256_Final(hmac_key, &key->head); 815 memcpy(hmac_key, ptr, arg); 818 for (i = 0; i < sizeof(hmac_key); i++) 819 hmac_key[i] ^= 0x36; /* ipad */ 821 SHA256_Update(&key->head, hmac_key, sizeof(hmac_key)); [all...] |
/freebsd-11-stable/sys/mips/rmi/dev/sec/ |
H A D | rmilib.c | 1261 uint64_t *hmac_key = NULL; local 1281 hmac_key = &ctl_desc->cipherHashInfo.infoHMAC.hmacKey0; 1294 hmac_key = &ctl_desc->cipherHashInfo.infoARC4HMAC.hmacKey0; 1312 hmac_key = &ctl_desc->cipherHashInfo.infoARC4StateHMAC.hmacKey0; 1327 hmac_key = &ctl_desc->cipherHashInfo.infoKASUMIF8HMAC.hmacKey0; 1335 hmac_key = &ctl_desc->cipherHashInfo.infoKASUMIF8HMAC2.hmacKey0; 1343 hmac_key = &ctl_desc->cipherHashInfo.infoKASUMIF8GCM.GCMH0; 1351 hmac_key = &ctl_desc->cipherHashInfo.infoKASUMIF8F9.authKey0; 1358 hmac_key = &ctl_desc->cipherHashInfo.infoDESHMAC.hmacKey0; 1372 hmac_key [all...] |
/freebsd-11-stable/crypto/openssl/apps/ |
H A D | dgst.c | 129 char *hmac_key = NULL; local 213 hmac_key = "etaonrishdlcupfm"; 219 hmac_key = *++argv; 348 if ((! !mac_name + ! !keyfile + ! !hmac_key) > 1) { 404 if (hmac_key) { 406 (unsigned char *)hmac_key, -1);
|
/freebsd-11-stable/contrib/unbound/util/ |
H A D | net_help.c | 85 unsigned char *hmac_key; member in struct:tls_session_ticket_key 1436 keys->hmac_key = data + 48; 1498 ticket_keys->hmac_key, 32); 1508 if (HMAC_Init_ex(hmac_ctx, ticket_keys->hmac_key, 32, digest, NULL) != 1) { 1513 HMAC_Init_ex(hmac_ctx, ticket_keys->hmac_key, 32, digest, NULL); 1533 key->hmac_key, 32); 1543 if (HMAC_Init_ex(hmac_ctx, key->hmac_key, 32, digest, NULL) != 1) { 1548 HMAC_Init_ex(hmac_ctx, key->hmac_key, 32, digest, NULL);
|
Completed in 209 milliseconds