Searched defs:sigbuf (Results 1 - 15 of 15) sorted by relevance

/external/chromium_org/third_party/openssl/openssl/crypto/ecdsa/
H A Decs_vrf.c84 const unsigned char *sigbuf, int sig_len, EC_KEY *eckey)
91 if (d2i_ECDSA_SIG(&s, &sigbuf, sig_len) == NULL) goto err;
83 ECDSA_verify(int type, const unsigned char *dgst, int dgst_len, const unsigned char *sigbuf, int sig_len, EC_KEY *eckey) argument
/external/chromium_org/third_party/openssl/openssl/crypto/evp/
H A Dp_verify.c65 int EVP_VerifyFinal(EVP_MD_CTX *ctx, const unsigned char *sigbuf, argument
91 i = EVP_PKEY_verify(pkctx, sigbuf, siglen, m, m_len);
119 sigbuf,siglen,pkey->pkey.ptr));
/external/chromium_org/third_party/openssl/openssl/crypto/rsa/
H A Drsa_saos.c106 unsigned int m_len, unsigned char *sigbuf, unsigned int siglen,
126 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.c157 const unsigned char *sigbuf, size_t siglen,
182 sigbuf,rm,rsa,RSA_PKCS1_PADDING);
199 i=RSA_public_decrypt((int)siglen,sigbuf,s,rsa,RSA_PKCS1_PADDING);
307 const unsigned char *sigbuf, unsigned int siglen,
314 sigbuf, siglen, rsa);
317 return int_rsa_verify(dtype, m, m_len, NULL, NULL, sigbuf, siglen, rsa);
154 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
306 RSA_verify(int dtype, const unsigned char *m, unsigned int m_len, const unsigned char *sigbuf, unsigned int siglen, RSA *rsa) argument
/external/dropbear/
H A Dcli-authpubkey.c134 buffer* sigbuf = NULL; local
161 sigbuf = buf_new(4 + SHA1_HASH_SIZE + ses.writepayload->len);
162 buf_putstring(sigbuf, ses.session_id, SHA1_HASH_SIZE);
163 buf_putbytes(sigbuf, ses.writepayload->data, ses.writepayload->len);
164 buf_put_sign(ses.writepayload, key, type, sigbuf->data, sigbuf->len);
165 buf_free(sigbuf); /* Nothing confidential in the buffer */
/external/openssl/crypto/ecdsa/
H A Decs_vrf.c84 const unsigned char *sigbuf, int sig_len, EC_KEY *eckey)
91 if (d2i_ECDSA_SIG(&s, &sigbuf, sig_len) == NULL) goto err;
83 ECDSA_verify(int type, const unsigned char *dgst, int dgst_len, const unsigned char *sigbuf, int sig_len, EC_KEY *eckey) argument
/external/openssl/crypto/evp/
H A Dp_verify.c65 int EVP_VerifyFinal(EVP_MD_CTX *ctx, const unsigned char *sigbuf, argument
91 i = EVP_PKEY_verify(pkctx, sigbuf, siglen, m, m_len);
119 sigbuf,siglen,pkey->pkey.ptr));
/external/openssl/crypto/rsa/
H A Drsa_saos.c106 unsigned int m_len, unsigned char *sigbuf, unsigned int siglen,
126 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.c157 const unsigned char *sigbuf, size_t siglen,
182 sigbuf,rm,rsa,RSA_PKCS1_PADDING);
199 i=RSA_public_decrypt((int)siglen,sigbuf,s,rsa,RSA_PKCS1_PADDING);
307 const unsigned char *sigbuf, unsigned int siglen,
314 sigbuf, siglen, rsa);
317 return int_rsa_verify(dtype, m, m_len, NULL, NULL, sigbuf, siglen, rsa);
154 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
306 RSA_verify(int dtype, const unsigned char *m, unsigned int m_len, const unsigned char *sigbuf, unsigned int siglen, RSA *rsa) argument
/external/valgrind/main/none/tests/
H A Dasync-sigs.c42 char sigbuf[20]; local
44 sprintf(sigbuf, "-%d", sig);
46 execl("/bin/kill", "kill", sigbuf, pidbuf, NULL);
/external/chromium_org/third_party/openssl/openssl/apps/
H A Ddgst.c122 unsigned char *sigbuf = NULL; local
473 sigbuf = OPENSSL_malloc(siglen);
480 siglen = BIO_read(sigbio, sigbuf, siglen);
501 err=do_fp(out, buf,inp,separator, out_bin, sigkey, sigbuf,
530 r=do_fp(out,buf,inp,separator,out_bin,sigkey,sigbuf,
552 if(sigbuf) OPENSSL_free(sigbuf);
/external/openssh/
H A Dssh-rsa.c211 u_char *sigbuf, u_int siglen, RSA *rsa)
243 if ((len = RSA_public_decrypt(siglen, sigbuf, decrypted, rsa,
210 openssh_RSA_verify(int type, u_char *hash, u_int hashlen, u_char *sigbuf, u_int siglen, RSA *rsa) argument
/external/openssl/apps/
H A Ddgst.c122 unsigned char *sigbuf = NULL; local
473 sigbuf = OPENSSL_malloc(siglen);
480 siglen = BIO_read(sigbio, sigbuf, siglen);
501 err=do_fp(out, buf,inp,separator, out_bin, sigkey, sigbuf,
530 r=do_fp(out,buf,inp,separator,out_bin,sigkey,sigbuf,
552 if(sigbuf) OPENSSL_free(sigbuf);
/external/chromium_org/net/android/
H A Dkeystore_unittest.cc248 const unsigned char* sigbuf = local
253 0, digest, digest_len, sigbuf, siglen, pub_key.get());
295 const unsigned char* sigbuf = local
300 0, digest, digest_len, sigbuf, siglen, pub_key.get());
H A Dkeystore_openssl.cc385 const unsigned char* sigbuf = local
388 DSA_SIG* dsa_sig = d2i_DSA_SIG(NULL, &sigbuf, siglen);
576 const unsigned char* sigbuf = local
579 return d2i_ECDSA_SIG(NULL, &sigbuf, siglen);

Completed in 1137 milliseconds