Searched refs:info_len (Results 1 – 6 of 6) sorted by relevance
/system/keymaster/km_openssl/ |
D | hkdf.cpp | 25 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()
|
D | iso18033kdf.cpp | 29 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/ |
D | iso18033kdf.h | 55 bool GenerateKey(const uint8_t* info, size_t info_len, uint8_t* output,
|
D | hkdf.h | 44 bool GenerateKey(const uint8_t* info, size_t info_len, uint8_t* output,
|
D | kdf.h | 37 virtual bool GenerateKey(const uint8_t* info, size_t info_len, uint8_t* output,
|
/system/nfc/src/nfc/llcp/ |
D | llcp_dlc.cc | 857 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 …]
|