Searched refs:chain (Results 1 – 2 of 2) sorted by relevance
601 inline void keymaster_free_cert_chain(keymaster_cert_chain_t* chain) { in keymaster_free_cert_chain() argument602 if (chain) { in keymaster_free_cert_chain()603 for (size_t i = 0; i < chain->entry_count; ++i) { in keymaster_free_cert_chain()604 free((uint8_t*)chain->entries[i].data); in keymaster_free_cert_chain()605 chain->entries[i].data = NULL; in keymaster_free_cert_chain()606 chain->entries[i].data_length = 0; in keymaster_free_cert_chain()608 free(chain->entries); in keymaster_free_cert_chain()609 chain->entries = NULL; in keymaster_free_cert_chain()610 chain->entry_count = 0; in keymaster_free_cert_chain()
1779 uint16 chain; member