Lines Matching refs:prot
33 ASN1_BIT_STRING *prot = NULL;
92 if ((prot = ASN1_BIT_STRING_new()) == NULL)
95 prot->flags &= ~(ASN1_STRING_FLAG_BITS_LEFT | 0x07);
96 prot->flags |= ASN1_STRING_FLAG_BITS_LEFT;
97 if (!ASN1_BIT_STRING_set(prot, protection, sig_len)) {
98 ASN1_BIT_STRING_free(prot);
99 prot = NULL;
105 return prot;
121 if ((prot = ASN1_BIT_STRING_new()) == NULL)
124 NULL, prot, &prot_part, NULL, ctx->pkey, md,
126 return prot;
127 ASN1_BIT_STRING_free(prot);