| /netbsd-src/crypto/external/bsd/openssl/dist/crypto/evp/ |
| H A D | p_verify.c | 17 int EVP_VerifyFinal_ex(EVP_MD_CTX *ctx, const unsigned char *sigbuf, in EVP_VerifyFinal_ex() argument 53 i = EVP_PKEY_verify(pkctx, sigbuf, siglen, m, m_len); in EVP_VerifyFinal_ex() 59 int EVP_VerifyFinal(EVP_MD_CTX *ctx, const unsigned char *sigbuf, in EVP_VerifyFinal() argument 62 return EVP_VerifyFinal_ex(ctx, sigbuf, siglen, pkey, NULL, NULL); in EVP_VerifyFinal()
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/apps/ |
| H A D | dgst.c | 100 unsigned char *buf = NULL, *sigbuf = NULL; in dgst_main() local 370 sigbuf = app_malloc(siglen, "signature buffer"); in dgst_main() 371 siglen = BIO_read(sigbio, sigbuf, siglen); in dgst_main() 389 ret = do_fp(out, buf, inp, separator, out_bin, sigkey, sigbuf, in dgst_main() 412 r = do_fp(out, buf, inp, separator, out_bin, sigkey, sigbuf, in dgst_main() 428 OPENSSL_free(sigbuf); in dgst_main() 506 unsigned char *sigbuf = NULL; in do_fp() local 542 sigbuf = app_malloc(len, "Signature buffer"); in do_fp() 543 buf = sigbuf; in do_fp() 592 if (sigbuf != NULL) in do_fp() [all …]
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/rsa/ |
| H A D | rsa_sign.c | 126 const unsigned char *sigbuf, size_t siglen, RSA *rsa) in int_rsa_verify() argument 143 decrypt_len = RSA_public_decrypt((int)siglen, sigbuf, decrypt_buf, rsa, in int_rsa_verify() 240 const unsigned char *sigbuf, unsigned int siglen, RSA *rsa) in RSA_verify() argument 244 return rsa->meth->rsa_verify(type, m, m_len, sigbuf, siglen, rsa); in RSA_verify() 247 return int_rsa_verify(type, m, m_len, NULL, NULL, sigbuf, siglen, rsa); in RSA_verify()
|
| H A D | rsa_saos.c | 56 unsigned int m_len, unsigned char *sigbuf, in RSA_verify_ASN1_OCTET_STRING() argument 75 i = RSA_public_decrypt((int)siglen, sigbuf, s, rsa, RSA_PKCS1_PADDING); in RSA_verify_ASN1_OCTET_STRING()
|
| H A D | rsa_local.h | 102 unsigned int m_length, const unsigned char *sigbuf, 117 size_t *prm_len, const unsigned char *sigbuf,
|
| /netbsd-src/crypto/external/bsd/openssl/dist/crypto/rsa/ |
| H A D | rsa_sign.c | 333 const unsigned char *sigbuf, size_t siglen, RSA *rsa) in ossl_rsa_verify() argument 351 len = RSA_public_decrypt((int)siglen, sigbuf, decrypt_buf, rsa, in ossl_rsa_verify() 450 const unsigned char *sigbuf, unsigned int siglen, RSA *rsa) in RSA_verify() argument 454 return rsa->meth->rsa_verify(type, m, m_len, sigbuf, siglen, rsa); in RSA_verify() 456 return ossl_rsa_verify(type, m, m_len, NULL, NULL, sigbuf, siglen, rsa); in RSA_verify()
|
| H A D | rsa_saos.c | 61 unsigned int m_len, unsigned char *sigbuf, in RSA_verify_ASN1_OCTET_STRING() argument 79 i = RSA_public_decrypt((int)siglen, sigbuf, s, rsa, RSA_PKCS1_PADDING); in RSA_verify_ASN1_OCTET_STRING()
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/ec/ |
| H A D | ecdsa_vrf.c | 36 const unsigned char *sigbuf, int sig_len, EC_KEY *eckey) in ECDSA_verify() argument 39 return eckey->meth->verify(type, dgst, dgst_len, sigbuf, sig_len, in ECDSA_verify()
|
| H A D | ecdsa_ossl.c | 293 const unsigned char *sigbuf, int sig_len, EC_KEY *eckey) in ossl_ecdsa_verify() argument 296 const unsigned char *p = sigbuf; in ossl_ecdsa_verify() 308 if (derlen != sig_len || memcmp(sigbuf, der, derlen) != 0) in ossl_ecdsa_verify()
|
| /netbsd-src/crypto/external/bsd/openssl/dist/crypto/ec/ |
| H A D | ecdsa_vrf.c | 42 const unsigned char *sigbuf, int sig_len, EC_KEY *eckey) in ECDSA_verify() argument 45 return eckey->meth->verify(type, dgst, dgst_len, sigbuf, sig_len, in ECDSA_verify()
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/evp/ |
| H A D | p_verify.c | 17 int EVP_VerifyFinal(EVP_MD_CTX *ctx, const unsigned char *sigbuf, in EVP_VerifyFinal() argument 51 i = EVP_PKEY_verify(pkctx, sigbuf, siglen, m, m_len); in EVP_VerifyFinal()
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/dsa/ |
| H A D | dsa_asn1.c | 133 const unsigned char *sigbuf, int siglen, DSA *dsa) in DSA_verify() argument 136 const unsigned char *p = sigbuf; in DSA_verify() 148 if (derlen != siglen || memcmp(sigbuf, der, derlen)) in DSA_verify()
|
| /netbsd-src/crypto/external/bsd/openssh/dist/ |
| H A D | serverloop.c | 672 struct sshbuf *sigbuf = NULL; in server_input_hostkeys_prove() local 680 if ((resp = sshbuf_new()) == NULL || (sigbuf = sshbuf_new()) == NULL) in server_input_hostkeys_prove() 710 sshbuf_reset(sigbuf); in server_input_hostkeys_prove() 728 if ((r = sshbuf_put_cstring(sigbuf, in server_input_hostkeys_prove() 730 (r = sshbuf_put_stringb(sigbuf, in server_input_hostkeys_prove() 732 (r = sshkey_puts(key, sigbuf)) != 0 || in server_input_hostkeys_prove() 734 sshbuf_ptr(sigbuf), sshbuf_len(sigbuf), sigalg)) != 0 || in server_input_hostkeys_prove() 747 sshbuf_free(sigbuf); in server_input_hostkeys_prove()
|
| /netbsd-src/crypto/external/bsd/openssl/dist/crypto/dsa/ |
| H A D | dsa_sign.c | 192 const unsigned char *sigbuf, int siglen, DSA *dsa) in DSA_verify() argument 195 const unsigned char *p = sigbuf; in DSA_verify() 207 if (derlen != siglen || memcmp(sigbuf, der, derlen)) in DSA_verify()
|
| /netbsd-src/external/mpl/bind/dist/tests/dns/ |
| H A D | dst_test.c | 148 isc_buffer_t databuf, sigbuf; in check_sig() local 193 isc_buffer_init(&sigbuf, sig, sizeof(sig)); in check_sig() 198 result = sig_fromfile(sigpath, &sigbuf); in check_sig() 204 isc_buffer_remainingregion(&sigbuf, &sigreg); in check_sig()
|
| H A D | tsig_test.c | 108 isc_buffer_t sigbuf; in add_tsig() 140 isc_buffer_init(&sigbuf, tsig.signature, sigsize); in add_tsig() 141 CHECK(dst_context_sign(tsigctx, &sigbuf)); in add_tsig() 142 tsig.siglen = isc_buffer_usedlength(&sigbuf); in add_tsig() 100 isc_buffer_t sigbuf; add_tsig() local
|
| /netbsd-src/external/bsd/less/dist/ |
| H A D | os.c | 385 static char sigbuf[sizeof("Signal ") + INT_STRLEN_BOUND(sig) + 1]; in signal_message() local 391 sprintf(sigbuf, "Signal %d", sig); in signal_message() 392 return sigbuf; in signal_message()
|
| /netbsd-src/crypto/external/bsd/openssl/dist/doc/man3/ |
| H A D | EVP_VerifyInit.pod | 15 int EVP_VerifyFinal_ex(EVP_MD_CTX *ctx, const unsigned char *sigbuf, 18 int EVP_VerifyFinal(EVP_MD_CTX *ctx, unsigned char *sigbuf, unsigned int siglen, 37 I<pkey> and I<siglen> bytes in I<sigbuf>.
|
| H A D | RSA_sign_ASN1_OCTET_STRING.pod | 20 unsigned int m_len, unsigned char *sigbuf, 41 RSA_verify_ASN1_OCTET_STRING() verifies that the signature B<sigbuf>
|
| H A D | RSA_sign.pod | 19 unsigned char *sigbuf, unsigned int siglen, RSA *rsa); 42 RSA_verify() verifies that the signature B<sigbuf> of size B<siglen>
|
| /netbsd-src/crypto/external/bsd/netpgp/dist/src/lib/ |
| H A D | signature.c | 168 uint8_t sigbuf[NETPGP_BUFSIZ]; in rsa_sign() local 218 t = pgp_rsa_private_encrypt(sigbuf, hashbuf, keysize, secrsa, pubrsa); in rsa_sign() 219 bn = BN_bin2bn(sigbuf, (int)t, NULL); in rsa_sign() 330 uint8_t sigbuf[NETPGP_BUFSIZ]; in rsa_verify() local 341 if ((unsigned) BN_num_bits(sig->sig) > 8 * sizeof(sigbuf)) { in rsa_verify() 345 BN_bn2bin(sig->sig, sigbuf); in rsa_verify() 347 n = pgp_rsa_public_decrypt(hashbuf_from_sig, sigbuf, in rsa_verify()
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/doc/man3/ |
| H A D | RSA_sign_ASN1_OCTET_STRING.pod | 16 unsigned int m_len, unsigned char *sigbuf, 34 RSA_verify_ASN1_OCTET_STRING() verifies that the signature B<sigbuf>
|
| H A D | 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>
|
| H A D | DSA_sign.pod | 17 unsigned char *sigbuf, int siglen, DSA *dsa); 33 DSA_verify() verifies that the signature B<sigbuf> of size B<siglen>
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/include/openssl/ |
| H A D | rsa.h | 317 const unsigned char *sigbuf, unsigned int siglen, RSA *rsa); 328 unsigned int m_length, unsigned char *sigbuf, 490 unsigned int m_length, const unsigned char *sigbuf, 495 const unsigned char *sigbuf,
|