Searched refs:nonce (Results 1 - 12 of 12) sorted by relevance

/barrelfish-master/lib/openssl-1.0.0d/crypto/ts/
H A Dts_req_print.c72 const ASN1_INTEGER *nonce; local
89 nonce = TS_REQ_get_nonce(a);
90 if (nonce == NULL)
93 TS_ASN1_INTEGER_print_bio(bio, nonce);
H A Dts_verify_ctx.c102 ASN1_INTEGER_free(ctx->nonce);
116 const ASN1_INTEGER *nonce; local
144 /* Setting nonce. */
145 if ((nonce = TS_REQ_get_nonce(req)) != NULL)
147 if (!(ret->nonce = ASN1_INTEGER_dup(nonce))) goto err;
H A Dts_req_utils.c151 int TS_REQ_set_nonce(TS_REQ *a, const ASN1_INTEGER *nonce) argument
155 if (a->nonce == nonce)
157 new_nonce = ASN1_INTEGER_dup(nonce);
163 ASN1_INTEGER_free(a->nonce);
164 a->nonce = new_nonce;
170 return a->nonce;
H A Dts_rsp_utils.c315 int TS_TST_INFO_set_nonce(TS_TST_INFO *a, const ASN1_INTEGER *nonce) argument
319 if (a->nonce == nonce)
321 new_nonce = ASN1_INTEGER_dup(nonce);
327 ASN1_INTEGER_free(a->nonce);
328 a->nonce = new_nonce;
334 return a->nonce;
H A Dts_rsp_print.c190 const ASN1_INTEGER *nonce; local
235 /* Print nonce. */
237 nonce = TS_TST_INFO_get_nonce(a);
238 if (nonce == NULL)
241 TS_ASN1_INTEGER_print_bio(bio, nonce);
H A Dts.h123 nonce INTEGER OPTIONAL,
133 ASN1_INTEGER *nonce; /* OPTIONAL */ member in struct:TS_req_st
165 nonce INTEGER OPTIONAL,
181 ASN1_INTEGER *nonce; member in struct:TS_tst_info_st
390 int TS_REQ_set_nonce(TS_REQ *a, const ASN1_INTEGER *nonce);
451 int TS_TST_INFO_set_nonce(TS_TST_INFO *a, const ASN1_INTEGER *nonce);
632 /* Verify the nonce value. */
677 ASN1_INTEGER *nonce; member in struct:TS_verify_ctx
708 * nonce, nonce_len = nonce fro
[all...]
H A Dts_asn1.c96 ASN1_OPT(TS_REQ, nonce, ASN1_INTEGER),
143 ASN1_OPT(TS_TST_INFO, nonce, ASN1_INTEGER),
H A Dts_rsp_sign.c612 const ASN1_INTEGER *nonce; local
649 /* Setting nonce if needed. */
650 if ((nonce = TS_REQ_get_nonce(ctx->request)) != NULL
651 && !TS_TST_INFO_set_nonce(tst_info, nonce))
H A Dts_rsp_verify.c452 && !TS_check_nonces(ctx->nonce, tst_info))
667 /* Error if nonce is missing. */
674 /* No error if a nonce is returned without being requested. */
/barrelfish-master/lib/openssl-1.0.0d/crypto/x509v3/
H A Dv3_ocsp.c71 static int i2r_ocsp_crlid(const X509V3_EXT_METHOD *method, void *nonce,
73 static int i2r_ocsp_acutoff(const X509V3_EXT_METHOD *method, void *nonce,
82 static int i2r_ocsp_nonce(const X509V3_EXT_METHOD *method, void *nonce,
202 /* OCSP nonce. This is needs special treatment because it doesn't have
245 static int i2r_ocsp_nonce(const X509V3_EXT_METHOD *method, void *nonce, argument
249 if(i2a_ASN1_STRING(out, nonce, V_ASN1_OCTET_STRING) <= 0) return 0;
/barrelfish-master/lib/openssl-1.0.0d/apps/
H A Dts.c73 /* Length of the nonce of the request in bits (must be a multiple of 8). */
575 /* Setting nonce if requested. */
646 ASN1_INTEGER *nonce = NULL; local
656 if (!(nonce = ASN1_INTEGER_new())) goto err;
657 OPENSSL_free(nonce->data);
659 nonce->length = len - i;
660 if (!(nonce->data = OPENSSL_malloc(nonce->length + 1))) goto err;
661 memcpy(nonce->data, buf + i, nonce
[all...]
/barrelfish-master/include/openssl/
H A Dts.h123 nonce INTEGER OPTIONAL,
133 ASN1_INTEGER *nonce; /* OPTIONAL */ member in struct:TS_req_st
165 nonce INTEGER OPTIONAL,
181 ASN1_INTEGER *nonce; member in struct:TS_tst_info_st
390 int TS_REQ_set_nonce(TS_REQ *a, const ASN1_INTEGER *nonce);
451 int TS_TST_INFO_set_nonce(TS_TST_INFO *a, const ASN1_INTEGER *nonce);
632 /* Verify the nonce value. */
677 ASN1_INTEGER *nonce; member in struct:TS_verify_ctx
708 * nonce, nonce_len = nonce fro
[all...]

Completed in 131 milliseconds