| /freebsd-11-stable/crypto/openssh/ |
| HD | ssh-ecdsa.c | 120 struct sshbuf *b = NULL, *sigbuf = NULL; in ssh_ecdsa_verify() local 136 sshbuf_froms(b, &sigbuf) != 0) { in ssh_ecdsa_verify() 154 if (sshbuf_get_bignum2(sigbuf, sig->r) != 0 || in ssh_ecdsa_verify() 155 sshbuf_get_bignum2(sigbuf, sig->s) != 0) { in ssh_ecdsa_verify() 159 if (sshbuf_len(sigbuf) != 0) { in ssh_ecdsa_verify() 181 sshbuf_free(sigbuf); in ssh_ecdsa_verify()
|
| HD | serverloop.c | 640 struct sshbuf *sigbuf = NULL; in server_input_hostkeys_prove() local 647 if ((resp = sshbuf_new()) == NULL || (sigbuf = sshbuf_new()) == NULL) in server_input_hostkeys_prove() 677 sshbuf_reset(sigbuf); in server_input_hostkeys_prove() 680 if ((r = sshbuf_put_cstring(sigbuf, in server_input_hostkeys_prove() 682 (r = sshbuf_put_string(sigbuf, in server_input_hostkeys_prove() 684 (r = sshkey_puts(key, sigbuf)) != 0 || in server_input_hostkeys_prove() 686 sshbuf_ptr(sigbuf), sshbuf_len(sigbuf), NULL, 0)) != 0 || in server_input_hostkeys_prove() 700 sshbuf_free(sigbuf); in server_input_hostkeys_prove()
|
| HD | monitor.c | 601 struct sshbuf *sigbuf = NULL; in mm_answer_sign() local 638 if ((sigbuf = sshbuf_new()) == NULL) in mm_answer_sign() 640 if ((r = sshbuf_put_cstring(sigbuf, proof_req)) != 0 || in mm_answer_sign() 641 (r = sshbuf_put_string(sigbuf, session_id2, in mm_answer_sign() 643 (r = sshkey_puts(key, sigbuf)) != 0) in mm_answer_sign() 646 if (datlen != sshbuf_len(sigbuf) || in mm_answer_sign() 647 memcmp(p, sshbuf_ptr(sigbuf), sshbuf_len(sigbuf)) != 0) in mm_answer_sign() 649 __func__, datlen, sshbuf_len(sigbuf)); in mm_answer_sign() 650 sshbuf_free(sigbuf); in mm_answer_sign()
|
| HD | ssh-rsa.c | 308 u_char *sigbuf, size_t siglen, RSA *rsa) in openssh_RSA_verify() argument 333 if ((len = RSA_public_decrypt(siglen, sigbuf, decrypted, rsa, in openssh_RSA_verify()
|
| /freebsd-11-stable/usr.bin/tip/tip/ |
| HD | tipout.c | 52 static jmp_buf sigbuf; variable 69 longjmp(sigbuf, 1); in intIOT() 104 longjmp(sigbuf, 1); in intEMT() 122 longjmp(sigbuf, 1); in intSYS() 144 (void) setjmp(sigbuf); in tipout()
|
| /freebsd-11-stable/crypto/openssl/crypto/rsa/ |
| HD | rsa_sign.c | 171 const unsigned char *sigbuf, size_t siglen, RSA *rsa) in int_rsa_verify() argument 192 sigbuf, rm, rsa, RSA_PKCS1_PADDING); in int_rsa_verify() 208 i = RSA_public_decrypt((int)siglen, sigbuf, s, rsa, RSA_PKCS1_PADDING); in int_rsa_verify() 293 const unsigned char *sigbuf, unsigned int siglen, RSA *rsa) in RSA_verify() argument 297 return rsa->meth->rsa_verify(dtype, m, m_len, sigbuf, siglen, rsa); in RSA_verify() 300 return int_rsa_verify(dtype, m, m_len, NULL, NULL, sigbuf, siglen, rsa); in RSA_verify()
|
| HD | rsa_saos.c | 106 unsigned int m_len, unsigned char *sigbuf, in RSA_verify_ASN1_OCTET_STRING() argument 125 i = RSA_public_decrypt((int)siglen, sigbuf, s, rsa, RSA_PKCS1_PADDING); in RSA_verify_ASN1_OCTET_STRING()
|
| HD | rsa_locl.h | 3 size_t *prm_len, const unsigned char *sigbuf,
|
| HD | rsa.h | 121 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/ |
| HD | ecs_vrf.c | 87 const unsigned char *sigbuf, int sig_len, EC_KEY *eckey) in ECDSA_verify() argument 90 const unsigned char *p = sigbuf; in ECDSA_verify() 102 if (derlen != sig_len || memcmp(sigbuf, der, derlen)) in ECDSA_verify()
|
| /freebsd-11-stable/crypto/openssl/crypto/evp/ |
| HD | p_verify.c | 65 int EVP_VerifyFinal(EVP_MD_CTX *ctx, const unsigned char *sigbuf, in EVP_VerifyFinal() argument 90 i = EVP_PKEY_verify(pkctx, sigbuf, siglen, m, m_len); in EVP_VerifyFinal() 115 sigbuf, siglen, pkey->pkey.ptr)); in EVP_VerifyFinal()
|
| HD | evp.h | 174 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/openssl/apps/ |
| HD | dgst.c | 122 unsigned char *sigbuf = NULL; in MAIN() local 462 sigbuf = OPENSSL_malloc(siglen); in MAIN() 468 if (!sigbuf) { in MAIN() 473 siglen = BIO_read(sigbio, sigbuf, siglen); in MAIN() 491 err = do_fp(out, buf, inp, separator, out_bin, sigkey, sigbuf, in MAIN() 514 r = do_fp(out, buf, inp, separator, out_bin, sigkey, sigbuf, in MAIN() 536 if (sigbuf) in MAIN() 537 OPENSSL_free(sigbuf); in MAIN()
|
| /freebsd-11-stable/crypto/openssl/crypto/dsa/ |
| HD | dsa_asn1.c | 177 const unsigned char *sigbuf, int siglen, DSA *dsa) in DSA_verify() argument 180 const unsigned char *p = sigbuf; in DSA_verify() 192 if (derlen != siglen || memcmp(sigbuf, der, derlen)) in DSA_verify()
|
| HD | dsa.h | 214 const unsigned char *sigbuf, int siglen, DSA *dsa);
|
| /freebsd-11-stable/sys/netsmb/ |
| HD | smb_crypt.c | 270 u_char sigbuf[8]; in smb_rq_verify() local 294 *(u_int32_t *)sigbuf = htole32(rqp->sr_rseqno); in smb_rq_verify() 295 *(u_int32_t *)(sigbuf + 4) = 0; in smb_rq_verify() 296 MD5Update(&md5, sigbuf, 8); in smb_rq_verify()
|
| /freebsd-11-stable/contrib/dma/ |
| HD | util.c | 232 static sigjmp_buf sigbuf; variable 240 siglongjmp(sigbuf, 1); in sigalrm_handler() 257 ret = sigsetjmp(sigbuf, 1); in do_timeout()
|
| /freebsd-11-stable/crypto/openssl/doc/crypto/ |
| HD | RSA_sign_ASN1_OCTET_STRING.pod | 16 unsigned int m_len, unsigned char *sigbuf, unsigned int siglen, 31 RSA_verify_ASN1_OCTET_STRING() verifies that the signature B<sigbuf>
|
| HD | RSA_sign.pod | 15 unsigned char *sigbuf, unsigned int siglen, RSA *rsa); 34 RSA_verify() verifies that the signature B<sigbuf> of size B<siglen>
|
| HD | DSA_sign.pod | 18 unsigned char *sigbuf, int siglen, DSA *dsa); 39 DSA_verify() verifies that the signature B<sigbuf> of size B<siglen>
|
| HD | EVP_VerifyInit.pod | 13 int EVP_VerifyFinal(EVP_MD_CTX *ctx,unsigned char *sigbuf, unsigned int siglen,EVP_PKEY *pkey); 31 and against the B<siglen> bytes at B<sigbuf>.
|
| HD | rsa.pod | 27 unsigned char *sigbuf, unsigned int siglen, RSA *rsa); 60 unsigned int m_len, unsigned char *sigbuf, unsigned int siglen,
|
| HD | dsa.pod | 30 const unsigned char *sigbuf, int siglen, DSA *dsa);
|
| /freebsd-11-stable/contrib/libucl/src/ |
| HD | ucl_util.c | 880 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, siglen); [all …]
|
| /freebsd-11-stable/crypto/openssl/engines/ |
| HD | e_4758cca.c | 97 unsigned int m_len, const unsigned char *sigbuf, 619 unsigned int m_len, const unsigned char *sigbuf, in cca_rsa_verify() argument 718 &lsiglen, (unsigned char *)sigbuf); in cca_rsa_verify()
|