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

/system/security/keystore-engine/
H A Drsa_meth.cpp161 int outSize; local
164 outSize = RSA_padding_check_PKCS1_type_2(to, num, alignedReply, replyLen, num);
167 outSize = RSA_padding_check_X931(to, num, alignedReply, replyLen, num);
170 outSize = RSA_padding_check_none(to, num, alignedReply, replyLen, num);
174 outSize = -1;
180 ALOGV("rsa=%p keystore_rsa_priv_dec => returning %p len %llu", rsa, to, outSize);
181 return outSize;
/system/security/keystore/
H A DIKeystoreService.cpp603 size_t outSize = 0; local
604 int32_t ret = get(name, (uint8_t**) &out, &outSize);
607 reply->writeInt32(outSize);
608 void* buf = reply->writeInplace(outSize);
609 memcpy(buf, out, outSize);
759 size_t outSize = 0; local
760 int32_t ret = sign(name, (const uint8_t*) in, (size_t) inSize, (uint8_t**) &out, &outSize);
762 if (outSize > 0 && out != NULL) {
763 reply->writeInt32(outSize);
764 void* buf = reply->writeInplace(outSize);
802 size_t outSize = 0; local
[all...]

Completed in 20 milliseconds