Searched refs:salt (Results 1 – 6 of 6) sorted by relevance
/hardware/interfaces/gatekeeper/1.0/software/ |
D | SoftGateKeeper.h | 38 uint64_t salt; member 75 uint32_t password_length, salt_t salt) const { in ComputePasswordSignature() argument 77 crypto_scrypt(password, password_length, reinterpret_cast<uint8_t*>(&salt), sizeof(salt), N, in ComputePasswordSignature() 126 fast_hash_t ComputeFastHash(const SizedBuffer& password, uint64_t salt) { in ComputeFastHash() argument 128 size_t digest_size = password.size() + sizeof(salt); in ComputeFastHash() 130 memcpy(digest.get(), &salt, sizeof(salt)); in ComputeFastHash() 131 memcpy(digest.get() + sizeof(salt), password.Data<uint8_t>(), password.size()); in ComputeFastHash() 135 fast_hash.salt = salt; in ComputeFastHash() 140 fast_hash_t computed = ComputeFastHash(password, fast_hash.salt); in VerifyFast() 151 uint64_t salt; in DoVerify() local [all …]
|
/hardware/interfaces/identity/support/include/android/hardware/identity/support/ |
D | IdentityCredentialSupport.h | 201 optional<vector<uint8_t>> hkdf(const vector<uint8_t>& sharedSecret, const vector<uint8_t>& salt,
|
/hardware/interfaces/identity/aidl/vts/ |
D | VtsHalIdentityEndToEndTest.cpp | 461 vector<uint8_t> salt = {0x00}; in TEST_P() local 464 support::hkdf(sharedSecretWithSessionTranscriptBytes, salt, info, 32); in TEST_P()
|
/hardware/interfaces/identity/aidl/default/ |
D | IdentityCredential.cpp | 808 vector<uint8_t> salt = {0x00}; in finishRetrieval() local 811 support::hkdf(sharedSecretWithSessionTranscriptBytes, salt, info, 32); in finishRetrieval()
|
/hardware/interfaces/identity/support/src/ |
D | IdentityCredentialSupport.cpp | 1401 optional<vector<uint8_t>> hkdf(const vector<uint8_t>& sharedSecret, const vector<uint8_t>& salt, in hkdf() argument 1406 sharedSecret.size(), salt.data(), salt.size(), info.data(), info.size()) != 1) { in hkdf()
|
/hardware/interfaces/keymaster/4.0/ |
D | IKeymasterDevice.hal | 999 * return ErrorCode::INCOMPATIBLE_DIGEST. The salt size must be D. 1254 * o PaddingMode::RSA_PSS. For PSS-padded signature operations, the PSS salt length must match
|