Home
last modified time | relevance | path

Searched refs:reply_len (Results 1 – 6 of 6) sorted by relevance

/system/security/keystore-engine/
Dandroid_engine.cpp103 size_t reply_len; in rsa_private_transform() local
104 int32_t ret = g_keystore_backend->sign(key_id, in, len, &reply, &reply_len); in rsa_private_transform()
111 } else if (reply_len == 0 || reply == nullptr) { in rsa_private_transform()
116 if (reply_len > len) { in rsa_private_transform()
121 ALOGW("Reply len %zu greater than expected %zu", reply_len, len); in rsa_private_transform()
122 memcpy(out, &reply[reply_len - len], len); in rsa_private_transform()
123 } else if (reply_len < len) { in rsa_private_transform()
128 ALOGW("Reply len %zu lesser than expected %zu", reply_len, len); in rsa_private_transform()
130 memcpy(out + len - reply_len, &reply[0], reply_len); in rsa_private_transform()
159 size_t reply_len; in ecdsa_sign() local
[all …]
Dkeystore_backend.h32 uint8_t** reply, size_t* reply_len) = 0;
34 size_t* reply_len) = 0;
Dkeystore_backend_binder.h33 uint8_t** reply, size_t* reply_len) override;
35 size_t* reply_len) override;
Dkeystore_backend_hidl.h33 uint8_t** reply, size_t* reply_len) override;
35 size_t* reply_len) override;
Dkeystore_backend_hidl.cpp35 size_t* reply_len) { in sign() argument
36 if (key_id == nullptr || in == nullptr || reply == nullptr || reply_len == nullptr) { in sign()
51 *reply_len = signedData.size(); in sign()
Dkeystore_backend_binder.cpp97 uint8_t** reply, size_t* reply_len) { in sign() argument
236 if (reply_len) { in sign()
237 *reply_len = reply_hidl.size(); in sign()