Home
last modified time | relevance | path

Searched refs:micros (Results 1 – 7 of 7) sorted by relevance

/openssl/crypto/ts/
H A Dts_rsp_utils.c217 int TS_ACCURACY_set_micros(TS_ACCURACY *a, const ASN1_INTEGER *micros) in TS_ACCURACY_set_micros() argument
221 if (a->micros == micros) in TS_ACCURACY_set_micros()
223 if (micros != NULL) { in TS_ACCURACY_set_micros()
224 new_micros = ASN1_INTEGER_dup(micros); in TS_ACCURACY_set_micros()
230 ASN1_INTEGER_free(a->micros); in TS_ACCURACY_set_micros()
231 a->micros = new_micros; in TS_ACCURACY_set_micros()
237 return a->micros; in TS_ACCURACY_get_micros()
H A Dts_rsp_sign.c135 ASN1_INTEGER_free(ctx->micros); in TS_RESP_CTX_free()
228 ASN1_INTEGER_free(ctx->micros); \
229 ctx->micros = NULL;
232 int secs, int millis, int micros) in TS_RESP_CTX_set_accuracy() argument
244 if (micros in TS_RESP_CTX_set_accuracy()
245 && ((ctx->micros = ASN1_INTEGER_new()) == NULL in TS_RESP_CTX_set_accuracy()
246 || !ASN1_INTEGER_set(ctx->micros, micros))) in TS_RESP_CTX_set_accuracy()
555 if ((ctx->seconds || ctx->millis || ctx->micros) in ts_RESP_create_tst_info()
562 if (ctx->micros && !TS_ACCURACY_set_micros(accuracy, ctx->micros)) in ts_RESP_create_tst_info()
H A Dts_local.h60 ASN1_INTEGER *micros; member
112 ASN1_INTEGER *micros; /* accuracy, 0 means not specified. */ member
H A Dts_rsp_print.c188 if (a->micros != NULL) in ts_ACCURACY_print_bio()
189 TS_ASN1_INTEGER_print_bio(bio, a->micros); in ts_ACCURACY_print_bio()
H A Dts_conf.c386 int secs = 0, millis = 0, micros = 0; in TS_CONF_set_accuracy() local
404 micros = atoi(val->value); in TS_CONF_set_accuracy()
410 if (!TS_RESP_CTX_set_accuracy(ctx, secs, millis, micros)) in TS_CONF_set_accuracy()
H A Dts_asn1.c80 ASN1_IMP_OPT(TS_ACCURACY, micros, ASN1_INTEGER, 1)
/openssl/include/openssl/
H A Dts.h202 int TS_ACCURACY_set_micros(TS_ACCURACY *a, const ASN1_INTEGER *micros);
304 int secs, int millis, int micros);

Completed in 17 milliseconds