Add cipher list json to the Witherspoon image
For IPMI v2.0/RMCP+ sessions, authentication, integrity and
confidentiality algorithms are involved. The algorithms used in
combination are called Cipher Suites. Each cipher suite has the
id as the key and a collection of algorithms.
Each algorithm has a number assigned in the IPMI specification.
Cipher data information can be read by the Get Channel Cipher
suites command, and the RMCP+ messaging Cipher Suite entries
support and the RMCP+ messaging Cipher Suite Entries parameter
of the Get LAN configuration parameters command.
Change-Id: I3460046a0c72acd5cb2f9066f264142a2378120c
Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/ipmi/phosphor-ipmi-host.bbappend b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/ipmi/phosphor-ipmi-host.bbappend
index a4a6618..27678bf 100644
--- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/ipmi/phosphor-ipmi-host.bbappend
+++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/ipmi/phosphor-ipmi-host.bbappend
@@ -4,6 +4,7 @@
file://dcmi_sensors.json \
file://power_reading.json \
file://hwmon_sensors.hardcoded.yaml \
+ file://cipher_list.json \
"
inherit image_version
diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/ipmi/phosphor-ipmi-host/cipher_list.json b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/ipmi/phosphor-ipmi-host/cipher_list.json
new file mode 100644
index 0000000..0f13b1e
--- /dev/null
+++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-witherspoon/recipes-phosphor/ipmi/phosphor-ipmi-host/cipher_list.json
@@ -0,0 +1,38 @@
+{
+ "a":{
+ "cipher":1,
+ "authentication":1,
+ "integrity":0,
+ "confidentiality":0
+ },
+ "b":{
+ "cipher":2,
+ "authentication":1,
+ "integrity":1,
+ "confidentiality":0
+ },
+ "c":{
+ "cipher":3,
+ "authentication":1,
+ "integrity":1,
+ "confidentiality":1
+ },
+ "d":{
+ "cipher":15,
+ "authentication":3,
+ "integrity":0,
+ "confidentiality":0
+ },
+ "e":{
+ "cipher":16,
+ "authentication":3,
+ "integrity":4,
+ "confidentiality":0
+ },
+ "f":{
+ "cipher":17,
+ "authentication":3,
+ "integrity":4,
+ "confidentiality":1
+ }
+}