Home
last modified time | relevance | path

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

/system/keymaster/km_openssl/
Dhkdf.cpp25 bool Rfc5869Sha256Kdf::GenerateKey(const uint8_t* info, size_t info_len, uint8_t* output, in GenerateKey() argument
64 UniquePtr<uint8_t[]> buf(new(std::nothrow) uint8_t[digest_size_ + info_len + 1]); in GenerateKey()
79 if (info != nullptr && info_len > 0) in GenerateKey()
80 memcpy(buf.get() + block_input_len, info, info_len); in GenerateKey()
81 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.h55 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 …]