Lines Matching full:sig
80 \& int EVP_PKEY_sign_message_final(EVP_PKEY_CTX *ctx, unsigned char *sig,
83 \& unsigned char *sig, size_t *siglen,
137 If \fIsig\fR is NULL then the maximum size of the output buffer is written to the
139 If \fIsig\fR is not NULL, then before the call the \fIsiglen\fR parameter should
140 contain the length of the \fIsig\fR buffer, and if the call is successful the
141 signature is written to \fIsig\fR and the amount of data written to \fIsiglen\fR.
200 \& unsigned char *md, *sig;
223 \& sig = OPENSSL_malloc(siglen);
225 \& if (sig == NULL)
228 \& if (EVP_PKEY_sign(ctx, sig, &siglen, md, mdlen) <= 0)
231 \& /* Signature is siglen bytes written to buffer sig */
246 \& unsigned char *md, *sig;
267 \& sig = OPENSSL_malloc(siglen);
269 \& if (sig == NULL)
272 \& if (EVP_PKEY_sign(ctx, sig, &siglen, md, mdlen) <= 0)
275 \& /* Signature is siglen bytes written to buffer sig */
290 \& unsigned char *in, *sig;
310 \& /* Determine sig buffer length */
314 \& sig = OPENSSL_malloc(siglen);
316 \& if (sig == NULL)
319 \& if (EVP_PKEY_sign(ctx, sig, &siglen, in, inlen) <= 0)
322 \& /* Signature is siglen bytes written to buffer sig */
335 \& unsigned char *in, *sig;
366 \& /* Determine sig buffer length */
370 \& sig = OPENSSL_malloc(siglen);
372 \& if (sig == NULL)
375 \& if (EVP_PKEY_sign_message_final(ctx, sig, &siglen) <= 0)
378 \& /* Signature is siglen bytes written to buffer sig */