Searched refs:sigblob (Results 1 - 4 of 4) sorted by relevance
/freebsd-10.3-release/crypto/openssh/ |
H A D | ssh-dss.c | 54 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) 135 u_char digest[SSH_DIGEST_MAX_LENGTH], *sigblob = NULL; local 149 if ((sigblob = malloc(signaturelen)) == NULL) 151 memcpy(sigblob, signature, signaturelen); 158 sshbuf_get_string(b, &sigblob, [all...] |
H A D | ssh-rsa.c | 171 u_char digest[SSH_DIGEST_MAX_LENGTH], *osigblob, *sigblob = NULL; local 188 if (sshbuf_get_string(b, &sigblob, &len) != 0) { 203 osigblob = sigblob; 204 if ((sigblob = realloc(sigblob, modlen)) == NULL) { 205 sigblob = osigblob; /* put it back for clear/free */ 209 memmove(sigblob + diff, sigblob, len); 210 explicit_bzero(sigblob, diff); 221 ret = openssh_RSA_verify(hash_alg, digest, dlen, sigblob, le [all...] |
H A D | ssh-ed25519.c | 101 const u_char *sigblob; local 116 (r = sshbuf_get_string_direct(b, &sigblob, &len)) != 0) 140 memcpy(sm, sigblob, len);
|
/freebsd-10.3-release/crypto/openssh/regress/unittests/sshkey/ |
H A D | test_sshkey.c | 59 u_char *sigblob; local 102 ASSERT_INT_EQ(sshkey_sign(sign_key, &sigblob, &siglen, 104 ASSERT_INT_EQ(sshbuf_put_string(b, sigblob, siglen), 0); /* signature */ 106 free(sigblob);
|
Completed in 106 milliseconds