Searched refs:reply_len (Results 1 – 6 of 6) sorted by relevance
/system/security/keystore-engine/ |
D | android_engine.cpp | 103 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 …]
|
D | keystore_backend.h | 32 uint8_t** reply, size_t* reply_len) = 0; 34 size_t* reply_len) = 0;
|
D | keystore_backend_binder.h | 33 uint8_t** reply, size_t* reply_len) override; 35 size_t* reply_len) override;
|
D | keystore_backend_hidl.h | 33 uint8_t** reply, size_t* reply_len) override; 35 size_t* reply_len) override;
|
D | keystore_backend_hidl.cpp | 35 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()
|
D | keystore_backend_binder.cpp | 97 uint8_t** reply, size_t* reply_len) { in sign() argument 236 if (reply_len) { in sign() 237 *reply_len = reply_hidl.size(); in sign()
|