Home
last modified time | relevance | path

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

/system/security/keystore/
Dkeystore_get.cpp33 size_t valueLength; in keystore_get() local
34 int32_t ret = service->get(String16(key, keyLength), value, &valueLength); in keystore_get()
40 return valueLength; in keystore_get()
Dkeystore.cpp508 Blob(const uint8_t* value, size_t valueLength, const uint8_t* info, uint8_t infoLength, in Blob() argument
511 if (valueLength > VALUE_SIZE) { in Blob()
512 valueLength = VALUE_SIZE; in Blob()
515 if (infoLength + valueLength > VALUE_SIZE) { in Blob()
516 infoLength = VALUE_SIZE - valueLength; in Blob()
519 mBlob.length = valueLength; in Blob()
520 memcpy(mBlob.value, value, valueLength); in Blob()
523 memcpy(mBlob.value + valueLength, info, infoLength); in Blob()