Home
last modified time | relevance | path

Searched defs:master_key (Results 1 – 23 of 23) sorted by relevance

/aosp_15_r20/test/vts-testcase/kernel/encryption/
Dfile_based_encryption_tests.cpp586 bool FBEPolicyTest::SetMasterKey(const std::vector<uint8_t> &master_key, in SetMasterKey()
629 std::vector<uint8_t> master_key, exported_key; in CreateAndSetHwWrappedKey() local
790 static bool DeriveKey(const std::vector<uint8_t> &master_key, in DeriveKey()
807 const std::vector<uint8_t> &master_key) { in VerifyKeyIdentifier()
822 const std::vector<uint8_t> &master_key, int mode, in DerivePerModeEncryptionKey()
837 const std::vector<uint8_t> &master_key, const FscryptFileNonce &nonce, in DerivePerFileEncryptionKey()
848 static bool HashInodeNumber(const std::vector<uint8_t> &master_key, in HashInodeNumber()
927 static bool InitIVForInoLblk32(const std::vector<uint8_t> &master_key, in InitIVForInoLblk32()
941 auto master_key = GenerateTestKey(kFscryptMasterKeySize); in TEST_F() local
966 auto master_key = GenerateTestKey(kFscryptMasterKeySize); in TEST_F() local
[all …]
Dutils.cpp514 bool CreateHwWrappedKey(std::vector<uint8_t> *master_key, in CreateHwWrappedKey()
609 KdfVariant kdf_id, const std::vector<uint8_t> &master_key, in DeriveHwWrappedEncryptionKeyByKdfId()
618 bool DeriveHwWrappedEncryptionKey(const std::vector<uint8_t> &master_key, in DeriveHwWrappedEncryptionKey()
628 KdfVariant kdf_id, const std::vector<uint8_t> &master_key, in DeriveHwWrappedRawSecretByKdfId()
637 bool DeriveHwWrappedRawSecret(const std::vector<uint8_t> &master_key, in DeriveHwWrappedRawSecret()
708 const std::vector<uint8_t> master_key = { in TEST() local
Dmetadata_encryption_tests.cpp282 std::vector<uint8_t> master_key, exported_key; in TEST_F() local
/aosp_15_r20/system/keymaster/key_blob_utils/
H A Dauth_encrypted_key_blob.cpp97 const KeymasterKeyBlob& master_key) { in DeriveAesGcmKeyEncryptionKey()
128 const KeymasterKeyBlob& master_key, // in AesGcmEncryptKey()
169 const KeymasterKeyBlob& master_key) { in AesGcmDecryptKey()
306 const KeymasterKeyBlob& master_key, const RandomSource& random) { in EncryptKey()
339 const KeymasterKeyBlob& master_key) { in DecryptKey()
H A Docb_utils.cpp68 const KeymasterKeyBlob& master_key, in InitializeKeyWrappingContext()
114 const KeymasterKeyBlob& master_key, in OcbEncryptKey()
146 const KeymasterKeyBlob& master_key, in OcbDecryptKey()
/aosp_15_r20/trusty/user/app/keymaster/
Dtrusty_keymaster_context.cpp424 KeymasterKeyBlob master_key; in CreateAuthEncryptedKeyBlob() local
698 KeymasterKeyBlob master_key; in ParseKeyBlob() local
826 KeymasterKeyBlob* master_key, in DeriveMasterKey()
/aosp_15_r20/external/wpa_supplicant_8/src/crypto/
H A Dms_funcs.c326 u8 *master_key) in get_master_key()
357 int get_asymetric_start_key(const u8 *master_key, u8 *session_key, in get_asymetric_start_key()
H A Dcrypto_module_tests.c2505 u8 master_key[] = { in test_ms_funcs() local
H A Dtls_wolfssl.c2078 byte *master_key; in tls_connection_get_eap_fast_key() local
H A Dtls_openssl.c4484 unsigned char master_key[64]; in tls_connection_get_eap_fast_key() local
/aosp_15_r20/external/wpa_supplicant_8/src/eap_peer/
H A Dmschapv2.c42 u8 *master_key) in mschapv2_derive_response()
H A Deap_mschapv2.c93 u8 master_key[MSCHAPV2_MASTER_KEY_LEN]; member
H A Deap_ttls.c53 u8 master_key[MSCHAPV2_MASTER_KEY_LEN]; /* MSCHAPv2 master key */ member
/aosp_15_r20/external/libsrtp2/srtp/
H A Dekt.c173 const uint8_t *master_key; in srtp_stream_init_from_ekt() local
H A Dsrtp.c594 uint8_t master_key[MAX_SRTP_AESKEY_LEN]; member
866 srtp_master_key_t *master_key, in srtp_stream_init_keys()
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/programs/psa/
H A Dkey_ladder_demo.c214 psa_key_id_t *master_key) in import_key_from_file()
/aosp_15_r20/external/mbedtls/programs/psa/
H A Dkey_ladder_demo.c214 psa_key_id_t *master_key) in import_key_from_file()
/aosp_15_r20/external/wpa_supplicant_8/src/eap_server/
H A Deap_server_mschapv2.c53 u8 master_key[16]; member
/aosp_15_r20/external/webrtc/pc/
H A Dmedia_session.cc146 std::string master_key; in CreateCryptoParams() local
/aosp_15_r20/external/curl/lib/vtls/
H A Dopenssl.c891 unsigned char master_key[SSL_MAX_MASTER_KEY_LENGTH]; in ossl_log_tls12_secret() local
/aosp_15_r20/external/mbedtls/library/
H A Dssl_tls.c6077 mbedtls_svc_key_id_t master_key = MBEDTLS_SVC_KEY_ID_INIT; in tls_prf_generic() local
/aosp_15_r20/external/rust/crates/openssl/src/ssl/
Dmod.rs2198 pub fn master_key(&self, buf: &mut [u8]) -> usize { in master_key() method
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/library/
H A Dssl_tls.c6754 mbedtls_svc_key_id_t master_key = MBEDTLS_SVC_KEY_ID_INIT; in tls_prf_generic() local