Lines Matching refs:CTX

78 #define CTX   ((br_x509_decoder_context *)(void *)((unsigned char *)t0ctx - offsetof(br_x509_decode…  macro
615 CTX->pkey.key_type = BR_KEYTYPE_EC; in br_x509_decoder_run()
616 CTX->pkey.key.ec.curve = curve; in br_x509_decoder_run()
617 CTX->pkey.key.ec.q = CTX->pkey_data; in br_x509_decoder_run()
618 CTX->pkey.key.ec.qlen = qlen; in br_x509_decoder_run()
627 CTX->pkey.key_type = BR_KEYTYPE_RSA; in br_x509_decoder_run()
628 CTX->pkey.key.rsa.n = CTX->pkey_data; in br_x509_decoder_run()
629 CTX->pkey.key.rsa.nlen = nlen; in br_x509_decoder_run()
630 CTX->pkey.key.rsa.e = CTX->pkey_data + nlen; in br_x509_decoder_run()
631 CTX->pkey.key.rsa.elen = elen; in br_x509_decoder_run()
657 const unsigned char *a1 = &CTX->pad[0]; in br_x509_decoder_run()
672 CTX->err = T0_POPi(); in br_x509_decoder_run()
704 size_t clen = CTX->hlen; in br_x509_decoder_run()
709 memcpy((unsigned char *)CTX + addr, CTX->hbuf, clen); in br_x509_decoder_run()
711 if (CTX->copy_dn && CTX->append_dn) { in br_x509_decoder_run()
712 CTX->append_dn(CTX->append_dn_ctx, CTX->hbuf, clen); in br_x509_decoder_run()
714 CTX->hbuf += clen; in br_x509_decoder_run()
715 CTX->hlen -= clen; in br_x509_decoder_run()
724 if (CTX->hlen == 0) { in br_x509_decoder_run()
727 unsigned char x = *CTX->hbuf ++; in br_x509_decoder_run()
728 if (CTX->copy_dn && CTX->append_dn) { in br_x509_decoder_run()
729 CTX->append_dn(CTX->append_dn_ctx, &x, 1); in br_x509_decoder_run()
731 CTX->hlen --; in br_x509_decoder_run()
746 *(uint32_t *)(void *)((unsigned char *)CTX + addr) = T0_POP(); in br_x509_decoder_run()
754 *((unsigned char *)CTX + addr) = (unsigned char)T0_POP(); in br_x509_decoder_run()