Lines Matching defs:sig
72 X509_SIG sig;
93 sig.algor= &algor;
94 sig.algor->algorithm=OBJ_nid2obj(type);
95 if (sig.algor->algorithm == NULL)
100 if (sig.algor->algorithm->length == 0)
107 sig.algor->parameter= ¶meter;
109 sig.digest= &digest;
110 sig.digest->data=(unsigned char *)m; /* TMP UGLY CAST */
111 sig.digest->length=m_len;
113 i=i2d_X509_SIG(&sig,NULL);
129 i2d_X509_SIG(&sig,&p);
150 X509_SIG *sig=NULL;
185 sig=d2i_X509_SIG(NULL,&p,(long)i);
187 if (sig == NULL) goto err;
198 if(sig->algor->parameter
199 && ASN1_TYPE_get(sig->algor->parameter) != V_ASN1_NULL)
205 sigtype=OBJ_obj2nid(sig->algor->algorithm);
232 if ( ((unsigned int)sig->digest->length != m_len) ||
233 (memcmp(m,sig->digest->data,m_len) != 0))
241 if (sig != NULL) X509_SIG_free(sig);