Home
last modified time | relevance | path

Searched refs:k2 (Results 1 – 25 of 27) sorted by relevance

12

/openbmc/phosphor-net-ipmid/
H A Dcrypt_algo.hpp46 explicit Interface(const std::vector<uint8_t>& k2) : k2(k2) {} in Interface() argument
105 std::vector<uint8_t> k2; member in cipher::crypt::Interface
144 explicit AlgoAES128(const std::vector<uint8_t>& k2) : Interface(k2) {} in AlgoAES128() argument
H A Dcrypt_algo.cpp114 if (!EVP_DecryptInit_ex(ctxPtr.get(), EVP_aes_128_cbc(), NULL, k2.data(), in decryptData()
175 if (!EVP_EncryptInit_ex(ctxPtr.get(), EVP_aes_128_cbc(), NULL, k2.data(), in encryptData()
/openbmc/phosphor-host-ipmid/test/message/
H A Dunpack.cpp240 uint5_t k2 = 0x19; in TEST() local
243 ASSERT_EQ(v2, k2); in TEST()
258 uint4_t k2 = 0x9; in TEST() local
261 ASSERT_EQ(v2, k2); in TEST()
296 bool k4 = true, k3 = false, k2 = false, k1 = true; in TEST() local
298 ASSERT_EQ(v2, k2); in TEST()
322 bool k4 = true, k3 = false, k2 = false, k1 = true; in TEST() local
324 ASSERT_EQ(v2, k2); in TEST()
347 bool k4 = true, k3 = false, k2 = false, k1 = true; in TEST() local
349 ASSERT_EQ(v2, k2); in TEST()
[all …]
H A Dpayload.cpp104 ipmi::SecureBuffer k2 = {0b11100101, 0b01110111}; in TEST() local
105 ASSERT_EQ(p.raw, k2); in TEST()
287 uint16_t k2 = 0x8604; in TEST() local
289 ASSERT_EQ(v2, k2); in TEST()
312 uint32_t k2 = 0x02008604; in TEST() local
313 ASSERT_EQ(v2, k2); in TEST()
/openbmc/phosphor-net-ipmid/test/
H A Dcipher.cpp353 std::vector<uint8_t> k2(SHA_DIGEST_LENGTH); in TEST() local
362 k2.data(), &mdLen) == NULL) in TEST()
367 auto cryptPtr = std::make_unique<cipher::crypt::AlgoAES128>(k2); in TEST()
379 if (!EVP_DecryptInit_ex(ctx, EVP_aes_128_cbc(), NULL, k2.data(), in TEST()
427 std::vector<uint8_t> k2(SHA_DIGEST_LENGTH); in TEST() local
444 k2.data(), &mdLen) == NULL) in TEST()
449 if (!EVP_EncryptInit_ex(ctx, EVP_aes_128_cbc(), NULL, k2.data(), in TEST()
475 auto cryptPtr = std::make_unique<cipher::crypt::AlgoAES128>(k2); in TEST()
/openbmc/u-boot/configs/
H A Dnanopi-k2_defconfig6 CONFIG_IDENT_STRING=" nanopi-k2"
22 CONFIG_DEFAULT_DEVICE_TREE="meson-gxbb-nanopi-k2"
/openbmc/openbmc/meta-facebook/meta-santabarbara/recipes-phosphor/mctp/files/
H A Dmctp_setup.sh51 hub_ports=$(echo "$hub_devices" | grep "$hub_id" | grep -oE "\.port[0-9]" | sort -n -t. -k2)
76 hub_ports=$(echo "$hub_devices" | grep "$hub_id" | grep -oE "\.port[0-9]" | sort -n -t. -k2)
/openbmc/intel-ipmi-oem/tests/
H A Dtest_sensorcommands.cpp27 double k2 = k2_rExp; in ipmitool_y_from_x() local
36 result = (double)(((m * val) + (b * pow(10, k1))) * pow(10, k2)); in ipmitool_y_from_x()
45 (double)(((m * (int8_t)val) + (b * pow(10, k1))) * pow(10, k2)); in ipmitool_y_from_x()
/openbmc/phosphor-host-ipmid/test/dbus-sdr/
H A Dsensorcommands_unittest.cpp27 double k2 = k2_rExp; in ipmitool_y_from_x() local
36 result = (double)(((m * val) + (b * pow(10, k1))) * pow(10, k2)); in ipmitool_y_from_x()
45 (double)(((m * (int8_t)val) + (b * pow(10, k1))) * pow(10, k2)); in ipmitool_y_from_x()
/openbmc/phosphor-net-ipmid/command/
H A Drakp34.cpp55 auto k2 = intAlgo->generateKn(authAlgo->sessionIntegrityKey, in applyCryptAlgo() local
58 std::make_unique<cipher::crypt::AlgoAES128>(k2)); in applyCryptAlgo()
/openbmc/qemu/hw/arm/
H A Dsmmu-common.c53 SMMUIOTLBKey *k1 = (SMMUIOTLBKey *)v1, *k2 = (SMMUIOTLBKey *)v2; in smmu_iotlb_key_equal() local
55 return (k1->asid == k2->asid) && (k1->iova == k2->iova) && in smmu_iotlb_key_equal()
56 (k1->level == k2->level) && (k1->tg == k2->tg) && in smmu_iotlb_key_equal()
57 (k1->vmid == k2->vmid); in smmu_iotlb_key_equal()
/openbmc/ipmitool/src/plugins/lanplus/
H A Dlanplus_crypt.c656 memcpy(session->v2_data.k2, CONST_2, 20); in lanplus_generate_k2()
664 session->v2_data.k2, in lanplus_generate_k2()
670 printbuf(session->v2_data.k2, 20, "Generated K2"); in lanplus_generate_k2()
H A Dlanplus.c674 session->v2_data.k2, in ipmi_lan_poll_single()
1741 session->v2_data.k2, /* input */ in ipmi_lanplus_build_v2x_msg()
/openbmc/openbmc/poky/scripts/contrib/bb-perf/
H A Dbuildstats-plot.sh149 …cat $OUTBUILDSTATS | sed -e '1d' | datamash -t ' ' -g1 ${sumargs[*]} | sort -k2 -n -r > $OUTDATA_F…
/openbmc/openbmc/poky/bitbake/lib/bblayers/
H A Dquery.py392 for k2 in k1:
393 sorted_rdeps[k2] = 1
409 for k2 in k1:
410 sorted_rrecs[k2] = 1
/openbmc/ipmitool/include/ipmitool/
H A Dipmi_intf.h137 uint8_t k2[20]; /* First 16 bytes used for AES */ member
/openbmc/ipmitool/lib/
H A Dipmi_sdr.c187 int m, b, k1, k2; in sdr_convert_sensor_reading() local
193 k2 = __TO_R_EXP(sensor->bacc); in sdr_convert_sensor_reading()
198 (b * pow(10, k1))) * pow(10, k2)); in sdr_convert_sensor_reading()
206 (b * pow(10, k1))) * pow(10, k2)); in sdr_convert_sensor_reading()
269 int m, k2; in sdr_convert_sensor_hysterisis() local
274 k2 = __TO_R_EXP(sensor->bacc); in sdr_convert_sensor_hysterisis()
278 result = (double) (((m * val)) * pow(10, k2)); in sdr_convert_sensor_hysterisis()
285 result = (double) (((m * (int8_t) val) ) * pow(10, k2)); in sdr_convert_sensor_hysterisis()
344 int m, k2; in sdr_convert_sensor_tolerance() local
348 k2 = __TO_R_EXP(sensor->bacc); in sdr_convert_sensor_tolerance()
[all …]
/openbmc/u-boot/arch/arm/dts/
H A Dmeson-gxbb-nanopi-k2.dts12 compatible = "friendlyarm,nanopi-k2", "amlogic,meson-gxbb";
32 label = "nanopi-k2:blue:stat";
H A DMakefile97 meson-gxbb-nanopi-k2.dtb \
99 meson-gxbb-nanopi-k2.dtb \
/openbmc/qemu/tests/tcg/i386/
H A Dx86.csv954 "KADDB k1, kV, k2","KADDB k2, kV, k1","kaddb k2, kV, k1","VEX.NDS.256.66.0F.W0 4A /r","V","V","AVX5…
955 "KADDD k1, kV, k2","KADDD k2, kV, k1","kaddd k2, kV, k1","VEX.NDS.256.66.0F.W1 4A /r","V","V","AVX5…
956 "KADDQ k1, kV, k2","KADDQ k2, kV, k1","kaddq k2, kV, k1","VEX.NDS.256.0F.W1 4A /r","V","V","AVX512B…
957 "KADDW k1, kV, k2","KADDW k2, kV, k1","kaddw k2, kV, k1","VEX.NDS.256.0F.W0 4A /r","V","V","AVX512D…
958 "KANDB k1, kV, k2","KANDB k2, kV, k1","kandb k2, kV, k1","VEX.NDS.256.66.0F.W0 41 /r","V","V","AVX5…
959 "KANDD k1, kV, k2","KANDD k2, kV, k1","kandd k2, kV, k1","VEX.NDS.256.66.0F.W1 41 /r","V","V","AVX5…
960 "KANDNB k1, kV, k2","KANDNB k2, kV, k1","kandnb k2, kV, k1","VEX.NDS.256.66.0F.W0 42 /r","V","V","A…
961 "KANDND k1, kV, k2","KANDND k2, kV, k1","kandnd k2, kV, k1","VEX.NDS.256.66.0F.W1 42 /r","V","V","A…
962 "KANDNQ k1, kV, k2","KANDNQ k2, kV, k1","kandnq k2, kV, k1","VEX.NDS.256.0F.W1 42 /r","V","V","AVX5…
963 "KANDNW k1, kV, k2","KANDNW k2, kV, k1","kandnw k2, kV, k1","VEX.NDS.256.0F.W0 42 /r","V","V","AVX5…
[all …]
/openbmc/u-boot/scripts/kconfig/
H A Dexpr.c1030 enum string_value_kind k1 = k_string, k2 = k_string; in expr_calc_value() local
1071 k2 = expr_parse_string(str2, e->right.sym->type, &rval); in expr_calc_value()
1074 if (k1 == k_string || k2 == k_string) in expr_calc_value()
1076 else if (k1 == k_invalid || k2 == k_invalid) { in expr_calc_value()
1082 } else if (k1 == k_unsigned || k2 == k_unsigned) in expr_calc_value()
/openbmc/u-boot/board/amlogic/odroid-c2/
H A DREADME.nanopi-k245 > git clone https://github.com/friendlyarm/u-boot.git -b nanopi-k2-v2015.01 amlogic-u-boot
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/static/js/
H A Dqunit-1.18.0.js199 …delta,front,k1start,k1end,k2start,k2end,k2Offset,k1Offset,x1,x2,y1,y2,d,k1,k2;text1Length=text1.le…
205 for(k2=-d+k2start;k2<=d-k2end;k2+=2){k2Offset=vOffset+k2;if(k2===-d||(k2!==d&&v2[k2Offset-1]<v2[k2O…
206 y2=x2-k2;while(x2<text1Length&&y2<text2Length&&text1.charAt(text1Length-x2-1)===text2.charAt(text2L…
207 …else if(y2>text2Length){k2start+=2;}else if(!front){k1Offset=vOffset+delta-k2;if(k1Offset>=0&&k1Of…
/openbmc/u-boot/drivers/phy/
H A DKconfig173 Support for the USB PHY found on some Keystone (k2) processors
/openbmc/openbmc/poky/bitbake/lib/bb/
H A Dcooker.py638 k2 = k.split(":do_")
639 k = k2[0]
640 ktask = k2[1]

12