Home | History | Annotate | Download | only in src

Lines Matching refs:caveats

17                             const UwMacaroonCaveat* const caveats[],
20 if (key == NULL || key_len == 0 || context == NULL || caveats == NULL ||
33 if (!uw_macaroon_caveat_sign_(key, key_len, context, caveats[0], mac_tag_buff,
41 caveats[i], mac_tag_buff,
54 const UwMacaroonCaveat* const caveats[],
58 caveats == NULL || num_caveats == 0 || mac_tag == 0) {
63 if (!create_mac_tag_(root_key, root_key_len, context, caveats, num_caveats,
75 const UwMacaroonCaveat* const caveats[],
78 root_key_len == 0 || caveats == NULL || num_caveats == 0) {
82 if (!create_mac_tag_(root_key, root_key_len, context, caveats, num_caveats,
88 new_macaroon->caveats = caveats;
112 if (new_macaroon->caveats != old_macaroon->caveats) {
113 memcpy(extended_list, old_macaroon->caveats,
114 old_macaroon->num_caveats * sizeof(old_macaroon->caveats[0]));
117 new_macaroon->caveats = (const UwMacaroonCaveat* const*)extended_list;
121 new_macaroon->caveats + old_macaroon->num_caveats, 1,
167 !verify_mac_tag_(root_key, root_key_len, context, macaroon->caveats,
177 if (!uw_macaroon_caveat_validate_(macaroon->caveats[i], context, &state,
215 macaroon->caveats[i]->bytes, macaroon->caveats[i]->num_bytes,
308 macaroon->caveats = caveat_pointers;