Home
last modified time | relevance | path

Searched refs:sigbuf (Results 1 – 14 of 14) sorted by relevance

/external/dropbear/
Dcli-authpubkey.c134 buffer* sigbuf = NULL; in send_msg_userauth_pubkey() local
161 sigbuf = buf_new(4 + SHA1_HASH_SIZE + ses.writepayload->len); in send_msg_userauth_pubkey()
162 buf_putstring(sigbuf, ses.session_id, SHA1_HASH_SIZE); in send_msg_userauth_pubkey()
163 buf_putbytes(sigbuf, ses.writepayload->data, ses.writepayload->len); in send_msg_userauth_pubkey()
164 buf_put_sign(ses.writepayload, key, type, sigbuf->data, sigbuf->len); in send_msg_userauth_pubkey()
165 buf_free(sigbuf); /* Nothing confidential in the buffer */ in send_msg_userauth_pubkey()
/external/openssl/crypto/rsa/
Drsa_sign.c149 const unsigned char *sigbuf, size_t siglen, in int_rsa_verify() argument
165 sigbuf,rm,rsa,RSA_PKCS1_PADDING); in int_rsa_verify()
182 i=RSA_public_decrypt((int)siglen,sigbuf,s,rsa,RSA_PKCS1_PADDING); in int_rsa_verify()
274 const unsigned char *sigbuf, unsigned int siglen, in RSA_verify() argument
281 sigbuf, siglen, rsa); in RSA_verify()
284 return int_rsa_verify(dtype, m, m_len, NULL, NULL, sigbuf, siglen, rsa); in RSA_verify()
Drsa_saos.c106 unsigned int m_len, unsigned char *sigbuf, unsigned int siglen, in RSA_verify_ASN1_OCTET_STRING() argument
126 i=RSA_public_decrypt((int)siglen,sigbuf,s,rsa,RSA_PKCS1_PADDING); in RSA_verify_ASN1_OCTET_STRING()
Drsa.h120 const unsigned char *sigbuf, unsigned int siglen,
332 const unsigned char *sigbuf, unsigned int siglen, RSA *rsa);
341 unsigned char *sigbuf, unsigned int siglen, RSA *rsa);
Drsa_locl.h3 const unsigned char *sigbuf, size_t siglen,
/external/openssl/crypto/evp/
Dp_verify.c65 int EVP_VerifyFinal(EVP_MD_CTX *ctx, const unsigned char *sigbuf, in EVP_VerifyFinal() argument
89 i = EVP_PKEY_verify(pkctx, sigbuf, siglen, m, m_len); in EVP_VerifyFinal()
117 sigbuf,siglen,pkey->pkey.ptr)); in EVP_VerifyFinal()
Devp.h175 const unsigned char *sigbuf, unsigned int siglen,
188 unsigned int m_length,const unsigned char *sigbuf,
569 int EVP_VerifyFinal(EVP_MD_CTX *ctx,const unsigned char *sigbuf,
/external/openssl/apps/
Ddgst.c122 unsigned char *sigbuf = NULL; in MAIN() local
461 sigbuf = OPENSSL_malloc(siglen); in MAIN()
468 siglen = BIO_read(sigbio, sigbuf, siglen); in MAIN()
489 err=do_fp(out, buf,inp,separator, out_bin, sigkey, sigbuf, in MAIN()
518 r=do_fp(out,buf,inp,separator,out_bin,sigkey,sigbuf, in MAIN()
540 if(sigbuf) OPENSSL_free(sigbuf); in MAIN()
/external/openssl/crypto/dsa/
Ddsa_vrf.c77 const unsigned char *sigbuf, int siglen, DSA *dsa) in DSA_verify() argument
84 if (d2i_DSA_SIG(&s,&sigbuf,siglen) == NULL) goto err; in DSA_verify()
Ddsa.h203 const unsigned char *sigbuf, int siglen, DSA *dsa);
/external/openssl/crypto/ecdsa/
Decs_vrf.c84 const unsigned char *sigbuf, int sig_len, EC_KEY *eckey) in ECDSA_verify() argument
91 if (d2i_ECDSA_SIG(&s, &sigbuf, sig_len) == NULL) goto err; in ECDSA_verify()
/external/openssl/include/openssl/
Drsa.h120 const unsigned char *sigbuf, unsigned int siglen,
332 const unsigned char *sigbuf, unsigned int siglen, RSA *rsa);
341 unsigned char *sigbuf, unsigned int siglen, RSA *rsa);
Ddsa.h203 const unsigned char *sigbuf, int siglen, DSA *dsa);
Devp.h175 const unsigned char *sigbuf, unsigned int siglen,
188 unsigned int m_length,const unsigned char *sigbuf,
569 int EVP_VerifyFinal(EVP_MD_CTX *ctx,const unsigned char *sigbuf,