Home | History | Annotate | Download | only in dropbear

Lines Matching refs:buffer

28 #include "buffer.h"
90 int buf_get_pub_key(buffer *buf, sign_key *key, int *type) {
109 /* Rewind the buffer back before "ssh-rsa" etc */
142 int buf_get_priv_key(buffer *buf, sign_key *key, int *type) {
162 /* Rewind the buffer back before "ssh-rsa" etc */
193 void buf_put_pub_key(buffer* buf, sign_key *key, int type) {
195 buffer *pubkeys;
223 void buf_put_priv_key(buffer* buf, sign_key *key, int type) {
357 void buf_put_sign(buffer* buf, sign_key *key, int type,
360 buffer *sigblob;
391 int buf_verify(buffer * buf, sign_key *key, const unsigned char *data,
432 /* Returns DROPBEAR_SUCCESS or DROPBEAR_FAILURE when given a buffer containing
433 * a key, a key, and a type. The buffer is positioned at the start of the
439 buffer * line, char ** fingerprint) {
441 buffer * decodekey = NULL;