Home
last modified time | relevance | path

Searched refs:context_chunks (Results 1 – 3 of 3) sorted by relevance

/system/keymaster/include/keymaster/km_openssl/
Dckdf.h29 const keymaster_blob_t* context_chunks, size_t num_chunks,
37 const keymaster_blob_t& context_chunks, KeymasterKeyBlob* output) { in ckdf() argument
38 return ckdf(key, label, &context_chunks, 1 /* num_chunks */, output); in ckdf()
/system/keymaster/km_openssl/
Dsoft_keymaster_enforcement.cpp150 UniquePtr<keymaster_blob_t[]> context_chunks(new (std::nothrow) keymaster_blob_t[num_chunks]); in ComputeSharedHmac() local
151 if (!context_chunks.get()) return KM_ERROR_MEMORY_ALLOCATION_FAILED; in ComputeSharedHmac()
154 auto context_chunks_pos = context_chunks.get(); in ComputeSharedHmac()
160 assert(context_chunks_pos - num_chunks == context_chunks.get()); in ComputeSharedHmac()
168 context_chunks.get(), num_chunks, // in ComputeSharedHmac()
Dckdf.cpp41 const keymaster_blob_t* context_chunks, size_t num_chunks, in DEFINE_OPENSSL_OBJECT_POINTER()
94 if (!CMAC_Update(ctx.get(), context_chunks[chunk].data, in DEFINE_OPENSSL_OBJECT_POINTER()
95 context_chunks[chunk].data_length)) { in DEFINE_OPENSSL_OBJECT_POINTER()