Lines Matching refs:sig
41 OPENSSL_free(sct->sig); in SCT_free()
163 void SCT_set0_signature(SCT *sct, unsigned char *sig, size_t sig_len) in SCT_set0_signature() argument
165 OPENSSL_free(sct->sig); in SCT_set0_signature()
166 sct->sig = sig; in SCT_set0_signature()
171 int SCT_set1_signature(SCT *sct, const unsigned char *sig, size_t sig_len) in SCT_set1_signature() argument
173 OPENSSL_free(sct->sig); in SCT_set1_signature()
174 sct->sig = NULL; in SCT_set1_signature()
178 if (sig != NULL && sig_len > 0) { in SCT_set1_signature()
179 sct->sig = OPENSSL_memdup(sig, sig_len); in SCT_set1_signature()
180 if (sct->sig == NULL) in SCT_set1_signature()
231 size_t SCT_get0_signature(const SCT *sct, unsigned char **sig) in SCT_get0_signature() argument
233 *sig = sct->sig; in SCT_get0_signature()
252 sct->sig != NULL && sct->sig_len > 0; in SCT_signature_is_complete()