Home | History | Annotate | Download | only in dropbear

Lines Matching refs:DROPBEAR_FAILURE

48  * Returns DROPBEAR_SUCCESS or DROPBEAR_FAILURE */
51 int ret = DROPBEAR_FAILURE;
63 if (buf_getmpint(buf, key->e) == DROPBEAR_FAILURE
64 || buf_getmpint(buf, key->n) == DROPBEAR_FAILURE) {
77 if (ret == DROPBEAR_FAILURE) {
86 * Returns DROPBEAR_SUCCESS or DROPBEAR_FAILURE */
88 int ret = DROPBEAR_FAILURE;
93 if (buf_get_rsa_pub_key(buf, key) == DROPBEAR_FAILURE) {
94 TRACE(("leave buf_get_rsa_priv_key: pub: ret == DROPBEAR_FAILURE"))
95 return DROPBEAR_FAILURE;
104 if (buf_getmpint(buf, key->d) == DROPBEAR_FAILURE) {
105 TRACE(("leave buf_get_rsa_priv_key: d: ret == DROPBEAR_FAILURE"))
116 if (buf_getmpint(buf, key->p) == DROPBEAR_FAILURE) {
117 TRACE(("leave buf_get_rsa_priv_key: p: ret == DROPBEAR_FAILURE"))
121 if (buf_getmpint(buf, key->q) == DROPBEAR_FAILURE) {
122 TRACE(("leave buf_get_rsa_priv_key: q: ret == DROPBEAR_FAILURE"))
129 if (ret == DROPBEAR_FAILURE) {
215 * Returns DROPBEAR_SUCCESS or DROPBEAR_FAILURE */
223 int ret = DROPBEAR_FAILURE;