Home
last modified time | relevance | path

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

/system/security/keystore-engine/
Drsa_meth.cpp92 size_t replyLen; in keystore_rsa_priv_enc() local
94 num, &reply, &replyLen); in keystore_rsa_priv_enc()
103 } else if (replyLen <= 0) { in keystore_rsa_priv_enc()
108 memcpy(to, reply, replyLen); in keystore_rsa_priv_enc()
112 (unsigned long long) replyLen); in keystore_rsa_priv_enc()
113 return static_cast<int>(replyLen); in keystore_rsa_priv_enc()
138 size_t replyLen; in keystore_rsa_priv_dec() local
140 flen, &reply, &replyLen); in keystore_rsa_priv_dec()
147 } else if (replyLen <= 0) { in keystore_rsa_priv_dec()
156 replyLen--; in keystore_rsa_priv_dec()
[all …]
Decdsa_meth.cpp77 size_t replyLen; in keystore_ecdsa_do_sign() local
79 dlen, &reply, &replyLen); in keystore_ecdsa_do_sign()
86 } else if (replyLen <= 0) { in keystore_ecdsa_do_sign()
89 } else if (replyLen > (size_t) num) { in keystore_ecdsa_do_sign()
96 replyLen)); in keystore_ecdsa_do_sign()
103 ecdsa_sig.get(), replyLen); in keystore_ecdsa_do_sign()
Ddsa_meth.cpp71 size_t replyLen; in keystore_dsa_do_sign() local
73 dlen, &reply, &replyLen); in keystore_dsa_do_sign()
80 } else if (replyLen <= 0) { in keystore_dsa_do_sign()
83 } else if (replyLen > (size_t) num) { in keystore_dsa_do_sign()
90 replyLen)); in keystore_dsa_do_sign()
97 dsa_sig.get(), replyLen); in keystore_dsa_do_sign()