Home
last modified time | relevance | path

Searched refs:integrity_alg (Results 1 – 12 of 12) sorted by relevance

/openbmc/ipmitool/src/plugins/lanplus/
H A Dlanplus_crypt.c237 if (session->v2_data.integrity_alg == IPMI_INTEGRITY_NONE) in lanplus_rakp4_hmac_matches()
241 assert(session->v2_data.integrity_alg == IPMI_INTEGRITY_HMAC_SHA1_96); in lanplus_rakp4_hmac_matches()
305 ? session->v2_data.integrity_alg in lanplus_rakp4_hmac_matches()
811 (session->v2_data.integrity_alg == IPMI_INTEGRITY_NONE)) in lanplus_has_valid_auth_code()
815 assert(session->v2_data.integrity_alg == IPMI_INTEGRITY_HMAC_SHA1_96); in lanplus_has_valid_auth_code()
822 lanplus_HMAC(session->v2_data.integrity_alg, in lanplus_has_valid_auth_code()
H A Dlanplus.c168 uint8_t * integrity_alg, in lanplus_get_requested_ciphers() argument
179 *integrity_alg = IPMI_INTEGRITY_NONE; in lanplus_get_requested_ciphers()
184 *integrity_alg = IPMI_INTEGRITY_NONE; in lanplus_get_requested_ciphers()
189 *integrity_alg = IPMI_INTEGRITY_HMAC_SHA1_96; in lanplus_get_requested_ciphers()
194 *integrity_alg = IPMI_INTEGRITY_HMAC_SHA1_96; in lanplus_get_requested_ciphers()
209 *integrity_alg = IPMI_INTEGRITY_NONE; in lanplus_get_requested_ciphers()
234 *integrity_alg = IPMI_INTEGRITY_MD5_128; in lanplus_get_requested_ciphers()
239 *integrity_alg = IPMI_INTEGRITY_MD5_128; in lanplus_get_requested_ciphers()
244 *integrity_alg = IPMI_INTEGRITY_MD5_128; in lanplus_get_requested_ciphers()
249 *integrity_alg = IPMI_INTEGRITY_MD5_128; in lanplus_get_requested_ciphers()
[all …]
H A Dlanplus_dump.c80 val2str(rsp->payload.open_session_response.integrity_alg, in lanplus_dump_open_session_response()
/openbmc/ipmitool/lib/
H A Dipmi_channel.c354 uint8_t auth_alg, integrity_alg, crypt_alg; in ipmi_get_channel_cipher_suites() local
484 integrity_alg = IPMI_INTEGRITY_NONE; in ipmi_get_channel_cipher_suites()
498 integrity_alg = cipher_suite_data[offset++] & 0x3F; in ipmi_get_channel_cipher_suites()
512 val2str(integrity_alg, ipmi_integrity_algorithms), in ipmi_get_channel_cipher_suites()
/openbmc/ipmitool/include/ipmitool/
H A Dipmi.h205 uint8_t integrity_alg; member
H A Dipmi_intf.h114 uint8_t integrity_alg; member
/openbmc/openbmc-test-automation/ipmi/
H A Dtest_ipmi_cipher.robot64 # [integrity_alg]: hmac_sha1_96
70 # [integrity_alg]: sha256_128
/openbmc/linux/drivers/block/drbd/
H A Ddrbd_protocol.h310 char integrity_alg[]; member
H A Ddrbd_receiver.c3635 char integrity_alg[SHARED_SECRET_MAX] = ""; in receive_protocol() local
3650 if (pi->size > sizeof(integrity_alg)) in receive_protocol()
3652 err = drbd_recv_all(connection, integrity_alg, pi->size); in receive_protocol()
3655 integrity_alg[SHARED_SECRET_MAX - 1] = 0; in receive_protocol()
3697 if (strcmp(integrity_alg, nc->integrity_alg)) { in receive_protocol()
3705 if (integrity_alg[0]) { in receive_protocol()
3717 peer_integrity_tfm = crypto_alloc_shash(integrity_alg, 0, 0); in receive_protocol()
3721 integrity_alg); in receive_protocol()
3760 if (strcmp(old_net_conf->integrity_alg, integrity_alg)) in receive_protocol()
3762 integrity_alg[0] ? integrity_alg : "(none)"); in receive_protocol()
H A Ddrbd_main.c790 size += strlen(nc->integrity_alg) + 1; in __drbd_send_protocol()
805 strcpy(p->integrity_alg, nc->integrity_alg); in __drbd_send_protocol()
H A Ddrbd_nl.c2250 if (strcmp(new_net_conf->integrity_alg, old_net_conf->integrity_alg)) in _check_net_options()
2340 rv = alloc_shash(&crypto->integrity_tfm, new_net_conf->integrity_alg, in alloc_crypto()
/openbmc/linux/include/linux/
H A Ddrbd_genl.h149 __str_field_def(3, DRBD_GENLA_F_MANDATORY, integrity_alg, SHARED_SECRET_MAX)