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

/external/libweave/third_party/libuweave/src/
H A Dmacaroon.c17 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_caveat
14 create_mac_tag_(const uint8_t* key, size_t key_len, const UwMacaroonContext* context, const UwMacaroonCaveat* const caveats[], size_t num_caveats, uint8_t mac_tag[UW_MACAROON_MAC_LEN]) argument
51 verify_mac_tag_(const uint8_t* root_key, size_t root_key_len, const UwMacaroonContext* context, const UwMacaroonCaveat* const caveats[], size_t num_caveats, const uint8_t mac_tag[UW_MACAROON_MAC_LEN]) argument
71 uw_macaroon_create_from_root_key_(UwMacaroon* new_macaroon, const uint8_t* root_key, size_t root_key_len, const UwMacaroonContext* context, const UwMacaroonCaveat* const caveats[], size_t num_caveats) argument
[all...]
H A Dmacaroon.h24 const UwMacaroonCaveat* const* caveats; member in struct:__anon11500
58 const UwMacaroonCaveat* const caveats[],
91 * the caller must maintain the input string around to make caveats with string
/external/libweave/src/privet/
H A Dauth_manager.cc167 const std::vector<const UwMacaroonCaveat*>& caveats) {
176 caveats.data(), caveats.size()));
190 const std::vector<const UwMacaroonCaveat*>& caveats) {
198 for (auto caveat : caveats) {
327 // Macaroons have no caveats for auth type. So we just append the type to the
563 std::vector<const UwMacaroonCaveat*> caveats{
569 caveats.push_back(&app.GetCaveat());
571 caveats.push_back(&session.GetCaveat());
573 return ExtendMacaroonToken(macaroon, now, caveats);
164 CreateMacaroonToken( const std::vector<uint8_t>& secret, const base::Time& time, const std::vector<const UwMacaroonCaveat*>& caveats) argument
187 ExtendMacaroonToken( const UwMacaroon& macaroon, const base::Time& time, const std::vector<const UwMacaroonCaveat*>& caveats) argument
[all...]
/external/deqp/modules/egl/
H A DteglChooseConfigTests.cpp384 static const EGLint caveats[] = { EGL_SLOW_CONFIG, EGL_NON_CONFORMANT_CONFIG }; local
385 return rnd.choose<EGLint>(caveats, caveats+DE_LENGTH_OF_ARRAY(caveats));

Completed in 123 milliseconds