Searched refs:sigblob (Results 1 - 3 of 3) sorted by relevance

/external/openssh/
H A Dssh-dss.c54 u_char digest[SSH_DIGEST_MAX_LENGTH], sigblob[SIGBLOB_LEN]; local
85 explicit_bzero(sigblob, SIGBLOB_LEN);
86 BN_bn2bin(sig->r, sigblob + SIGBLOB_LEN - INTBLOB_LEN - rlen);
87 BN_bn2bin(sig->s, sigblob + SIGBLOB_LEN - slen);
95 memcpy(*sigp, sigblob, SIGBLOB_LEN);
107 (ret = sshbuf_put_string(b, sigblob, SIGBLOB_LEN)) != 0)
136 u_char digest[SSH_DIGEST_MAX_LENGTH], *sigblob = NULL; local
150 if ((sigblob = malloc(signaturelen)) == NULL)
152 memcpy(sigblob, signature, signaturelen);
159 sshbuf_get_string(b, &sigblob,
[all...]
H A Dssh-rsa.c128 u_char digest[SSH_DIGEST_MAX_LENGTH], *osigblob, *sigblob = NULL; local
145 if (sshbuf_get_string(b, &sigblob, &len) != 0) {
160 osigblob = sigblob;
161 if ((sigblob = realloc(sigblob, modlen)) == NULL) {
162 sigblob = osigblob; /* put it back for clear/free */
166 memmove(sigblob + diff, sigblob, len);
167 explicit_bzero(sigblob, diff);
179 ret = openssh_RSA_verify(hash_alg, digest, dlen, sigblob, le
[all...]
H A Dssh-ed25519.c101 const u_char *sigblob; local
116 (r = sshbuf_get_string_direct(b, &sigblob, &len)) != 0)
140 memcpy(sm, sigblob, len);

Completed in 106 milliseconds