Searched refs:salt (Results 1 - 11 of 11) sorted by relevance
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/system/upg/ |
H A D | kernel_crypto.c | 129 ctrl.salt = rootkey_iv; in crypto_prepare() 341 hi_u8 salt[IV_BYTE_LENGTH]; in crypto_gen_key_content() local 345 (hi_void)hi_cipher_trng_get_random_bytes(salt, IV_BYTE_LENGTH); in crypto_gen_key_content() 353 ctrl.salt = salt; in crypto_gen_key_content() 354 ctrl.salt_len = sizeof(salt); in crypto_gen_key_content() 603 hi_u8 salt[ROOTKEY_IV_BYTE_LENGTH] = {0}; in crypto_upg_file_prepare() local 605 ret = (hi_u32)memcpy_s((hi_void *)salt, sizeof(salt), (hi_void *)(para->upg_salt), IV_BYTE_LENGTH); in crypto_upg_file_prepare() 610 ret = (hi_u32)memcpy_s((hi_void *)(salt in crypto_upg_file_prepare() [all...] |
H A D | upg_check_boot_bin.c | 211 ctrl->salt = rootkey_iv; in upg_boot_decrypt()
|
H A D | upg_common.c | 1024 ctrl->salt = rootkey_iv; in upg_set_kdf_key()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/mbedtls/include/mbedtls/ |
H A D | hkdf.h | 55 * \param salt An optional salt value (a non-secret random value); 56 * if the salt is not provided, a string of all zeros of 57 * md.size length is used as the salt. 58 * \param salt_len The length in bytes of the optional \p salt. 73 int mbedtls_hkdf( const mbedtls_md_info_t *md, const unsigned char *salt, 89 * \param salt An optional salt value (a non-secret random value); 90 * if the salt is not provided, a string of all zeros 91 * of md.size length is used as the salt [all...] |
H A D | pkcs12.h | 101 * \brief The PKCS#12 derivation function uses a password and a salt 112 * \param salt salt buffer to use 113 * \param saltlen length of the salt 123 const unsigned char *salt, size_t saltlen,
|
H A D | pkcs5.h | 81 * \param salt Salt to use when generating key 82 * \param slen Length of salt 90 size_t plen, const unsigned char *salt, size_t slen,
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/secure/ |
H A D | crypto.c | 165 ctrl.salt = rootkey_iv; in crypto_prepare() 392 hi_u8 salt[IV_BYTE_LENGTH]; in crypto_gen_key_content() local 396 (hi_void)hi_cipher_trng_get_random_bytes(salt, IV_BYTE_LENGTH); in crypto_gen_key_content() 405 ctrl.salt = salt; in crypto_gen_key_content() 406 ctrl.salt_len = sizeof(salt); in crypto_gen_key_content() 835 hi_u8 salt[ROOTKEY_IV_BYTE_LENGTH] = {0}; in boot_crypto_upg_file_prepare() local 837 hi_u32 cs = (uintptr_t)salt ^ sizeof(salt) ^ (uintptr_t)(para->upg_salt) ^ IV_BYTE_LENGTH; in boot_crypto_upg_file_prepare() 838 ret = memcpy_s((hi_void *)salt, sizeo in boot_crypto_upg_file_prepare() [all...] |
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/secure/ |
H A D | load_crypto.c | 115 ctrl.salt = rootkey_iv; in crypto_prepare() 339 hi_u8 salt[IV_BYTE_LENGTH]; in crypto_gen_key_content() local 343 (hi_void)hi_cipher_trng_get_random_bytes(salt, IV_BYTE_LENGTH); in crypto_gen_key_content() 352 ctrl.salt = salt; in crypto_gen_key_content() 353 ctrl.salt_len = sizeof(salt); in crypto_gen_key_content()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/commonboot/ |
H A D | hi_cipher.h | 178 const hi_u8 *salt; /* salt for kdf key derivation. */ member
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/include/ |
H A D | hks_client.h | 482 * @param salt [IN] type #const struct hks_blob *, 483 Derived salt value,salt.size must be greater than or equal to 16。 484 CNcomment:派生使用的盐值,salt.size必须大于或等于16。CNend 496 const struct hks_blob *salt, const struct hks_blob *label);
|
H A D | hi_cipher.h | 224 const hi_u8 *salt; /**< salt for kdf key derivation. */ member
|
Completed in 10 milliseconds