Home
last modified time | relevance | path

Searched refs:userKey (Results 1 – 7 of 7) sorted by relevance

/openbmc/phosphor-net-ipmid/
H A Dauth_algo.cpp25 if (HMAC(EVP_sha1(), userKey.data(), userKey.size(), input.data(), in generateHMAC()
59 if (HMAC(EVP_sha256(), userKey.data(), userKey.size(), input.data(), in generateHMAC()
H A Dauth_algo.hpp121 std::array<uint8_t, USER_KEY_MAX_LENGTH> userKey = {"0penBmc"}; member in cipher::rakp_auth::Interface
/openbmc/qemu/include/crypto/
H A Daes.h20 int AES_set_encrypt_key(const unsigned char *userKey, const int bits,
22 int AES_set_decrypt_key(const unsigned char *userKey, const int bits,
/openbmc/linux/drivers/crypto/vmx/
H A Daesp8-ppc.h16 int aes_p8_set_encrypt_key(const u8 *userKey, const int bits,
18 int aes_p8_set_decrypt_key(const u8 *userKey, const int bits,
/openbmc/phosphor-net-ipmid/command/
H A Drakp12.cpp285 std::fill(authAlgo->userKey.data(), in RAKP12()
286 authAlgo->userKey.data() + authAlgo->userKey.size(), 0); in RAKP12()
287 std::copy_n(passwd.c_str(), passwd.size(), authAlgo->userKey.data()); in RAKP12()
/openbmc/qemu/crypto/
H A Daes.c1293 int AES_set_encrypt_key(const unsigned char *userKey, const int bits, in AES_set_encrypt_key() argument
1300 if (!userKey || !key) in AES_set_encrypt_key()
1314 rk[0] = GETU32(userKey ); in AES_set_encrypt_key()
1315 rk[1] = GETU32(userKey + 4); in AES_set_encrypt_key()
1316 rk[2] = GETU32(userKey + 8); in AES_set_encrypt_key()
1317 rk[3] = GETU32(userKey + 12); in AES_set_encrypt_key()
1336 rk[4] = GETU32(userKey + 16); in AES_set_encrypt_key()
1337 rk[5] = GETU32(userKey + 20); in AES_set_encrypt_key()
1358 rk[6] = GETU32(userKey + 24); in AES_set_encrypt_key()
1359 rk[7] = GETU32(userKey + 28); in AES_set_encrypt_key()
[all …]
/openbmc/linux/arch/powerpc/crypto/
H A Daes-gcm-p10-glue.c33 asmlinkage int aes_p10_set_encrypt_key(const u8 *userKey, const int bits,