Lines Matching refs:log_id
39 OPENSSL_free(sct->log_id); in SCT_free()
78 int SCT_set0_log_id(SCT *sct, unsigned char *log_id, size_t log_id_len) in SCT_set0_log_id() argument
85 OPENSSL_free(sct->log_id); in SCT_set0_log_id()
86 sct->log_id = log_id; in SCT_set0_log_id()
92 int SCT_set1_log_id(SCT *sct, const unsigned char *log_id, size_t log_id_len) in SCT_set1_log_id() argument
99 OPENSSL_free(sct->log_id); in SCT_set1_log_id()
100 sct->log_id = NULL; in SCT_set1_log_id()
104 if (log_id != NULL && log_id_len > 0) { in SCT_set1_log_id()
105 sct->log_id = OPENSSL_memdup(log_id, log_id_len); in SCT_set1_log_id()
106 if (sct->log_id == NULL) in SCT_set1_log_id()
197 size_t SCT_get0_log_id(const SCT *sct, unsigned char **log_id) in SCT_get0_log_id() argument
199 *log_id = sct->log_id; in SCT_get0_log_id()
243 return sct->log_id != NULL && SCT_signature_is_complete(sct); in SCT_is_complete()
299 sct->log_id, sct->log_id_len); in SCT_validate()