Home
last modified time | relevance | path

Searched refs:root_key_len (Results 1 – 2 of 2) sorted by relevance

/external/libweave/third_party/libuweave/src/
Dmacaroon.c52 size_t root_key_len, in verify_mac_tag_() argument
57 if (root_key == NULL || root_key_len == 0 || context == NULL || in verify_mac_tag_()
63 if (!create_mac_tag_(root_key, root_key_len, context, caveats, num_caveats, in verify_mac_tag_()
73 size_t root_key_len, in uw_macaroon_create_from_root_key_() argument
78 root_key_len == 0 || caveats == NULL || num_caveats == 0) { in uw_macaroon_create_from_root_key_()
82 if (!create_mac_tag_(root_key, root_key_len, context, caveats, num_caveats, in uw_macaroon_create_from_root_key_()
157 size_t root_key_len, in uw_macaroon_validate_() argument
165 if (root_key == NULL || root_key_len == 0 || macaroon == NULL || in uw_macaroon_validate_()
167 !verify_mac_tag_(root_key, root_key_len, context, macaroon->caveats, in uw_macaroon_validate_()
Dmacaroon.h56 size_t root_key_len,
77 size_t root_key_len,