Searched refs:new_macaroon (Results 1 – 3 of 3) sorted by relevance
71 bool uw_macaroon_create_from_root_key_(UwMacaroon* new_macaroon, in uw_macaroon_create_from_root_key_() argument77 if (new_macaroon == NULL || root_key == NULL || context == NULL || in uw_macaroon_create_from_root_key_()83 new_macaroon->mac_tag)) { in uw_macaroon_create_from_root_key_()87 new_macaroon->num_caveats = num_caveats; in uw_macaroon_create_from_root_key_()88 new_macaroon->caveats = caveats; in uw_macaroon_create_from_root_key_()94 UwMacaroon* new_macaroon, in uw_macaroon_extend_() argument99 if (old_macaroon == NULL || new_macaroon == NULL || context == NULL || in uw_macaroon_extend_()104 new_macaroon->num_caveats = old_macaroon->num_caveats + 1; in uw_macaroon_extend_()107 if ((new_macaroon->num_caveats) * sizeof(UwMacaroonCaveat*) > buffer_size) { in uw_macaroon_extend_()112 if (new_macaroon->caveats != old_macaroon->caveats) { in uw_macaroon_extend_()[all …]
54 bool uw_macaroon_create_from_root_key_(UwMacaroon* new_macaroon,63 UwMacaroon* new_macaroon,98 UwMacaroon* new_macaroon);
199 UwMacaroon new_macaroon{}; in ExtendMacaroonToken() local200 CHECK(uw_macaroon_extend_(&prev_macaroon, &new_macaroon, &context, caveat, in ExtendMacaroonToken()203 prev_macaroon = new_macaroon; in ExtendMacaroonToken()