Home
last modified time | relevance | path

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

/onnv-gate/usr/src/lib/libsmbfs/smb/
H A Dsigning.c192 uint8_t sigbuf[SMBSIGLEN]; in smb_rq_verify() local
223 err = smb_compute_MAC(ctx, m, rseqno, sigbuf); in smb_rq_verify()
237 if (bcmp(sigbuf, sigloc, SMBSIGLEN) == 0) in smb_rq_verify()
248 (void) smb_compute_MAC(ctx, m, rseqno + fudge, sigbuf); in smb_rq_verify()
249 if (bcmp(sigbuf, sigloc, SMBSIGLEN) == 0) in smb_rq_verify()
251 (void) smb_compute_MAC(ctx, m, rseqno - fudge, sigbuf); in smb_rq_verify()
252 if (bcmp(sigbuf, sigloc, SMBSIGLEN) == 0) { in smb_rq_verify()
H A Drq.c338 uint32_t sigbuf[2]; in smb_rq_internal() local
419 md_get_mem(mbp, (char *)sigbuf, 4, MB_MSYSTEM); in smb_rq_internal()
420 if (0 != bcmp(sigbuf, ffsmb, 4)) { in smb_rq_internal()
/onnv-gate/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_sign.c238 uint8_t sigbuf[SMBSIGLEN]; in smb_rq_verify() local
269 status = smb_compute_MAC(vcp, mp, rsn, sigbuf); in smb_rq_verify()
283 if (bcmp(sigbuf, sigloc, SMBSIGLEN) == 0) in smb_rq_verify()
295 (void) smb_compute_MAC(vcp, mp, rsn + fudge, sigbuf); in smb_rq_verify()
296 if (bcmp(sigbuf, sigloc, SMBSIGLEN) == 0) in smb_rq_verify()
298 (void) smb_compute_MAC(vcp, mp, rsn - fudge, sigbuf); in smb_rq_verify()
299 if (bcmp(sigbuf, sigloc, SMBSIGLEN) == 0) { in smb_rq_verify()
/onnv-gate/usr/src/cmd/tip/
H A Dtipout.c24 static sigjmp_buf sigbuf; variable
36 siglongjmp(sigbuf, 1); in intIOT()
70 siglongjmp(sigbuf, 1); in intEMT()
87 siglongjmp(sigbuf, 1); in intSYS()
113 (void) sigsetjmp(sigbuf, 1); in tipout()
/onnv-gate/usr/src/common/openssl/apps/
H A Ddgst.c101 unsigned char *sigbuf = NULL; in MAIN() local
328 sigbuf = OPENSSL_malloc(siglen); in MAIN()
335 siglen = BIO_read(sigbio, sigbuf, siglen); in MAIN()
360 err=do_fp(out, buf,inp,separator, out_bin, sigkey, sigbuf, in MAIN()
385 r=do_fp(out,buf,inp,separator,out_bin,sigkey,sigbuf, in MAIN()
405 if(sigbuf) OPENSSL_free(sigbuf); in MAIN()
/onnv-gate/usr/src/lib/libc/port/gen/
H A Dwalkstack.c351 char sigbuf[SIG2STR_MAX]; in display_stack_info() local
359 sigbuf[0] = '?'; in display_stack_info()
360 sigbuf[1] = 0; in display_stack_info()
362 (void) sig2str(signo, sigbuf); in display_stack_info()
365 buffer, (ulong_t)signo, sigbuf); in display_stack_info()
/onnv-gate/usr/src/common/openssl/crypto/dsa/
H A Ddsa_vrf.c82 const unsigned char *sigbuf, int siglen, DSA *dsa) in DSA_verify() argument
89 if (d2i_DSA_SIG(&s,&sigbuf,siglen) == NULL) goto err; in DSA_verify()
H A Ddsa.h203 const unsigned char *sigbuf, int siglen, DSA *dsa);
/onnv-gate/usr/src/common/openssl/crypto/ecdsa/
H A 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()
/onnv-gate/usr/src/common/openssl/crypto/evp/
H A Dp_verify.c65 int EVP_VerifyFinal(EVP_MD_CTX *ctx, const unsigned char *sigbuf, in EVP_VerifyFinal() argument
99 sigbuf,siglen,pkey->pkey.ptr)); in EVP_VerifyFinal()
H A Devp.h239 const unsigned char *sigbuf, unsigned int siglen,
250 unsigned int m_length,const unsigned char *sigbuf,
555 int EVP_VerifyFinal(EVP_MD_CTX *ctx,const unsigned char *sigbuf,
/onnv-gate/usr/src/common/openssl/crypto/rsa/
H A Drsa_sign.c146 unsigned char *sigbuf, unsigned int siglen, RSA *rsa) in RSA_verify() argument
161 sigbuf, siglen, rsa); in RSA_verify()
174 i=RSA_public_decrypt((int)siglen,sigbuf,s,rsa,RSA_PKCS1_PADDING); in RSA_verify()
H A 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()
H A Drsa.h120 unsigned char *sigbuf, unsigned int siglen, const RSA *rsa);
289 unsigned char *sigbuf, unsigned int siglen, RSA *rsa);
298 unsigned char *sigbuf, unsigned int siglen, RSA *rsa);
/onnv-gate/usr/src/common/openssl/doc/crypto/
H A DRSA_sign_ASN1_OCTET_STRING.pod16 unsigned int m_len, unsigned char *sigbuf, unsigned int siglen,
31 RSA_verify_ASN1_OCTET_STRING() verifies that the signature B<sigbuf>
H A DRSA_sign.pod15 unsigned char *sigbuf, unsigned int siglen, RSA *rsa);
30 RSA_verify() verifies that the signature B<sigbuf> of size B<siglen>
H A DDSA_sign.pod18 unsigned char *sigbuf, int siglen, DSA *dsa);
35 DSA_verify() verifies that the signature B<sigbuf> of size B<siglen>
H A DEVP_VerifyInit.pod13 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>.
H A Drsa.pod27 unsigned char *sigbuf, unsigned int siglen, RSA *rsa);
60 unsigned int m_len, unsigned char *sigbuf, unsigned int siglen,
H A Ddsa.pod30 const unsigned char *sigbuf, int siglen, DSA *dsa);
H A DRSA_set_method.pod135 unsigned char *sigbuf, unsigned int siglen, RSA *rsa);
/onnv-gate/usr/src/cmd/ssh/libssh/common/
H A Dssh-rsa.c214 u_char *sigbuf, u_int siglen, RSA *rsa) in openssh_RSA_verify() argument
247 if ((len = RSA_public_decrypt(siglen, sigbuf, decrypted, rsa, in openssh_RSA_verify()
/onnv-gate/usr/src/common/openssl/crypto/engine/
H A Dhw_pk11_pub.c119 unsigned int m_len, unsigned char *sigbuf, unsigned int siglen,
1100 unsigned int m_len, unsigned char *sigbuf, unsigned int siglen, in pk11_RSA_verify() argument
1196 rv = pFuncList->C_Verify(sp->session, s, i, sigbuf, in pk11_RSA_verify()
1798 unsigned char sigbuf[DSA_SIGNATURE_LEN]; in pk11_dsa_do_verify() local
1855 (void) memset(sigbuf, 0, siglen); in pk11_dsa_do_verify()
1857 sigbuf + siglen2 - BN_num_bytes(sig->r)); in pk11_dsa_do_verify()
1858 (void) BN_bn2bin(sig->s, &sigbuf[siglen2] + siglen2 - in pk11_dsa_do_verify()
1862 (unsigned char *) dgst, dlen, sigbuf, (CK_ULONG)siglen); in pk11_dsa_do_verify()
/onnv-gate/usr/src/uts/common/io/
H A Dcmlb.c2357 char sigbuf[2];
2448 bcopy(&mbp->signature, sigbuf, sizeof (sigbuf));
2453 if (((sigbuf[1] & 0xFF) != ((MBB_MAGIC >> 8) & 0xFF)) ||
2454 (sigbuf[0] != (MBB_MAGIC & 0xFF))) {