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

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

Completed in 58 milliseconds