Home
last modified time | relevance | path

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

/system/keymaster/
Dhkdf.cpp27 bool Rfc5869Sha256Kdf::GenerateKey(const uint8_t* info, size_t info_len, uint8_t* output, in GenerateKey() argument
66 UniquePtr<uint8_t[]> buf(new uint8_t[digest_size_ + info_len + 1]); in GenerateKey()
81 if (info != nullptr && info_len > 0) in GenerateKey()
82 memcpy(buf.get() + block_input_len, info, info_len); in GenerateKey()
83 block_input_len += info_len; in GenerateKey()
Diso18033kdf.cpp30 bool Iso18033Kdf::GenerateKey(const uint8_t* info, size_t info_len, uint8_t* output, in GenerateKey() argument
67 if (info != nullptr && info_len > 0) { in GenerateKey()
68 if (!EVP_DigestUpdate(&ctx, info, info_len)) in GenerateKey()
Diso18033kdf.h56 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.c856 uint16_t info_len, available_bytes; in llcp_dlc_proc_i_pdu() local
873 info_len = i_pdu_length - LLCP_PDU_HEADER_SIZE - LLCP_SEQUENCE_SIZE; in llcp_dlc_proc_i_pdu()
875 if (info_len > p_dlcb->local_miu) { in llcp_dlc_proc_i_pdu()
879 p_dlcb->local_miu, info_len); in llcp_dlc_proc_i_pdu()
946 if (available_bytes >= LLCP_PDU_AGF_LEN_SIZE + info_len) { in llcp_dlc_proc_i_pdu()
951 UINT16_TO_BE_STREAM(p_dst, info_len); in llcp_dlc_proc_i_pdu()
956 memcpy(p_dst, p, info_len); in llcp_dlc_proc_i_pdu()
958 p_last_buf->len += LLCP_PDU_AGF_LEN_SIZE + info_len; in llcp_dlc_proc_i_pdu()
976 UINT16_TO_BE_STREAM(p, info_len); in llcp_dlc_proc_i_pdu()
990 UINT16_TO_BE_STREAM(p_dst, info_len); in llcp_dlc_proc_i_pdu()
[all …]