Home
last modified time | relevance | path

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

/system/security/keystore/
Dblob.cpp592 std::string encodedName; in encodeKeyName() local
593 encodedName.reserve(keyName.size() * 2); in encodeKeyName()
600 encodedName.append(1, '+' + (uint8_t(*in) >> 6)); in encodeKeyName()
605 encodedName.append(1, '0' + (*in & 0x3F)); in encodeKeyName()
608 encodedName.append(1, *in); in encodeKeyName()
612 return encodedName; in encodeKeyName()
615 std::string decodeKeyName(const std::string& encodedName) { in decodeKeyName() argument
617 decodedName.reserve(encodedName.size()); in decodeKeyName()
618 auto in = encodedName.begin(); in decodeKeyName()
621 while (in != encodedName.end()) { in decodeKeyName()
Dblob.h282 std::string decodeKeyName(const std::string& encodedName);