Lines Matching refs:siglen

108     size_t siglen;  member
316 unsigned char *sig, size_t *siglen, size_t sigsize, in ecdsa_sign_directly() argument
328 *siglen = ecsize; in ecdsa_sign_directly()
359 *siglen = sltmp; in ecdsa_sign_directly()
376 size_t *siglen, size_t sigsize) in ecdsa_sign_message_final() argument
393 return ecdsa_sign_directly(vctx, sig, siglen, sigsize, digest, dlen); in ecdsa_sign_message_final()
400 static int ecdsa_sign(void *vctx, unsigned char *sig, size_t *siglen, in ecdsa_sign() argument
411 return ecdsa_sign_message_final(ctx, sig, siglen, sigsize); in ecdsa_sign()
415 return ecdsa_sign_message_final(ctx, sig, siglen, sigsize); in ecdsa_sign()
417 return ecdsa_sign_directly(ctx, sig, siglen, sigsize, tbs, tbslen); in ecdsa_sign()
432 const unsigned char *sig, size_t siglen, in ecdsa_verify_directly() argument
440 return ECDSA_verify(0, tbs, tbslen, sig, siglen, ctx->ec); in ecdsa_verify_directly()
444 const unsigned char *sig, size_t siglen) in ecdsa_verify_set_sig() argument
451 (unsigned char *)sig, siglen); in ecdsa_verify_set_sig()
472 return ecdsa_verify_directly(vctx, ctx->sig, ctx->siglen, in ecdsa_verify_message_final()
481 const unsigned char *sig, size_t siglen, in ecdsa_verify() argument
487 if (ecdsa_verify_set_sig(ctx, sig, siglen) <= 0) in ecdsa_verify()
493 return ecdsa_verify_directly(ctx, sig, siglen, tbs, tbslen); in ecdsa_verify()
559 int ecdsa_digest_sign_final(void *vctx, unsigned char *sig, size_t *siglen, in ecdsa_digest_sign_final() argument
571 ok = ecdsa_sign_message_final(ctx, sig, siglen, sigsize); in ecdsa_digest_sign_final()
587 size_t siglen) in ecdsa_digest_verify_final() argument
599 if (ecdsa_verify_set_sig(ctx, sig, siglen)) in ecdsa_digest_verify_final()
987 ctx->siglen = 0; in ecdsa_sigalg_set_ctx_params()
989 0, &ctx->siglen)) in ecdsa_sigalg_set_ctx_params()