Home
last modified time | relevance | path

Searched refs:info_len (Results 1 – 9 of 9) sorted by relevance

/system/keymaster/km_openssl/
Dhkdf.cpp24 bool Rfc5869Sha256Kdf::GenerateKey(const uint8_t* info, size_t info_len, uint8_t* output, in GenerateKey() argument
57 UniquePtr<uint8_t[]> buf(new (std::nothrow) uint8_t[digest_size_ + info_len + 1]); in GenerateKey()
70 if (info != nullptr && info_len > 0) memcpy(buf.get() + block_input_len, info, info_len); in GenerateKey()
71 block_input_len += info_len; in GenerateKey()
Diso18033kdf.cpp29 bool Iso18033Kdf::GenerateKey(const uint8_t* info, size_t info_len, uint8_t* output, in GenerateKey() argument
61 if (info != nullptr && info_len > 0) { in GenerateKey()
62 if (!EVP_DigestUpdate(&ctx, info, info_len)) return false; in GenerateKey()
/system/keymaster/include/keymaster/km_openssl/
Diso18033kdf.h54 bool GenerateKey(const uint8_t* info, size_t info_len, uint8_t* output,
Dhkdf.h44 bool GenerateKey(const uint8_t* info, size_t info_len, uint8_t* output,
Dkdf.h37 virtual bool GenerateKey(const uint8_t* info, size_t info_len, uint8_t* output,
/system/nfc/src/nfc/llcp/
Dllcp_dlc.cc857 uint16_t info_len, available_bytes; in llcp_dlc_proc_i_pdu() local
883 info_len = i_pdu_length - LLCP_PDU_HEADER_SIZE - LLCP_SEQUENCE_SIZE; in llcp_dlc_proc_i_pdu()
885 if (info_len > p_dlcb->local_miu) { in llcp_dlc_proc_i_pdu()
889 p_dlcb->local_miu, info_len); in llcp_dlc_proc_i_pdu()
954 if (available_bytes >= LLCP_PDU_AGF_LEN_SIZE + info_len) { in llcp_dlc_proc_i_pdu()
959 UINT16_TO_BE_STREAM(p_dst, info_len); in llcp_dlc_proc_i_pdu()
964 memcpy(p_dst, p, info_len); in llcp_dlc_proc_i_pdu()
966 p_last_buf->len += LLCP_PDU_AGF_LEN_SIZE + info_len; in llcp_dlc_proc_i_pdu()
984 UINT16_TO_BE_STREAM(p, info_len); in llcp_dlc_proc_i_pdu()
998 UINT16_TO_BE_STREAM(p_dst, info_len); in llcp_dlc_proc_i_pdu()
[all …]
/system/security/keystore2/src/crypto/
Dcrypto.hpp49 const uint8_t *info, size_t info_len);
Dcrypto.cpp216 const uint8_t* info, size_t info_len) { in HKDFExpand() argument
218 auto result = HKDF_expand(out_key, out_len, digest, prk, prk_len, info, info_len); in HKDFExpand()
/system/keymaster/key_blob_utils/
Dauth_encrypted_key_blob.cpp59 size_t info_len = sizeof(kAesGcmDescriptor) + hidden.SerializedSize() + in BuildAesGcmInfo() local
61 Buffer info(info_len); in BuildAesGcmInfo()