Lines Matching refs:sigblob
52 u_char digest[EVP_MAX_MD_SIZE], sigblob[SIGBLOB_LEN];
80 memset(sigblob, 0, SIGBLOB_LEN);
81 BN_bn2bin(sig->r, sigblob+ SIGBLOB_LEN - INTBLOB_LEN - rlen);
82 BN_bn2bin(sig->s, sigblob+ SIGBLOB_LEN - slen);
90 memcpy(*sigp, sigblob, SIGBLOB_LEN);
96 buffer_put_string(&b, sigblob, SIGBLOB_LEN);
115 u_char digest[EVP_MAX_MD_SIZE], *sigblob;
128 sigblob = xmalloc(signaturelen);
129 memcpy(sigblob, signature, signaturelen);
144 sigblob = buffer_get_string(&b, &len);
150 xfree(sigblob);
166 if ((BN_bin2bn(sigblob, INTBLOB_LEN, sig->r) == NULL) ||
167 (BN_bin2bn(sigblob+ INTBLOB_LEN, INTBLOB_LEN, sig->s) == NULL))
171 memset(sigblob, 0, len);
172 xfree(sigblob);