Home
last modified time | relevance | path

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

/system/core/gatekeeperd/
DIGateKeeperService.cpp52 uint32_t outSize = 0; in onTransact() local
55 desiredPasswordSize, &out, &outSize); in onTransact()
59 if (ret == 0 && outSize > 0 && out != NULL) { in onTransact()
62 reply->writeInt32(outSize); in onTransact()
63 reply->writeInt32(outSize); in onTransact()
64 void *buf = reply->writeInplace(outSize); in onTransact()
65 memcpy(buf, out, outSize); in onTransact()
123 uint32_t outSize = 0; in onTransact() local
127 &out, &outSize, &request_reenroll); in onTransact()
130 if (ret == 0 && outSize > 0 && out != NULL) { in onTransact()
[all …]
/system/security/keystore-engine/
Drsa_meth.cpp161 int outSize; in keystore_rsa_priv_dec() local
164 outSize = RSA_padding_check_PKCS1_type_2(to, num, alignedReply, replyLen, num); in keystore_rsa_priv_dec()
167 outSize = RSA_padding_check_X931(to, num, alignedReply, replyLen, num); in keystore_rsa_priv_dec()
170 outSize = RSA_padding_check_none(to, num, alignedReply, replyLen, num); in keystore_rsa_priv_dec()
174 outSize = -1; in keystore_rsa_priv_dec()
180 ALOGV("rsa=%p keystore_rsa_priv_dec => returning %p len %d", rsa, to, outSize); in keystore_rsa_priv_dec()
181 return outSize; in keystore_rsa_priv_dec()
/system/security/keystore/
DIKeystoreService.cpp1378 size_t outSize = 0; in onTransact() local
1379 int32_t ret = get(name, uid, (uint8_t**) &out, &outSize); in onTransact()
1382 reply->writeInt32(outSize); in onTransact()
1383 void* buf = reply->writeInplace(outSize); in onTransact()
1384 memcpy(buf, out, outSize); in onTransact()
1545 size_t outSize = 0; in onTransact() local
1546 … int32_t ret = sign(name, (const uint8_t*) in, (size_t) inSize, (uint8_t**) &out, &outSize); in onTransact()
1548 if (outSize > 0 && out != NULL) { in onTransact()
1549 reply->writeInt32(outSize); in onTransact()
1550 void* buf = reply->writeInplace(outSize); in onTransact()
[all …]