Searched refs:unbase64mem (Results 1 - 4 of 4) sorted by relevance

/systemd/src/basic/
H A Dhexdecoct.h54 int unbase64mem(const char *p, size_t l, void **mem, size_t *len);
H A Dhexdecoct.c608 int unbase64mem(const char *p, size_t l, void **mem, size_t *_len) { function
/systemd/src/test/
H A Dtest-util.c579 assert_se(unbase64mem("", strlen(""), &mem, &len) == 0);
583 assert_se(unbase64mem("Zg==", strlen("Zg=="), &mem, &len) == 0);
587 assert_se(unbase64mem("Zm8=", strlen("Zm8="), &mem, &len) == 0);
591 assert_se(unbase64mem("Zm9v", strlen("Zm9v"), &mem, &len) == 0);
595 assert_se(unbase64mem("Zm9vYg==", strlen("Zm9vYg=="), &mem, &len) == 0);
599 assert_se(unbase64mem("Zm9vYmE=", strlen("Zm9vYmE="), &mem, &len) == 0);
603 assert_se(unbase64mem("Zm9vYmFy", strlen("Zm9vYmFy"), &mem, &len) == 0);
607 assert_se(unbase64mem("A", strlen("A"), &mem, &len) == -EINVAL);
608 assert_se(unbase64mem("A====", strlen("A===="), &mem, &len) == -EINVAL);
609 assert_se(unbase64mem("AA
[all...]
/systemd/src/resolve/
H A Dresolved-dns-trust-anchor.c311 r = unbase64mem(key, strlen(key), &k, &l);

Completed in 1577 milliseconds