Searched defs:privateLen (Results 1 - 1 of 1) sorted by relevance

/system/security/softkeymaster/
H A Dkeymaster_openssl.cpp98 int privateLen = i2d_PrivateKey(pkey, NULL); local
100 if (privateLen <= 0 || publicLen <= 0) {
106 *keyBlobLength = get_softkey_header_size() + sizeof(int) + sizeof(int) + privateLen
135 *p++ = (privateLen >> (8*i)) & 0xFF;
137 if (i2d_PrivateKey(pkey, &p) != privateLen) {
149 long privateLen = 0; local
198 privateLen = (privateLen << 8) | *p++;
200 if (p + privateLen > end) {
201 ALOGE("private key length encoding error: size=%ld, end=%d", privateLen, en
212 ssize_t privateLen, publicLen; local
[all...]

Completed in 23 milliseconds