HomeSort by: relevance | last modified time | path
    Searched defs:sct (Results 1 - 25 of 26) sorted by relevancy

1 2

  /src/crypto/external/apache2/openssl/dist/crypto/ct/
ct_b64.c 61 SCT *SCT_new_from_base64(unsigned char version, const char *logid_base64,
66 SCT *sct = SCT_new(); local
71 if (sct == NULL) {
78 * can only construct SCT versions that have been defined.
80 if (!SCT_set_version(sct, version)) {
90 if (!SCT_set0_log_id(sct, dec, declen))
99 SCT_set0_extensions(sct, dec, declen);
109 if (o2i_SCT_signature(sct, &p, declen) <= 0)
114 SCT_set_timestamp(sct, timestamp)
    [all...]
ct_prn.c 19 static void SCT_signature_algorithms_print(const SCT *sct, BIO *out)
21 int nid = SCT_get_signature_nid(sct);
24 BIO_printf(out, "%02X%02X", sct->hash_alg, sct->sig_alg);
50 const char *SCT_validation_status_string(const SCT *sct)
53 switch (SCT_get_validation_status(sct)) {
70 void SCT_print(const SCT *sct, BIO *out, int indent
121 SCT *sct = sk_SCT_value(sct_list, i); local
    [all...]
ct_oct.c 24 int o2i_SCT_signature(SCT *sct, const unsigned char **in, size_t len)
30 if (sct->version != SCT_VERSION_V1) {
48 sct->hash_alg = *p++;
49 sct->sig_alg = *p++;
50 if (SCT_get_signature_nid(sct) == NID_undef) {
62 if (SCT_set1_signature(sct, p, siglen) != 1)
70 SCT *o2i_SCT(SCT **psct, const unsigned char **in, size_t len)
72 SCT *sct = NULL local
275 SCT *sct; local
284 SCT *sct; local
    [all...]
ct_local.h 60 /* If version is not SCT_VERSION_V1, this contains the encoded SCT */
61 unsigned char *sct; member in struct:sct_st
63 /* If version is SCT_VERSION_V1, fields below contain components of the SCT */
69 * SCT should ever be set as such.
80 /* Where this SCT was found, e.g. certificate, OCSP response, etc. */
82 /* The result of the last attempt to validate this SCT. */
86 /* Miscellaneous data that is useful when verifying an SCT */
102 /* milliseconds since epoch (to check that the SCT isn't from the future) */
122 * Creates a new context for verifying an SCT.
126 * Deletes an SCT verification context
    [all...]
ct_sct.c 22 SCT *SCT_new(void)
24 SCT *sct = OPENSSL_zalloc(sizeof(*sct)); local
26 if (sct == NULL)
29 sct->entry_type = CT_LOG_ENTRY_TYPE_NOT_SET;
30 sct->version = SCT_VERSION_NOT_SET;
31 return sct;
34 void SCT_free(SCT *sct)
373 SCT *sct = sk_SCT_value(scts, i); local
    [all...]
  /src/crypto/external/bsd/openssl/dist/crypto/ct/
ct_b64.c 63 SCT *SCT_new_from_base64(unsigned char version, const char *logid_base64,
68 SCT *sct = SCT_new(); local
73 if (sct == NULL) {
80 * can only construct SCT versions that have been defined.
82 if (!SCT_set_version(sct, version)) {
92 if (!SCT_set0_log_id(sct, dec, declen))
101 SCT_set0_extensions(sct, dec, declen);
111 if (o2i_SCT_signature(sct, &p, declen) <= 0)
116 SCT_set_timestamp(sct, timestamp)
    [all...]
ct_prn.c 19 static void SCT_signature_algorithms_print(const SCT *sct, BIO *out)
21 int nid = SCT_get_signature_nid(sct);
24 BIO_printf(out, "%02X%02X", sct->hash_alg, sct->sig_alg);
50 const char *SCT_validation_status_string(const SCT *sct)
53 switch (SCT_get_validation_status(sct)) {
70 void SCT_print(const SCT *sct, BIO *out, int indent
121 SCT *sct = sk_SCT_value(sct_list, i); local
    [all...]
ct_oct.c 24 int o2i_SCT_signature(SCT *sct, const unsigned char **in, size_t len)
30 if (sct->version != SCT_VERSION_V1) {
48 sct->hash_alg = *p++;
49 sct->sig_alg = *p++;
50 if (SCT_get_signature_nid(sct) == NID_undef) {
62 if (SCT_set1_signature(sct, p, siglen) != 1)
70 SCT *o2i_SCT(SCT **psct, const unsigned char **in, size_t len)
72 SCT *sct = NULL local
279 SCT *sct; local
288 SCT *sct; local
    [all...]
ct_local.h 59 /* If version is not SCT_VERSION_V1, this contains the encoded SCT */
60 unsigned char *sct; member in struct:sct_st
62 /* If version is SCT_VERSION_V1, fields below contain components of the SCT */
68 * SCT should ever be set as such.
79 /* Where this SCT was found, e.g. certificate, OCSP response, etc. */
81 /* The result of the last attempt to validate this SCT. */
85 /* Miscellaneous data that is useful when verifying an SCT */
101 /* milliseconds since epoch (to check that the SCT isn't from the future) */
121 * Creates a new context for verifying an SCT.
125 * Deletes an SCT verification context
    [all...]
ct_sct.c 22 SCT *SCT_new(void)
24 SCT *sct = OPENSSL_zalloc(sizeof(*sct)); local
26 if (sct == NULL) {
31 sct->entry_type = CT_LOG_ENTRY_TYPE_NOT_SET;
32 sct->version = SCT_VERSION_NOT_SET;
33 return sct;
36 void SCT_free(SCT *sct)
384 SCT *sct = sk_SCT_value(scts, i); local
    [all...]
  /src/crypto/external/bsd/openssl.old/dist/crypto/ct/
ct_b64.c 63 SCT *SCT_new_from_base64(unsigned char version, const char *logid_base64,
68 SCT *sct = SCT_new(); local
73 if (sct == NULL) {
80 * can only construct SCT versions that have been defined.
82 if (!SCT_set_version(sct, version)) {
92 if (!SCT_set0_log_id(sct, dec, declen))
101 SCT_set0_extensions(sct, dec, declen);
111 if (o2i_SCT_signature(sct, &p, declen) <= 0)
116 SCT_set_timestamp(sct, timestamp)
    [all...]
ct_prn.c 19 static void SCT_signature_algorithms_print(const SCT *sct, BIO *out)
21 int nid = SCT_get_signature_nid(sct);
24 BIO_printf(out, "%02X%02X", sct->hash_alg, sct->sig_alg);
50 const char *SCT_validation_status_string(const SCT *sct)
53 switch (SCT_get_validation_status(sct)) {
70 void SCT_print(const SCT *sct, BIO *out, int indent
121 SCT *sct = sk_SCT_value(sct_list, i); local
    [all...]
ct_oct.c 24 int o2i_SCT_signature(SCT *sct, const unsigned char **in, size_t len)
30 if (sct->version != SCT_VERSION_V1) {
48 sct->hash_alg = *p++;
49 sct->sig_alg = *p++;
50 if (SCT_get_signature_nid(sct) == NID_undef) {
62 if (SCT_set1_signature(sct, p, siglen) != 1)
70 SCT *o2i_SCT(SCT **psct, const unsigned char **in, size_t len)
72 SCT *sct = NULL local
279 SCT *sct; local
288 SCT *sct; local
    [all...]
ct_local.h 59 /* If version is not SCT_VERSION_V1, this contains the encoded SCT */
60 unsigned char *sct; member in struct:sct_st
62 /* If version is SCT_VERSION_V1, fields below contain components of the SCT */
68 * SCT should ever be set as such.
79 /* Where this SCT was found, e.g. certificate, OCSP response, etc. */
81 /* The result of the last attempt to validate this SCT. */
85 /* Miscellaneous data that is useful when verifying an SCT */
101 /* milliseconds since epoch (to check that the SCT isn't from the future) */
115 * Creates a new context for verifying an SCT.
119 * Deletes an SCT verification context
    [all...]
ct_sct.c 22 SCT *SCT_new(void)
24 SCT *sct = OPENSSL_zalloc(sizeof(*sct)); local
26 if (sct == NULL) {
31 sct->entry_type = CT_LOG_ENTRY_TYPE_NOT_SET;
32 sct->version = SCT_VERSION_NOT_SET;
33 return sct;
36 void SCT_free(SCT *sct)
384 SCT *sct = sk_SCT_value(scts, i); local
    [all...]
  /src/sys/dev/ieee1394/
iec68113.h 106 uint8_t sct:3, /* Section type */ member in struct:dvdbc
112 sct:3; /* Section type */
  /src/usr.bin/at/
parsetime.c 151 static char *sct; /* scanner - next char pointer in current argument */ variable
237 sct = *scp;
247 while (isspace((unsigned char)*sct))
248 ++sct;
249 if (!*sct) {
257 sc_token[0] = *sct++;
263 while (isdigit((unsigned char)*sct))
264 sc_token[++idx] = *sct++;
268 while (isalpha((unsigned char)*sct))
269 sc_token[++idx] = *sct++
    [all...]
  /src/crypto/external/apache2/openssl/dist/test/
ct_test.c 48 STACK_OF(SCT) *sct_list;
50 * A file to load the expected SCT text from.
56 /* Whether to test the validity of the SCT(s) */
126 static int compare_sct_list_printout(STACK_OF(SCT) *sct,
136 SCT_LIST_print(sct, text_buffer, 0, "\n", NULL);
183 static int assert_validity(CT_TEST_FIXTURE *fixture, STACK_OF(SCT) *scts,
194 SCT *sct_i = sk_SCT_value(scts, i);
227 STACK_OF(SCT) *scts = NULL;
228 SCT *sct = NULL local
445 SCT *sct = NULL; local
    [all...]
  /src/crypto/external/bsd/openssl/dist/test/
ct_test.c 48 STACK_OF(SCT) *sct_list;
50 * A file to load the expected SCT text from.
56 /* Whether to test the validity of the SCT(s) */
126 static int compare_sct_list_printout(STACK_OF(SCT) *sct,
136 SCT_LIST_print(sct, text_buffer, 0, "\n", NULL);
183 static int assert_validity(CT_TEST_FIXTURE *fixture, STACK_OF(SCT) *scts,
194 SCT *sct_i = sk_SCT_value(scts, i);
228 STACK_OF(SCT) *scts = NULL;
229 SCT *sct = NULL local
447 SCT *sct = NULL; local
    [all...]
  /src/crypto/external/bsd/openssl.old/dist/test/
ct_test.c 47 STACK_OF(SCT) *sct_list;
49 * A file to load the expected SCT text from.
55 /* Whether to test the validity of the SCT(s) */
125 static int compare_sct_list_printout(STACK_OF(SCT) *sct,
135 SCT_LIST_print(sct, text_buffer, 0, "\n", NULL);
178 static int assert_validity(CT_TEST_FIXTURE *fixture, STACK_OF(SCT) *scts,
189 SCT *sct_i = sk_SCT_value(scts, i);
223 STACK_OF(SCT) *scts = NULL;
224 SCT *sct = NULL local
456 SCT *sct = NULL; local
    [all...]
  /src/crypto/external/bsd/openssl/dist/apps/
s_client.c 1876 /* Enable SCT processing, without early connection termination */
3207 const STACK_OF(SCT) *scts = SSL_get0_peer_scts(s);
3216 SCT *sct = sk_SCT_value(scts, i); local
3218 BIO_printf(bio, "SCT validation status: %s\n",
3219 SCT_validation_status_string(sct));
3220 SCT_print(sct, bio, 0, log_store);
  /src/crypto/external/bsd/openssl/dist/ssl/
ssl_lib.c 5008 * The source of each SCT will be set to |origin|.
5015 static int ct_move_scts(STACK_OF(SCT) **dst, STACK_OF(SCT) *src,
5019 SCT *sct = NULL; local
5029 while ((sct = sk_SCT_pop(src)) != NULL) {
5030 if (SCT_set_source(sct, origin) != 1)
5033 if (!sk_SCT_push(*dst, sct))
5040 SCT_free(sct);
5054 STACK_OF(SCT) *scts = o2i_SCT_LIST(NULL, &p, s->ext.scts_len)
5174 SCT *sct = sk_SCT_value(scts, i); local
    [all...]
  /src/crypto/external/bsd/openssl.old/dist/apps/
s_client.c 1911 /* Enable SCT processing, without early connection termination */
3248 const STACK_OF(SCT) *scts = SSL_get0_peer_scts(s);
3257 SCT *sct = sk_SCT_value(scts, i); local
3259 BIO_printf(bio, "SCT validation status: %s\n",
3260 SCT_validation_status_string(sct));
3261 SCT_print(sct, bio, 0, log_store);
  /src/crypto/external/bsd/openssl.old/dist/ssl/
ssl_lib.c 4741 * The source of each SCT will be set to |origin|.
4746 static int ct_move_scts(STACK_OF(SCT) **dst, STACK_OF(SCT) *src,
4750 SCT *sct = NULL; local
4760 while ((sct = sk_SCT_pop(src)) != NULL) {
4761 if (SCT_set_source(sct, origin) != 1)
4764 if (sk_SCT_push(*dst, sct) <= 0)
4771 if (sct != NULL)
4772 sk_SCT_push(src, sct); /* Put the SCT back *
4906 SCT *sct = sk_SCT_value(scts, i); local
    [all...]
  /src/crypto/external/apache2/openssl/dist/ssl/
ssl_lib.c 6328 * The source of each SCT will be set to |origin|.
6335 static int ct_move_scts(STACK_OF(SCT) **dst, STACK_OF(SCT) *src,
6339 SCT *sct = NULL; local
6349 while ((sct = sk_SCT_pop(src)) != NULL) {
6350 if (SCT_set_source(sct, origin) != 1)
6353 if (!sk_SCT_push(*dst, sct))
6360 SCT_free(sct);
6374 STACK_OF(SCT) *scts = o2i_SCT_LIST(NULL, &p, s->ext.scts_len)
6493 SCT *sct = sk_SCT_value(scts, i); local
    [all...]

Completed in 31 milliseconds

1 2