Searched refs:sigbuf (Results 1 - 19 of 19) sorted by relevance

/freebsd-11-stable/crypto/openssl/crypto/rsa/
H A Drsa_locl.h3 size_t *prm_len, const unsigned char *sigbuf,
H A Drsa_saos.c106 unsigned int m_len, unsigned char *sigbuf,
125 i = RSA_public_decrypt((int)siglen, sigbuf, s, rsa, RSA_PKCS1_PADDING);
104 RSA_verify_ASN1_OCTET_STRING(int dtype, const unsigned char *m, unsigned int m_len, unsigned char *sigbuf, unsigned int siglen, RSA *rsa) argument
H A Drsa_sign.c171 const unsigned char *sigbuf, size_t siglen, RSA *rsa)
192 sigbuf, rm, rsa, RSA_PKCS1_PADDING);
208 i = RSA_public_decrypt((int)siglen, sigbuf, s, rsa, RSA_PKCS1_PADDING);
293 const unsigned char *sigbuf, unsigned int siglen, RSA *rsa)
297 return rsa->meth->rsa_verify(dtype, m, m_len, sigbuf, siglen, rsa);
300 return int_rsa_verify(dtype, m, m_len, NULL, NULL, sigbuf, siglen, rsa);
168 int_rsa_verify(int dtype, const unsigned char *m, unsigned int m_len, unsigned char *rm, size_t *prm_len, const unsigned char *sigbuf, size_t siglen, RSA *rsa) argument
292 RSA_verify(int dtype, const unsigned char *m, unsigned int m_len, const unsigned char *sigbuf, unsigned int siglen, RSA *rsa) argument
H A Drsa.h121 unsigned int m_length, const unsigned char *sigbuf,
413 const unsigned char *sigbuf, unsigned int siglen, RSA *rsa);
424 unsigned int m_length, unsigned char *sigbuf,
/freebsd-11-stable/crypto/openssl/crypto/ecdsa/
H A Decs_vrf.c87 const unsigned char *sigbuf, int sig_len, EC_KEY *eckey)
90 const unsigned char *p = sigbuf;
102 if (derlen != sig_len || memcmp(sigbuf, der, derlen))
86 ECDSA_verify(int type, const unsigned char *dgst, int dgst_len, const unsigned char *sigbuf, int sig_len, EC_KEY *eckey) argument
/freebsd-11-stable/crypto/openssl/crypto/evp/
H A Dp_verify.c65 int EVP_VerifyFinal(EVP_MD_CTX *ctx, const unsigned char *sigbuf, argument
90 i = EVP_PKEY_verify(pkctx, sigbuf, siglen, m, m_len);
115 sigbuf, siglen, pkey->pkey.ptr));
H A Devp.h174 const unsigned char *sigbuf, unsigned int siglen,
188 const unsigned char *sigbuf,
654 int EVP_VerifyFinal(EVP_MD_CTX *ctx, const unsigned char *sigbuf,
/freebsd-11-stable/crypto/openssh/
H A Dssh-ecdsa.c120 struct sshbuf *b = NULL, *sigbuf = NULL; local
136 sshbuf_froms(b, &sigbuf) != 0) {
154 if (sshbuf_get_bignum2(sigbuf, sig->r) != 0 ||
155 sshbuf_get_bignum2(sigbuf, sig->s) != 0) {
159 if (sshbuf_len(sigbuf) != 0) {
181 sshbuf_free(sigbuf);
H A Dserverloop.c640 struct sshbuf *sigbuf = NULL; local
647 if ((resp = sshbuf_new()) == NULL || (sigbuf = sshbuf_new()) == NULL)
677 sshbuf_reset(sigbuf);
680 if ((r = sshbuf_put_cstring(sigbuf,
682 (r = sshbuf_put_string(sigbuf,
684 (r = sshkey_puts(key, sigbuf)) != 0 ||
686 sshbuf_ptr(sigbuf), sshbuf_len(sigbuf), NULL, 0)) != 0 ||
700 sshbuf_free(sigbuf);
H A Dssh-rsa.c308 u_char *sigbuf, size_t siglen, RSA *rsa)
333 if ((len = RSA_public_decrypt(siglen, sigbuf, decrypted, rsa,
307 openssh_RSA_verify(int hash_alg, u_char *hash, size_t hashlen, u_char *sigbuf, size_t siglen, RSA *rsa) argument
H A Dmonitor.c601 struct sshbuf *sigbuf = NULL; local
638 if ((sigbuf = sshbuf_new()) == NULL)
640 if ((r = sshbuf_put_cstring(sigbuf, proof_req)) != 0 ||
641 (r = sshbuf_put_string(sigbuf, session_id2,
643 (r = sshkey_puts(key, sigbuf)) != 0)
646 if (datlen != sshbuf_len(sigbuf) ||
647 memcmp(p, sshbuf_ptr(sigbuf), sshbuf_len(sigbuf)) != 0)
649 __func__, datlen, sshbuf_len(sigbuf));
650 sshbuf_free(sigbuf);
[all...]
/freebsd-11-stable/usr.bin/tip/tip/
H A Dtipout.c52 static jmp_buf sigbuf; variable
69 longjmp(sigbuf, 1);
104 longjmp(sigbuf, 1);
122 longjmp(sigbuf, 1);
144 (void) setjmp(sigbuf);
/freebsd-11-stable/crypto/openssl/crypto/dsa/
H A Ddsa_asn1.c177 const unsigned char *sigbuf, int siglen, DSA *dsa)
180 const unsigned char *p = sigbuf;
192 if (derlen != siglen || memcmp(sigbuf, der, derlen))
H A Ddsa.h214 const unsigned char *sigbuf, int siglen, DSA *dsa);
/freebsd-11-stable/crypto/openssl/apps/
H A Ddgst.c122 unsigned char *sigbuf = NULL; local
462 sigbuf = OPENSSL_malloc(siglen);
468 if (!sigbuf) {
473 siglen = BIO_read(sigbio, sigbuf, siglen);
491 err = do_fp(out, buf, inp, separator, out_bin, sigkey, sigbuf,
514 r = do_fp(out, buf, inp, separator, out_bin, sigkey, sigbuf,
536 if (sigbuf)
537 OPENSSL_free(sigbuf);
/freebsd-11-stable/sys/netsmb/
H A Dsmb_crypt.c270 u_char sigbuf[8]; local
294 *(u_int32_t *)sigbuf = htole32(rqp->sr_rseqno);
295 *(u_int32_t *)(sigbuf + 4) = 0;
296 MD5Update(&md5, sigbuf, 8);
/freebsd-11-stable/contrib/dma/
H A Dutil.c232 static sigjmp_buf sigbuf; variable
240 siglongjmp(sigbuf, 1);
257 ret = sigsetjmp(sigbuf, 1);
/freebsd-11-stable/contrib/libucl/src/
H A Ducl_util.c880 unsigned char *sigbuf = NULL; local
884 if (!ucl_fetch_url (urlbuf, &sigbuf, &siglen, &parser->err, true)) {
887 if (!ucl_sig_check (buf, buflen, sigbuf, siglen, parser)) {
892 ucl_munmap (sigbuf, siglen);
897 ucl_munmap (sigbuf, siglen);
985 unsigned char *sigbuf = NULL; local
989 if (!ucl_fetch_file (filebuf, &sigbuf, &siglen, &parser->err, true)) {
992 if (!ucl_sig_check (buf, buflen, sigbuf, siglen, parser)) {
996 if (sigbuf) {
997 ucl_munmap (sigbuf, sigle
[all...]
/freebsd-11-stable/crypto/openssl/engines/
H A De_4758cca.c97 unsigned int m_len, const unsigned char *sigbuf,
619 unsigned int m_len, const unsigned char *sigbuf,
718 &lsiglen, (unsigned char *)sigbuf);
618 cca_rsa_verify(int type, const unsigned char *m, unsigned int m_len, const unsigned char *sigbuf, unsigned int siglen, const RSA *rsa) argument

Completed in 304 milliseconds