Home
last modified time | relevance | path

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

/external/openssh/
Dssh-dss.c50 ssh_dss_sign(const struct sshkey *key, u_char **sigp, size_t *lenp, in ssh_dss_sign() argument
61 if (sigp != NULL) in ssh_dss_sign()
62 *sigp = NULL; in ssh_dss_sign()
90 if (sigp != NULL) { in ssh_dss_sign()
91 if ((*sigp = malloc(SIGBLOB_LEN)) == NULL) { in ssh_dss_sign()
95 memcpy(*sigp, sigblob, SIGBLOB_LEN); in ssh_dss_sign()
110 if (sigp != NULL) { in ssh_dss_sign()
111 if ((*sigp = malloc(len)) == NULL) { in ssh_dss_sign()
115 memcpy(*sigp, sshbuf_ptr(b), len); in ssh_dss_sign()
Dssh-ed25519.c36 ssh_ed25519_sign(const struct sshkey *key, u_char **sigp, size_t *lenp, in ssh_ed25519_sign() argument
47 if (sigp != NULL) in ssh_ed25519_sign()
48 *sigp = NULL; in ssh_ed25519_sign()
73 if (sigp != NULL) { in ssh_ed25519_sign()
74 if ((*sigp = malloc(len)) == NULL) { in ssh_ed25519_sign()
78 memcpy(*sigp, sshbuf_ptr(b), len); in ssh_ed25519_sign()
Dssh-ecdsa.c48 ssh_ecdsa_sign(const struct sshkey *key, u_char **sigp, size_t *lenp, in ssh_ecdsa_sign() argument
60 if (sigp != NULL) in ssh_ecdsa_sign()
61 *sigp = NULL; in ssh_ecdsa_sign()
90 if (sigp != NULL) { in ssh_ecdsa_sign()
91 if ((*sigp = malloc(len)) == NULL) { in ssh_ecdsa_sign()
95 memcpy(*sigp, sshbuf_ptr(b), len); in ssh_ecdsa_sign()
Dssh-rsa.c41 ssh_rsa_sign(const struct sshkey *key, u_char **sigp, size_t *lenp, in ssh_rsa_sign() argument
53 if (sigp != NULL) in ssh_rsa_sign()
54 *sigp = NULL; in ssh_rsa_sign()
98 if (sigp != NULL) { in ssh_rsa_sign()
99 if ((*sigp = malloc(len)) == NULL) { in ssh_rsa_sign()
103 memcpy(*sigp, sshbuf_ptr(b), len); in ssh_rsa_sign()
Dsshkey.h195 int ssh_rsa_sign(const struct sshkey *key, u_char **sigp, size_t *lenp,
200 int ssh_dss_sign(const struct sshkey *key, u_char **sigp, size_t *lenp,
205 int ssh_ecdsa_sign(const struct sshkey *key, u_char **sigp, size_t *lenp,
210 int ssh_ed25519_sign(const struct sshkey *key, u_char **sigp, size_t *lenp,
Dkey.c134 key_sign(const Key *key, u_char **sigp, u_int *lenp, in key_sign() argument
141 if (sigp != NULL) in key_sign()
142 *sigp = NULL; in key_sign()
153 if (sigp != NULL) in key_sign()
154 *sigp = sig; in key_sign()
Dauthfd.h43 u_char **sigp, size_t *lenp,
Dauthfd.c432 u_char **sigp, size_t *lenp, in ssh_agent_sign() argument
441 *sigp = NULL; in ssh_agent_sign()
468 if ((r = sshbuf_get_string(msg, sigp, &len)) != 0) in ssh_agent_sign()
Dsshconnect2.c974 identity_sign(struct identity *id, u_char **sigp, size_t *lenp, in identity_sign() argument
982 return ssh_agent_sign(id->agent_fd, id->key, sigp, lenp, in identity_sign()
990 return (sshkey_sign(id->key, sigp, lenp, data, datalen, in identity_sign()
995 ret = sshkey_sign(prv, sigp, lenp, data, datalen, compat); in identity_sign()
1464 ssh_keysign(struct sshkey *key, u_char **sigp, size_t *lenp, in ssh_keysign() argument
1474 *sigp = NULL; in ssh_keysign()
1565 if ((r = sshbuf_get_string(b, sigp, lenp)) != 0) { in ssh_keysign()
Dmonitor_wrap.c220 mm_key_sign(Key *key, u_char **sigp, u_int *lenp, in mm_key_sign() argument
236 *sigp = buffer_get_string(&m, lenp); in mm_key_sign()
Dsshkey.c2176 u_char **sigp, size_t *lenp, in sshkey_sign() argument
2179 if (sigp != NULL) in sshkey_sign()
2180 *sigp = NULL; in sshkey_sign()
2189 return ssh_dss_sign(key, sigp, lenp, data, datalen, compat); in sshkey_sign()
2193 return ssh_ecdsa_sign(key, sigp, lenp, data, datalen, compat); in sshkey_sign()
2197 return ssh_rsa_sign(key, sigp, lenp, data, datalen, compat); in sshkey_sign()
2201 return ssh_ed25519_sign(key, sigp, lenp, data, datalen, compat); in sshkey_sign()
Dssh_api.c60 mm_sshkey_sign(struct sshkey *key, u_char **sigp, u_int *lenp, in mm_sshkey_sign() argument
DChangeLog2158 sigp and lenp are not optional in ssh_agent_sign(); ok
/external/boringssl/src/crypto/dsa/
Ddsa.c724 const uint8_t *sigp = sig; in DSA_check_signature() local
725 if (d2i_DSA_SIG(&s, &sigp, sig_len) == NULL || sigp != sig + sig_len) { in DSA_check_signature()
/external/mksh/src/
Djobs.c702 waitfor(const char *cp, int *sigp) in waitfor() argument
712 *sigp = 0; in waitfor()
756 *sigp = ksh_sigmask(-rv); in waitfor()
/external/valgrind/docs/internals/
Ds390-opcodes.csv175 sigp,"signal processor",N/A,"privileged instruction"