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

/freebsd-10-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);
304 const unsigned char *sigbuf, unsigned int siglen, RSA *rsa)
308 return rsa->meth->rsa_verify(dtype, m, m_len, sigbuf, siglen, rsa);
311 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
303 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,
381 const unsigned char *sigbuf, unsigned int siglen, RSA *rsa);
392 unsigned int m_length, unsigned char *sigbuf,
/freebsd-10-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-10-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.h173 const unsigned char *sigbuf, unsigned int siglen,
187 const unsigned char *sigbuf,
632 int EVP_VerifyFinal(EVP_MD_CTX *ctx, const unsigned char *sigbuf,
/freebsd-10-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.c1152 struct sshbuf *sigbuf = NULL; local
1159 if ((resp = sshbuf_new()) == NULL || (sigbuf = sshbuf_new()) == NULL)
1189 sshbuf_reset(sigbuf);
1192 if ((r = sshbuf_put_cstring(sigbuf,
1194 (r = sshbuf_put_string(sigbuf,
1196 (r = sshkey_puts(key, sigbuf)) != 0 ||
1198 sshbuf_ptr(sigbuf), sshbuf_len(sigbuf), NULL, 0)) != 0 ||
1212 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.c689 struct sshbuf *sigbuf = NULL; local
726 if ((sigbuf = sshbuf_new()) == NULL)
728 if ((r = sshbuf_put_cstring(sigbuf, proof_req)) != 0 ||
729 (r = sshbuf_put_string(sigbuf, session_id2,
731 (r = sshkey_puts(key, sigbuf)) != 0)
734 if (datlen != sshbuf_len(sigbuf) ||
735 memcmp(p, sshbuf_ptr(sigbuf), sshbuf_len(sigbuf)) != 0)
737 __func__, datlen, sshbuf_len(sigbuf));
738 sshbuf_free(sigbuf);
[all...]
/freebsd-10-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-10-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-10-stable/crypto/openssl/apps/
H A Ddgst.c122 unsigned char *sigbuf = NULL; local
445 sigbuf = OPENSSL_malloc(siglen);
451 if (!sigbuf) {
456 siglen = BIO_read(sigbio, sigbuf, siglen);
474 err = do_fp(out, buf, inp, separator, out_bin, sigkey, sigbuf,
496 r = do_fp(out, buf, inp, separator, out_bin, sigkey, sigbuf,
518 if (sigbuf)
519 OPENSSL_free(sigbuf);
/freebsd-10-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-10-stable/contrib/libucl/src/
H A Ducl_util.c722 unsigned char *sigbuf = NULL; local
726 if (!ucl_fetch_url (urlbuf, &sigbuf, &siglen, &parser->err, true)) {
729 if (!ucl_sig_check (buf, buflen, sigbuf, siglen, parser)) {
734 ucl_munmap (sigbuf, siglen);
739 ucl_munmap (sigbuf, siglen);
799 unsigned char *sigbuf = NULL; local
803 if (!ucl_fetch_file (filebuf, &sigbuf, &siglen, &parser->err, true)) {
806 if (!ucl_sig_check (buf, buflen, sigbuf, siglen, parser)) {
811 ucl_munmap (sigbuf, siglen);
816 ucl_munmap (sigbuf, sigle
[all...]
/freebsd-10-stable/crypto/openssl/engines/
H A De_4758cca.c97 unsigned int m_len, const unsigned char *sigbuf,
611 unsigned int m_len, const unsigned char *sigbuf,
710 &lsiglen, (unsigned char *)sigbuf);
610 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 236 milliseconds