Lines Matching refs:os
81 ASN1_OCTET_STRING *os;
91 ASN1_SIMPLE(NETSCAPE_ENCRYPTED_PKEY, os, ASN1_OCTET_STRING),
109 static RSA *d2i_RSA_NET_2(RSA **a, ASN1_OCTET_STRING *os,
155 enckey->os->length = 11; /* "private-key" */
187 if (!ASN1_STRING_set(enckey->os, "private-key", -1))
256 if ((enckey->os->length != 11) || (strncmp("private-key",
257 (char *)enckey->os->data,11) != 0))
281 static RSA *d2i_RSA_NET_2(RSA **a, ASN1_OCTET_STRING *os,
312 EVP_DecryptUpdate(&ctx,os->data,&i,os->data,os->length);
313 EVP_DecryptFinal_ex(&ctx,&(os->data[i]),&j);
315 os->length=i+j;
317 zz=os->data;
319 if ((pkey=d2i_NETSCAPE_PKEY(NULL,&zz,os->length)) == NULL)