Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/ssh/libssh/common/
H A Dssh-dss.c42 #define SIGBLOB_LEN (2*INTBLOB_LEN) macro
51 u_char digest[EVP_MAX_MD_SIZE], sigblob[SIGBLOB_LEN]; in ssh_dss_sign()
78 memset(sigblob, 0, SIGBLOB_LEN); in ssh_dss_sign()
79 BN_bn2bin(sig->r, sigblob+ SIGBLOB_LEN - INTBLOB_LEN - rlen); in ssh_dss_sign()
80 BN_bn2bin(sig->s, sigblob+ SIGBLOB_LEN - slen); in ssh_dss_sign()
85 *lenp = SIGBLOB_LEN; in ssh_dss_sign()
87 *sigp = xmalloc(SIGBLOB_LEN); in ssh_dss_sign()
88 memcpy(*sigp, sigblob, SIGBLOB_LEN); in ssh_dss_sign()
94 buffer_put_string(&b, sigblob, SIGBLOB_LEN); in ssh_dss_sign()
151 if (len != SIGBLOB_LEN) { in ssh_dss_verify()