Home
last modified time | relevance | path

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

/system/security/keystore/
Dblob.cpp610 std::string encodedName; in encodeKeyName() local
611 encodedName.reserve(keyName.size() * 2); in encodeKeyName()
618 encodedName.append(1, '+' + (uint8_t(*in) >> 6)); in encodeKeyName()
623 encodedName.append(1, '0' + (*in & 0x3F)); in encodeKeyName()
626 encodedName.append(1, *in); in encodeKeyName()
630 return encodedName; in encodeKeyName()
633 std::string decodeKeyName(const std::string& encodedName) { in decodeKeyName() argument
635 decodedName.reserve(encodedName.size()); in decodeKeyName()
636 auto in = encodedName.begin(); in decodeKeyName()
639 while (in != encodedName.end()) { in decodeKeyName()
Dblob.h283 std::string decodeKeyName(const std::string& encodedName);