Home
last modified time | relevance | path

Searched refs:salt (Results 1 – 12 of 12) sorted by relevance

/device/google/cuttlefish/host/commands/secure_env/
Dsoft_gatekeeper.h37 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 …]
Dtpm_gatekeeper.cpp73 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()
Dtpm_gatekeeper.h50 gatekeeper::salt_t salt) const override;
/device/google/cuttlefish/guest/hals/identity/libeic/
DEicPresentation.c542 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()
DEicOpsImpl.cc498 const uint8_t* salt, size_t saltSize, const uint8_t* info, in eicOpsHkdf() argument
503 memcpy(saltVec.data(), salt, saltSize); in eicOpsHkdf()
DEicOps.h243 const uint8_t* salt, size_t saltSize, const uint8_t* info,
/device/google/sunfish-kernel/sm7150/kernel-headers/linux/
Dqseecom.h184 uint8_t salt[ICE_SALT_SIZE]; member
/device/google/coral-kernel/sm8150/original-kernel-headers/linux/
Dqseecom.h290 uint8_t salt[ICE_SALT_SIZE]; member
/device/google/redbull-kernel/sm7250/kernel-headers/linux/
Dqseecom.h172 uint8_t salt[ICE_SALT_SIZE]; member
/device/google/redbull-kernel/sm7250/original-kernel-headers/linux/
Dqseecom.h295 uint8_t salt[ICE_SALT_SIZE]; member
/device/google/sunfish-kernel/sm7150/original-kernel-headers/linux/
Dqseecom.h290 uint8_t salt[ICE_SALT_SIZE]; member
/device/google/coral-kernel/sm8150/kernel-headers/linux/
Dqseecom.h290 uint8_t salt[ICE_SALT_SIZE]; member