Searched refs:cert_chain (Results 1 – 1 of 1) sorted by relevance
92 static void free_cert_chain(atap_certchain cert_chain) in free_cert_chain() argument96 for (i = 0; i < cert_chain.entry_count; ++i) { in free_cert_chain()97 if (cert_chain.entries[i].data) in free_cert_chain()98 free(cert_chain.entries[i].data); in free_cert_chain()99 cert_chain.entries[i].data_length = 0; in free_cert_chain()101 memset(&cert_chain, 0, sizeof(atap_certchain)); in free_cert_chain()134 atap_certchain *cert_chain) in copy_cert_chain_from_buf() argument141 memset(cert_chain, 0, sizeof(atap_certchain)); in copy_cert_chain_from_buf()154 if (!copy_blob_from_buf(buf_ptr, &cert_chain->entries[i])) { in copy_cert_chain_from_buf()159 ++cert_chain->entry_count; in copy_cert_chain_from_buf()[all …]