Lines Matching refs:state
41 asn1_bio_state_t state; member
126 ctx->state = ASN1_STATE_START; in asn1_bio_init()
170 switch (ctx->state) { in asn1_bio_write()
196 ctx->state = ASN1_STATE_HEADER_COPY; in asn1_bio_write()
210 ctx->state = ASN1_STATE_DATA_COPY; in asn1_bio_write()
230 ctx->state = ASN1_STATE_HEADER; in asn1_bio_write()
271 ctx->state = next; in asn1_bio_flush_ex()
289 ctx->state = ex_state; in asn1_bio_setup_ex()
291 ctx->state = other_state; in asn1_bio_setup_ex()
374 if (ctx->state == ASN1_STATE_HEADER) { in asn1_bio_ctrl()
380 if (ctx->state == ASN1_STATE_POST_COPY) { in asn1_bio_ctrl()
387 if (ctx->state == ASN1_STATE_DONE) in asn1_bio_ctrl()