Home
last modified time | relevance | path

Searched refs:sigp (Results 1 – 17 of 17) 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.c83 ssh_rsa_sign(const struct sshkey *key, u_char **sigp, size_t *lenp, in ssh_rsa_sign() argument
94 if (sigp != NULL) in ssh_rsa_sign()
95 *sigp = NULL; in ssh_rsa_sign()
143 if (sigp != NULL) { in ssh_rsa_sign()
144 if ((*sigp = malloc(len)) == NULL) { in ssh_rsa_sign()
148 memcpy(*sigp, sshbuf_ptr(b), len); in ssh_rsa_sign()
Dsshkey.h197 u_char **sigp, size_t *lenp, const u_char *data, size_t datalen,
201 int ssh_dss_sign(const struct sshkey *key, u_char **sigp, size_t *lenp,
206 int ssh_ecdsa_sign(const struct sshkey *key, u_char **sigp, size_t *lenp,
211 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.c445 u_char **sigp, size_t *lenp, in ssh_agent_sign() argument
454 *sigp = NULL; in ssh_agent_sign()
482 if ((r = sshbuf_get_string(msg, sigp, &len)) != 0) in ssh_agent_sign()
Dsshconnect2.c1015 identity_sign(struct identity *id, u_char **sigp, size_t *lenp, in identity_sign() argument
1023 return ssh_agent_sign(id->agent_fd, id->key, sigp, lenp, in identity_sign()
1032 return (sshkey_sign(id->key, sigp, lenp, data, datalen, in identity_sign()
1038 ret = sshkey_sign(prv, sigp, lenp, data, datalen, in identity_sign()
1610 ssh_keysign(struct sshkey *key, u_char **sigp, size_t *lenp, in ssh_keysign() argument
1620 *sigp = NULL; in ssh_keysign()
1711 if ((r = sshbuf_get_string(b, sigp, lenp)) != 0) { in ssh_keysign()
Dmonitor_wrap.c219 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.c2184 u_char **sigp, size_t *lenp, in sshkey_sign() argument
2187 if (sigp != NULL) in sshkey_sign()
2188 *sigp = NULL; in sshkey_sign()
2197 return ssh_dss_sign(key, sigp, lenp, data, datalen, compat); in sshkey_sign()
2201 return ssh_ecdsa_sign(key, sigp, lenp, data, datalen, compat); in sshkey_sign()
2205 return ssh_rsa_sign(key, sigp, lenp, data, datalen, alg); in sshkey_sign()
2209 return ssh_ed25519_sign(key, sigp, lenp, data, datalen, compat); in sshkey_sign()
Dssh_api.c58 mm_sshkey_sign(struct sshkey *key, u_char **sigp, u_int *lenp, in mm_sshkey_sign() argument
DChangeLog9256 sigp and lenp are not optional in ssh_agent_sign(); ok
/external/ltp/testcases/kernel/hotplug/memory_hotplug/
Dmemtoy.c167 int isig = 0, *sigp = signals_to_handle; in signal_handler() local
177 while (*sigp) { in signal_handler()
178 if (*sigp == sig) in signal_handler()
181 ++sigp; in signal_handler()
218 int *sigp = signals_to_handle; in set_signals() local
228 while (*sigp) { in set_signals()
230 int sig = *(sigp++); in set_signals()
/external/boringssl/src/crypto/dsa/
Ddsa.c756 const uint8_t *sigp = sig; in DSA_check_signature() local
757 if (d2i_DSA_SIG(&s, &sigp, sig_len) == NULL || sigp != sig + sig_len) { in DSA_check_signature()
/external/mksh/src/
Djobs.c701 waitfor(const char *cp, int *sigp) in waitfor() argument
711 *sigp = 0; in waitfor()
755 *sigp = ksh_sigmask(-rv); in waitfor()
/external/v8/src/s390/
Dconstants-s390.h1076 V(sigp, SIGP, 0xAE) /* type = RS_A SIGNAL PROCESSOR */ \