Searched refs:outlen (Results 1 – 4 of 4) sorted by relevance
/system/keymaster/km_openssl/ |
D | rsa_operation.cpp | 547 size_t outlen; in Finish() local 548 if (EVP_PKEY_encrypt(ctx.get(), nullptr /* out */, &outlen, data_.peek_read(), in Finish() 552 if (!output->Reinitialize(outlen)) in Finish() 558 if (padding_ == KM_PAD_NONE && to_encrypt_len < outlen) { in Finish() 559 keymaster_error_t error = zero_pad_left(&zero_padded, outlen, data_); in Finish() 563 to_encrypt_len = outlen; in Finish() 566 if (EVP_PKEY_encrypt(ctx.get(), output->peek_write(), &outlen, to_encrypt, to_encrypt_len) <= 0) in Finish() 568 if (!output->advance_write(outlen)) in Finish() 600 size_t outlen; in Finish() local 601 if (EVP_PKEY_decrypt(ctx.get(), nullptr /* out */, &outlen, data_.peek_read(), in Finish() [all …]
|
/system/vold/ |
D | KeyStorage.cpp | 365 int outlen; in encryptWithoutKeymaster() local 368 &outlen, reinterpret_cast<const uint8_t*>(plaintext.data()), plaintext.size())) { in encryptWithoutKeymaster() 372 if (outlen != static_cast<int>(plaintext.size())) { in encryptWithoutKeymaster() 373 LOG(ERROR) << "GCM ciphertext length should be " << plaintext.size() << " was " << outlen; in encryptWithoutKeymaster() 379 &outlen)) { in encryptWithoutKeymaster() 383 if (outlen != 0) { in encryptWithoutKeymaster() 384 LOG(ERROR) << "GCM EncryptFinal should be 0, was " << outlen; in encryptWithoutKeymaster() 418 int outlen; in decryptWithoutKeymaster() local 419 if (1 != EVP_DecryptUpdate(ctx.get(), reinterpret_cast<uint8_t*>(&(*plaintext)[0]), &outlen, in decryptWithoutKeymaster() 425 if (outlen != static_cast<int>(plaintext->size())) { in decryptWithoutKeymaster() [all …]
|
/system/bt/embdrv/g722/ |
D | g722_decode.cc | 278 uint32_t outlen; in g722_decode() local 282 outlen = 0; in g722_decode() 410 amp[outlen++] = ((int16_t) (xout1 >> 4) + 2048); in g722_decode() 411 amp[outlen++] = ((int16_t) (xout2 >> 4) + 2048); in g722_decode() 415 amp[outlen++] = xout1; in g722_decode() 416 amp[outlen++] = xout2; in g722_decode() 419 return outlen; in g722_decode()
|
/system/core/adb/ |
D | sysdeps_win32.cpp | 1987 size_t outlen; in _console_read() local 1995 outlen = strlen(seqstr); in _console_read() 1998 outlen = seqbuflen; in _console_read() 2004 outlen = seqbuflen; in _console_read() 2019 g_console_input_buffer.insert(g_console_input_buffer.end(), out, out + outlen); in _console_read()
|