Home
last modified time | relevance | path

Searched refs:outlen (Results 1 – 5 of 5) sorted by relevance

/hardware/interfaces/macsec/aidl/default/
DMacsecPskPlugin.cpp55 size_t outlen; in omac1_aes() local
66 if (!CMAC_Final(ctx, mac, &outlen) || outlen != 16) { in omac1_aes()
/hardware/interfaces/security/keymint/aidl/vts/performance/
DKeyMintBenchmark.cpp382 size_t outlen; in LocalRsaEncryptMessage() local
383 if (EVP_PKEY_encrypt(ctx.get(), nullptr /* out */, &outlen, in LocalRsaEncryptMessage()
396 if (padding == PaddingMode::NONE && to_encrypt_len < outlen) { in LocalRsaEncryptMessage()
397 zero_padded_message.reset(new string(outlen, '\0')); in LocalRsaEncryptMessage()
398 memcpy(zero_padded_message->data() + (outlen - to_encrypt_len), message.data(), in LocalRsaEncryptMessage()
401 to_encrypt_len = outlen; in LocalRsaEncryptMessage()
405 string output(outlen, '\0'); in LocalRsaEncryptMessage()
406 if (EVP_PKEY_encrypt(ctx.get(), reinterpret_cast<uint8_t*>(output.data()), &outlen, in LocalRsaEncryptMessage()
/hardware/interfaces/security/keymint/aidl/vts/functional/
DKeyMintAidlTestBase.cpp1181 size_t outlen; in LocalRsaEncryptMessage() local
1182 if (EVP_PKEY_encrypt(ctx.get(), nullptr /* out */, &outlen, in LocalRsaEncryptMessage()
1193 if (padding == PaddingMode::NONE && to_encrypt_len < outlen) { in LocalRsaEncryptMessage()
1194 zero_padded_message.reset(new string(outlen, '\0')); in LocalRsaEncryptMessage()
1195 memcpy(zero_padded_message->data() + (outlen - to_encrypt_len), message.data(), in LocalRsaEncryptMessage()
1198 to_encrypt_len = outlen; in LocalRsaEncryptMessage()
1202 string output(outlen, '\0'); in LocalRsaEncryptMessage()
1203 if (EVP_PKEY_encrypt(ctx.get(), reinterpret_cast<uint8_t*>(output.data()), &outlen, to_encrypt, in LocalRsaEncryptMessage()
/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dstb_image.h526 …har *stbi_zlib_decode_malloc_guesssize(const char *buffer, int len, int initial_size, int *outlen);
527 …guesssize_headerflag(const char *buffer, int len, int initial_size, int *outlen, int parse_header);
528 STBIDEF char *stbi_zlib_decode_malloc(const char *buffer, int len, int *outlen);
531 STBIDEF char *stbi_zlib_decode_noheader_malloc(const char *buffer, int len, int *outlen);
4435 …char *stbi_zlib_decode_malloc_guesssize(const char *buffer, int len, int initial_size, int *outlen) in stbi_zlib_decode_malloc_guesssize() argument
4443 if (outlen) *outlen = (int) (a.zout - a.zout_start); in stbi_zlib_decode_malloc_guesssize()
4451 STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) in stbi_zlib_decode_malloc() argument
4453 return stbi_zlib_decode_malloc_guesssize(buffer, len, 16384, outlen); in stbi_zlib_decode_malloc()
4456 …_guesssize_headerflag(const char *buffer, int len, int initial_size, int *outlen, int parse_header) in stbi_zlib_decode_malloc_guesssize_headerflag() argument
4464 if (outlen) *outlen = (int) (a.zout - a.zout_start); in stbi_zlib_decode_malloc_guesssize_headerflag()
[all …]
/hardware/google/gfxstream/third-party/stb/include/stb/
Dstb_image.h526 …har *stbi_zlib_decode_malloc_guesssize(const char *buffer, int len, int initial_size, int *outlen);
527 …guesssize_headerflag(const char *buffer, int len, int initial_size, int *outlen, int parse_header);
528 STBIDEF char *stbi_zlib_decode_malloc(const char *buffer, int len, int *outlen);
531 STBIDEF char *stbi_zlib_decode_noheader_malloc(const char *buffer, int len, int *outlen);
4442 …char *stbi_zlib_decode_malloc_guesssize(const char *buffer, int len, int initial_size, int *outlen) in stbi_zlib_decode_malloc_guesssize() argument
4450 if (outlen) *outlen = (int) (a.zout - a.zout_start); in stbi_zlib_decode_malloc_guesssize()
4458 STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) in stbi_zlib_decode_malloc() argument
4460 return stbi_zlib_decode_malloc_guesssize(buffer, len, 16384, outlen); in stbi_zlib_decode_malloc()
4463 …_guesssize_headerflag(const char *buffer, int len, int initial_size, int *outlen, int parse_header) in stbi_zlib_decode_malloc_guesssize_headerflag() argument
4471 if (outlen) *outlen = (int) (a.zout - a.zout_start); in stbi_zlib_decode_malloc_guesssize_headerflag()
[all …]