Searched refs:salt (Results 1 – 12 of 12) sorted by relevance
/device/google/cuttlefish/host/commands/secure_env/ |
D | soft_gatekeeper.h | 37 uint64_t salt; member 74 uint32_t password_length, salt_t salt) const { in ComputePasswordSignature() argument 76 crypto_scrypt(password, password_length, reinterpret_cast<uint8_t*>(&salt), sizeof(salt), N, in ComputePasswordSignature() 133 fast_hash_t ComputeFastHash(const SizedBuffer& password, uint64_t salt) { in ComputeFastHash() argument 135 size_t digest_size = password.size() + sizeof(salt); in ComputeFastHash() 137 memcpy(digest.get(), &salt, sizeof(salt)); in ComputeFastHash() 138 memcpy(digest.get() + sizeof(salt), password.Data<uint8_t>(), password.size()); in ComputeFastHash() 142 fast_hash.salt = salt; in ComputeFastHash() 147 fast_hash_t computed = ComputeFastHash(password, fast_hash.salt); in VerifyFast() 158 uint64_t salt; in DoVerify() local [all …]
|
D | tpm_gatekeeper.cpp | 73 gatekeeper::salt_t salt) const { in ComputePasswordSignature() 74 std::vector<uint8_t> message(password_length + sizeof(salt)); in ComputePasswordSignature() 76 memcpy(message.data() + password_length, &salt, sizeof(salt)); in ComputePasswordSignature()
|
D | tpm_gatekeeper.h | 50 gatekeeper::salt_t salt) const override;
|
/device/google/cuttlefish/guest/hals/identity/libeic/ |
D | EicPresentation.c | 542 uint8_t salt[EIC_SHA256_DIGEST_SIZE]; in eicPresentationCalcMacKey() local 543 eicCborFinal(&cbor, salt); in eicPresentationCalcMacKey() 547 if (!eicOpsHkdf(sharedSecret, EIC_P256_COORDINATE_SIZE, salt, sizeof(salt), in eicPresentationCalcMacKey()
|
D | EicOpsImpl.cc | 498 const uint8_t* salt, size_t saltSize, const uint8_t* info, in eicOpsHkdf() argument 503 memcpy(saltVec.data(), salt, saltSize); in eicOpsHkdf()
|
D | EicOps.h | 243 const uint8_t* salt, size_t saltSize, const uint8_t* info,
|
/device/google/sunfish-kernel/sm7150/kernel-headers/linux/ |
D | qseecom.h | 184 uint8_t salt[ICE_SALT_SIZE]; member
|
/device/google/coral-kernel/sm8150/original-kernel-headers/linux/ |
D | qseecom.h | 290 uint8_t salt[ICE_SALT_SIZE]; member
|
/device/google/redbull-kernel/sm7250/kernel-headers/linux/ |
D | qseecom.h | 172 uint8_t salt[ICE_SALT_SIZE]; member
|
/device/google/redbull-kernel/sm7250/original-kernel-headers/linux/ |
D | qseecom.h | 295 uint8_t salt[ICE_SALT_SIZE]; member
|
/device/google/sunfish-kernel/sm7150/original-kernel-headers/linux/ |
D | qseecom.h | 290 uint8_t salt[ICE_SALT_SIZE]; member
|
/device/google/coral-kernel/sm8150/kernel-headers/linux/ |
D | qseecom.h | 290 uint8_t salt[ICE_SALT_SIZE]; member
|