432
432
/* Returns DROPBEAR_SUCCESS or DROPBEAR_FAILURE when given a buffer containing
433
433
* a key, a key, and a type. The buffer is positioned at the start of the
434
434
* base64 data, and contains no trailing data */
435
437
int cmp_base64_key(const unsigned char* keyblob, unsigned int keybloblen,
436
438
const unsigned char* algoname, unsigned int algolen,
439
441
buffer * decodekey = NULL;
440
442
int ret = DROPBEAR_FAILURE;