Home
last modified time | relevance | path

Searched refs:UW_MACAROON_ENCODING_MAX_UINT_CBOR_LEN (Results 1 – 3 of 3) sorted by relevance

/external/libweave/third_party/libuweave/src/
Dmacaroon.c194 out_len < UW_MACAROON_ENCODING_MAX_UINT_CBOR_LEN || in uw_macaroon_serialize_()
205 size_t offset = UW_MACAROON_ENCODING_MAX_UINT_CBOR_LEN; in uw_macaroon_serialize_()
230 size_t bstr_len = offset - UW_MACAROON_ENCODING_MAX_UINT_CBOR_LEN; in uw_macaroon_serialize_()
232 bstr_len, out, UW_MACAROON_ENCODING_MAX_UINT_CBOR_LEN, &item_len)) { in uw_macaroon_serialize_()
237 memmove(out + item_len, out + UW_MACAROON_ENCODING_MAX_UINT_CBOR_LEN, in uw_macaroon_serialize_()
Dmacaroon_caveat.c137 return UW_MACAROON_ENCODING_MAX_UINT_CBOR_LEN; in uw_macaroon_caveat_creation_get_buffsize_()
143 return 2 * UW_MACAROON_ENCODING_MAX_UINT_CBOR_LEN; in uw_macaroon_caveat_creation_get_buffsize_()
153 return str_len + UW_MACAROON_ENCODING_MAX_UINT_CBOR_LEN; in uw_macaroon_caveat_creation_get_buffsize_()
339 uint8_t bstr_cbor_prefix[UW_MACAROON_ENCODING_MAX_UINT_CBOR_LEN] = {0}; in uw_macaroon_caveat_sign_()
370 uint8_t value_cbor_prefix[UW_MACAROON_ENCODING_MAX_UINT_CBOR_LEN] = {0}; in uw_macaroon_caveat_sign_()
Dmacaroon_encoding.h20 #define UW_MACAROON_ENCODING_MAX_UINT_CBOR_LEN 5 macro