/freebsd/crypto/openssl/crypto/ct/ |
H A D | ct_sct.c | 24 SCT *sct = OPENSSL_zalloc(sizeof(*sct)); in SCT_new() local 26 if (sct == NULL) { in SCT_new() 33 return sct; in SCT_new() 38 if (sct == NULL) in SCT_free() 44 OPENSSL_free(sct->sct); in SCT_free() 45 OPENSSL_free(sct); in SCT_free() 146 sct->ext = ext; in SCT_set0_extensions() 172 sct->sig = sig; in SCT_set0_signature() 253 return sct->sct != NULL; /* Just need cached encoding */ in SCT_is_complete() 260 sct->sig != NULL && sct->sig_len > 0; in SCT_signature_is_complete() [all …]
|
H A D | ct_oct.c | 72 SCT *sct = NULL; in o2i_SCT() local 135 sct->sct = OPENSSL_memdup(p, len); in o2i_SCT() 136 if (sct->sct == NULL) in o2i_SCT() 147 return sct; in o2i_SCT() 149 SCT_free(sct); in o2i_SCT() 191 memcpy(p, sct->sig, sct->sig_len); in i2o_SCT_signature() 216 len = 43 + sct->ext_len + 4 + sct->sig_len; in i2o_SCT() 242 memcpy(p, sct->ext, sct->ext_len); in i2o_SCT() 248 memcpy(p, sct->sct, len); in i2o_SCT() 279 SCT *sct; in STACK_OF() local [all …]
|
H A D | ct_prn.c | 21 int nid = SCT_get_signature_nid(sct); in SCT_signature_algorithms_print() 24 BIO_printf(out, "%02X%02X", sct->hash_alg, sct->sig_alg); in SCT_signature_algorithms_print() 53 switch (SCT_get_validation_status(sct)) { in SCT_validation_status_string() 83 if (sct->version != SCT_VERSION_V1) { in SCT_print() 85 BIO_hex_string(out, indent + 16, 16, sct->sct, sct->sct_len); in SCT_print() 97 BIO_hex_string(out, indent + 16, 16, sct->log_id, sct->log_id_len); in SCT_print() 100 timestamp_print(sct->timestamp, out); in SCT_print() 103 if (sct->ext_len == 0) in SCT_print() 106 BIO_hex_string(out, indent + 16, 16, sct->ext, sct->ext_len); in SCT_print() 109 SCT_signature_algorithms_print(sct, out); in SCT_print() [all …]
|
H A D | ct_vfy.c | 53 *p++ = sct->version; in sct_ctx_update() 55 l2n8(sct->timestamp, p); in sct_ctx_update() 56 s2n(sct->entry_type, p); in sct_ctx_update() 61 if (sct->entry_type == CT_LOG_ENTRY_TYPE_X509) { in sct_ctx_update() 86 s2n(sct->ext_len, p); in sct_ctx_update() 90 if (sct->ext_len && !EVP_DigestUpdate(ctx, sct->ext, sct->ext_len)) in sct_ctx_update() 107 if (sct->version != SCT_VERSION_V1) { in SCT_CTX_verify() 111 if (sct->log_id_len != sctx->pkeyhashlen || in SCT_CTX_verify() 116 if (sct->timestamp > sctx->epoch_time_in_ms) { in SCT_CTX_verify() 129 if (!sct_ctx_update(ctx, sctx, sct)) in SCT_CTX_verify() [all …]
|
H A D | ct_b64.c | 68 SCT *sct = SCT_new(); in SCT_new_from_base64() local 73 if (sct == NULL) { in SCT_new_from_base64() 82 if (!SCT_set_version(sct, version)) { in SCT_new_from_base64() 92 if (!SCT_set0_log_id(sct, dec, declen)) in SCT_new_from_base64() 101 SCT_set0_extensions(sct, dec, declen); in SCT_new_from_base64() 111 if (o2i_SCT_signature(sct, &p, declen) <= 0) in SCT_new_from_base64() 116 SCT_set_timestamp(sct, timestamp); in SCT_new_from_base64() 118 if (!SCT_set_log_entry_type(sct, entry_type)) in SCT_new_from_base64() 121 return sct; in SCT_new_from_base64() 125 SCT_free(sct); in SCT_new_from_base64()
|
H A D | ct_local.h | 60 unsigned char *sct; member 177 __owur int SCT_CTX_verify(const SCT_CTX *sctx, const SCT *sct); 183 __owur int SCT_is_complete(const SCT *sct); 191 __owur int SCT_signature_is_complete(const SCT *sct); 201 __owur int i2o_SCT_signature(const SCT *sct, unsigned char **out); 212 __owur int o2i_SCT_signature(SCT *sct, const unsigned char **in, size_t len);
|
/freebsd/crypto/openssl/include/openssl/ |
H A D | ct.h | 212 void SCT_free(SCT *sct); 223 sct_version_t SCT_get_version(const SCT *sct); 234 ct_log_entry_type_t SCT_get_log_entry_type(const SCT *sct); 267 uint64_t SCT_get_timestamp(const SCT *sct); 272 void SCT_set_timestamp(SCT *sct, uint64_t timestamp); 279 int SCT_get_signature_nid(const SCT *sct); 287 __owur int SCT_set_signature_nid(SCT *sct, int nid); 333 sct_source_t SCT_get_source(const SCT *sct); 339 __owur int SCT_set_source(SCT *sct, sct_source_t source); 344 const char *SCT_validation_status_string(const SCT *sct); [all …]
|
H A D | ct.h.in | 164 void SCT_free(SCT *sct); 175 sct_version_t SCT_get_version(const SCT *sct); 219 uint64_t SCT_get_timestamp(const SCT *sct); 224 void SCT_set_timestamp(SCT *sct, uint64_t timestamp); 231 int SCT_get_signature_nid(const SCT *sct); 239 __owur int SCT_set_signature_nid(SCT *sct, int nid); 285 sct_source_t SCT_get_source(const SCT *sct); 291 __owur int SCT_set_source(SCT *sct, sct_source_t source); 296 const char *SCT_validation_status_string(const SCT *sct); 299 * Pretty-prints an |sct| to |out|. [all …]
|
/freebsd/crypto/openssl/doc/man3/ |
H A D | SCT_new.pod | 46 void SCT_free(SCT *sct); 49 sct_version_t SCT_get_version(const SCT *sct); 50 int SCT_set_version(SCT *sct, sct_version_t version); 52 ct_log_entry_type_t SCT_get_log_entry_type(const SCT *sct); 55 size_t SCT_get0_log_id(const SCT *sct, unsigned char **log_id); 59 uint64_t SCT_get_timestamp(const SCT *sct); 60 void SCT_set_timestamp(SCT *sct, uint64_t timestamp); 62 int SCT_get_signature_nid(const SCT *sct); 63 int SCT_set_signature_nid(SCT *sct, int nid); 73 sct_source_t SCT_get_source(const SCT *sct); [all …]
|
H A D | SCT_print.pod | 12 void SCT_print(const SCT *sct, BIO *out, int indent, const CTLOG_STORE *logs); 15 const char *SCT_validation_status_string(const SCT *sct);
|
H A D | SCT_validate.pod | 21 int SCT_validate(SCT *sct, const CT_POLICY_EVAL_CTX *ctx); 23 sct_validation_status_t SCT_get_validation_status(const SCT *sct);
|
H A D | o2i_SCT_LIST.pod | 16 int i2o_SCT(const SCT *sct, unsigned char **out);
|
/freebsd/usr.bin/at/ |
H A D | parsetime.c | 146 static char *sct; /* scanner - next char pointer in current argument */ variable 212 sct = *scp; in token() 221 while (isspace(*sct)) in token() 222 ++sct; in token() 223 if (!*sct) { in token() 230 sc_token[0] = *sct++; in token() 235 while (isdigit(*sct)) in token() 236 sc_token[++idx] = *sct++; in token() 241 while (isalpha(*sct)) in token() 242 sc_token[++idx] = *sct++; in token()
|
/freebsd/crypto/openssl/test/ |
H A D | ct_test.c | 126 static int compare_sct_list_printout(STACK_OF(SCT) *sct, in compare_sct_list_printout() argument 136 SCT_LIST_print(sct, text_buffer, 0, "\n", NULL); in compare_sct_list_printout() 229 SCT *sct = NULL; in execute_cert_test() local 327 SCT_free(sct); in execute_cert_test() 447 SCT *sct = NULL; in test_encode_tls_sct() local 455 if (!TEST_ptr(sct = SCT_new_from_base64(SCT_VERSION_V1, log_id, in test_encode_tls_sct() 461 sk_SCT_push(fixture->sct_list, sct); in test_encode_tls_sct()
|
/freebsd/sys/contrib/device-tree/Bindings/pwm/ |
H A D | lpc1850-sct-pwm.txt | 4 - compatible: Should be "nxp,lpc1850-sct-pwm" 15 compatible = "nxp,lpc1850-sct-pwm";
|
/freebsd/sys/dev/firewire/ |
H A D | iec68113.h | 103 uint8_t sct:3, /* Section type */ member 109 sct:3; /* Section type */
|
/freebsd/sys/dev/nvme/ |
H A D | nvme_qpair.c | 303 get_status_string(uint16_t sct, uint16_t sc) in get_status_string() argument 307 switch (sct) { in get_status_string() 338 uint8_t sct, sc, crd, m, dnr, p; in nvme_qpair_print_completion() local 340 sct = NVME_STATUS_GET_SCT(cpl->status); in nvme_qpair_print_completion() 349 get_status_string(sct, sc), sct, sc, crd, m, dnr, p, in nvme_qpair_print_completion() 356 uint8_t sct, sc, dnr; in nvme_completion_is_retry() local 358 sct = NVME_STATUS_GET_SCT(cpl->status); in nvme_completion_is_retry() 369 switch (sct) { in nvme_completion_is_retry() 499 cpl.status |= NVMEF(NVME_STATUS_SCT, sct); in nvme_qpair_manual_complete_tracker() 510 struct nvme_request *req, uint32_t sct, uint32_t sc) in nvme_qpair_manual_complete_request() argument [all …]
|
H A D | nvme_private.h | 422 uint32_t sct, uint32_t sc);
|
/freebsd/sbin/nvmecontrol/ |
H A D | firmware.c | 204 uint16_t sct, sc; in activate_firmware() local 214 sct = NVME_STATUS_GET_SCT(pt.cpl.status); in activate_firmware() 217 if (sct == NVME_SCT_COMMAND_SPECIFIC && in activate_firmware()
|
H A D | logpage.c | 233 uint8_t p, sc, sct, m, dnr; in print_log_error() local 253 sct = NVME_STATUS_GET_SCT(status); in print_log_error() 266 printf(" Status code type: %d\n", sct); in print_log_error()
|
/freebsd/usr.sbin/fwcontrol/ |
H A D | fwdv.c | 188 fprintf(stderr, "(%d,%d) ", dv->sct, dv->dseq); in dvrecv() 190 if (dv->sct == DV_SCT_HEADER && dv->dseq == 0) { in dvrecv() 340 header = (dv->sct == 0 && dv->dseq == 0); in dvsend()
|
/freebsd/crypto/openssl/crypto/err/ |
H A D | openssl.txt | 467 CT_R_SCT_FUTURE_TIMESTAMP:116:sct future timestamp 468 CT_R_SCT_INVALID:104:sct invalid 469 CT_R_SCT_INVALID_SIGNATURE:107:sct invalid signature 470 CT_R_SCT_LIST_INVALID:105:sct list invalid 471 CT_R_SCT_LOG_ID_MISMATCH:114:sct log id mismatch 472 CT_R_SCT_NOT_SET:106:sct not set 473 CT_R_SCT_UNSUPPORTED_VERSION:115:sct unsupported version 1467 SSL_R_SCT_VERIFICATION_FAILED:208:sct verification failed
|
/freebsd/crypto/openssl/ssl/ |
H A D | ssl_lib.c | 5001 SCT *sct = NULL; in ct_move_scts() local 5011 while ((sct = sk_SCT_pop(src)) != NULL) { in ct_move_scts() 5012 if (SCT_set_source(sct, origin) != 1) in ct_move_scts() 5015 if (!sk_SCT_push(*dst, sct)) in ct_move_scts() 5022 SCT_free(sct); in ct_move_scts() 5156 SCT *sct = sk_SCT_value(scts, i); in ct_strict() local 5157 int status = SCT_get_validation_status(sct); in ct_strict()
|
/freebsd/sys/sys/ |
H A D | ata.h | 293 /*206*/ u_int16_t sct; member
|
/freebsd/sys/contrib/device-tree/src/arm/nxp/lpc/ |
H A D | lpc18xx.dtsi | 75 compatible = "nxp,lpc1850-sct-pwm";
|