Home
last modified time | relevance | path

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

/third_party/openssl/crypto/ct/
Dct_sct.c80 int SCT_set0_log_id(SCT *sct, unsigned char *log_id, size_t log_id_len) in SCT_set0_log_id() argument
82 if (sct->version == SCT_VERSION_V1 && log_id_len != CT_V1_HASHLEN) { in SCT_set0_log_id()
89 sct->log_id_len = log_id_len; in SCT_set0_log_id()
94 int SCT_set1_log_id(SCT *sct, const unsigned char *log_id, size_t log_id_len) in SCT_set1_log_id() argument
96 if (sct->version == SCT_VERSION_V1 && log_id_len != CT_V1_HASHLEN) { in SCT_set1_log_id()
103 sct->log_id_len = 0; in SCT_set1_log_id()
106 if (log_id != NULL && log_id_len > 0) { in SCT_set1_log_id()
107 sct->log_id = OPENSSL_memdup(log_id, log_id_len); in SCT_set1_log_id()
112 sct->log_id_len = log_id_len; in SCT_set1_log_id()
208 return sct->log_id_len; in SCT_get0_log_id()
[all …]
Dct_log.c324 size_t *log_id_len) in CTLOG_get0_log_id() argument
327 *log_id_len = CT_V1_HASHLEN; in CTLOG_get0_log_id()
341 size_t log_id_len) in CTLOG_STORE_get0_log_by_id() argument
347 if (memcmp(log->log_id, log_id, log_id_len) == 0) in CTLOG_STORE_get0_log_by_id()
Dct_prn.c77 sct->log_id_len); in SCT_print()
97 BIO_hex_string(out, indent + 16, 16, sct->log_id, sct->log_id_len); in SCT_print()
Dct_local.h64 size_t log_id_len; member
Dct_vfy.c111 if (sct->log_id_len != sctx->pkeyhashlen || in SCT_CTX_verify()
Dct_oct.c107 sct->log_id_len = CT_V1_HASHLEN; in o2i_SCT()
/third_party/openssl/ohos_lite/include/openssl/
Dct.h183 __owur int SCT_set0_log_id(SCT *sct, unsigned char *log_id, size_t log_id_len);
191 size_t log_id_len);
431 size_t *log_id_len);
456 size_t log_id_len);
/third_party/openssl/doc/man3/
DCTLOG_new.pod26 size_t *log_id_len);
59 LogID (see RFC 6962). It sets *log_id_len to the length of that LogID. For a
DCTLOG_STORE_get0_log_by_id.pod14 size_t log_id_len);
DSCT_new.pod56 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);
/third_party/openssl/include/openssl/
Dct.h.in206 __owur int SCT_set0_log_id(SCT *sct, unsigned char *log_id, size_t log_id_len);
214 size_t log_id_len);
474 size_t *log_id_len);
507 size_t log_id_len);