Home
last modified time | relevance | path

Searched refs:log_id (Results 1 – 11 of 11) sorted by relevance

/openssl/crypto/ct/
H A Dct_sct.c39 OPENSSL_free(sct->log_id); in SCT_free()
85 OPENSSL_free(sct->log_id); in SCT_set0_log_id()
86 sct->log_id = log_id; in SCT_set0_log_id()
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()
[all …]
H A Dct_log.c28 uint8_t log_id[CT_V1_HASHLEN]; member
92 ret = EVP_Digest(pkey_der, pkey_der_len, log->log_id, &len, sha256, in ct_v1_log_id_from_pkey()
307 void CTLOG_get0_log_id(const CTLOG *log, const uint8_t **log_id, in CTLOG_get0_log_id() argument
310 *log_id = log->log_id; in CTLOG_get0_log_id()
324 const uint8_t *log_id, in CTLOG_STORE_get0_log_by_id() argument
331 if (memcmp(log->log_id, log_id, log_id_len) == 0) in CTLOG_STORE_get0_log_by_id()
H A Dct_prn.c76 log = CTLOG_STORE_get0_log_by_id(log_store, sct->log_id, in SCT_print()
97 BIO_hex_string(out, indent + 16, 16, sct->log_id, sct->log_id_len); in SCT_print()
H A Dct_oct.c104 sct->log_id = OPENSSL_memdup(p, CT_V1_HASHLEN); in o2i_SCT()
105 if (sct->log_id == NULL) in o2i_SCT()
233 memcpy(p, sct->log_id, CT_V1_HASHLEN); in i2o_SCT()
H A Dct_vfy.c112 memcmp(sct->log_id, sctx->pkeyhash, sctx->pkeyhashlen) != 0) { in SCT_CTX_verify()
H A Dct_local.h63 unsigned char *log_id; member
/openssl/include/openssl/
H A Dct.h.in199 size_t SCT_get0_log_id(const SCT *sct, unsigned char **log_id);
202 * Set the log ID of an SCT to point directly to the *log_id specified.
206 __owur int SCT_set0_log_id(SCT *sct, unsigned char *log_id, size_t log_id_len);
210 * This makes a copy of the log_id.
213 __owur int SCT_set1_log_id(SCT *sct, const unsigned char *log_id,
473 void CTLOG_get0_log_id(const CTLOG *log, const uint8_t **log_id,
506 const uint8_t *log_id,
/openssl/doc/man3/
H A DSCT_new.pod55 size_t SCT_get0_log_id(const SCT *sct, unsigned char **log_id);
56 int SCT_set0_log_id(SCT *sct, unsigned char *log_id, size_t log_id_len);
57 int SCT_set1_log_id(SCT *sct, const unsigned char *log_id, size_t log_id_len);
H A DCTLOG_new.pod25 void CTLOG_get0_log_id(const CTLOG *log, const uint8_t **log_id,
58 CTLOG_get0_log_id() sets *log_id to point to a string containing that log's
H A DCTLOG_STORE_get0_log_by_id.pod13 const uint8_t *log_id,
/openssl/test/
H A Dct_test.c442 const char log_id[] = "3xwuwRUAlFJHqWFoMl3cXHlZ6PfG04j8AC4LvT9012Q="; in test_encode_tls_sct() local
458 if (!TEST_ptr(sct = SCT_new_from_base64(SCT_VERSION_V1, log_id, in test_encode_tls_sct()

Completed in 19 milliseconds