HomeSort by relevance Sort by last modified time
    Searched full:plaintext_len (Results 1 - 17 of 17) sorted by null

  /external/syslinux/gpxe/src/net/
tls.c 1085 * @ret plaintext_len Length of plaintext record
1090 void *digest, size_t *plaintext_len ) {
1097 *plaintext_len = ( len + mac_len );
1100 plaintext = malloc ( *plaintext_len );
1120 * @ret plaintext_len Length of plaintext record
1125 void *digest, size_t *plaintext_len ) {
1141 *plaintext_len = ( iv_len + len + mac_len + padding_len + 1 );
1144 plaintext = malloc ( *plaintext_len );
1176 size_t plaintext_len; local
    [all...]
  /external/boringssl/src/crypto/fipsmodule/cipher/
aead.c 209 size_t plaintext_len = in_len - ctx->tag_len; local
210 if (max_out_len < plaintext_len) {
214 if (EVP_AEAD_CTX_open_gather(ctx, out, nonce, nonce_len, in, plaintext_len,
215 in + plaintext_len, ctx->tag_len, ad, ad_len)) {
216 *out_len = plaintext_len;
  /external/boringssl/src/crypto/cipher_extra/
e_chacha20poly1305.c 76 // |plaintext_len| bytes from |ciphertext| and writes them to |out_plaintext|.
82 size_t plaintext_len, const uint8_t *ad,
86 // |plaintext_len| bytes from |plaintext| and writes them to |out_ciphertext|.
92 size_t plaintext_len, const uint8_t *ad,
100 size_t plaintext_len, const uint8_t *ad,
105 size_t plaintext_len, const uint8_t *ad,
e_aesgcmsiv.c 424 const size_t plaintext_len = in_len - EVP_AEAD_AES_GCM_SIV_TAG_LEN; local
425 const uint8_t *const given_tag = in + plaintext_len;
427 if (max_out_len < plaintext_len) {
465 plaintext_len);
468 plaintext_len);
471 if (plaintext_len & 15) {
473 plaintext_len, given_tag,
476 OPENSSL_memcpy(scratch, out + (plaintext_len & ~15), plaintext_len & 15);
490 length_block.bitlens.in = plaintext_len * 8
    [all...]
  /external/boringssl/src/ssl/
ssl_aead_ctx.cc 206 size_t plaintext_len) {
219 out[len++] = static_cast<uint8_t>((plaintext_len >> 8));
220 out[len++] = static_cast<uint8_t>(plaintext_len);
236 size_t plaintext_len = 0;
244 plaintext_len = in.size() - overhead;
248 GetAdditionalData(ad, type, record_version, seqnum, plaintext_len);
t1_lib.cc 3266 size_t plaintext_len; local
3361 size_t plaintext_len; local
3389 size_t plaintext_len; local
    [all...]
tls_record.cc 646 size_t SealRecordSuffixLen(const SSL *ssl, const size_t plaintext_len) {
647 assert(plaintext_len <= SSL3_RT_MAX_PLAIN_LENGTH);
650 plaintext_len)) {
internal.h 697 size_t plaintext_len);
    [all...]
  /system/iot/attestation/atap/ops/
atap_ops_provider.cpp 139 uint32_t plaintext_len,
142 plaintext, plaintext_len, hash);
atap_ops_delegate.h 91 uint32_t plaintext_len,
openssl_ops.h 63 uint32_t plaintext_len,
openssl_ops.cpp 228 uint32_t plaintext_len,
230 SHA256(plaintext, plaintext_len, hash);
  /external/boringssl/src/crypto/evp/
evp_test.cc 350 size_t plaintext_len; local
357 !EVP_PKEY_decrypt(ctx.get(), nullptr, &plaintext_len, actual.data(),
361 output.resize(plaintext_len);
362 if (!EVP_PKEY_decrypt(ctx.get(), output.data(), &plaintext_len,
367 output.resize(plaintext_len);
  /external/boringssl/src/crypto/pkcs8/
pkcs8.c 439 size_t plaintext_len = 0; local
466 !CBB_finish(&plaintext_cbb, &plaintext, &plaintext_len)) {
488 size_t max_out = plaintext_len + EVP_CIPHER_CTX_block_size(&ctx);
489 if (max_out < plaintext_len) {
499 !EVP_CipherUpdate(&ctx, ptr, &n1, plaintext, plaintext_len) ||
  /system/iot/attestation/atap/libatap/
atap_commands.c 234 uint32_t* plaintext_len) {
254 *plaintext_len = encrypted_len;
257 ops, ciphertext, *plaintext_len, iv, session_key, tag, *plaintext);
  /external/boringssl/src/crypto/rsa_extra/
rsa_test.cc 411 size_t plaintext_len = 0; local
412 ASSERT_TRUE(RSA_decrypt(key.get(), &plaintext_len, plaintext,
415 EXPECT_EQ(Bytes(kPlaintext, kPlaintextLen), Bytes(plaintext, plaintext_len));
424 plaintext_len = 0;
425 ASSERT_TRUE(RSA_decrypt(key.get(), &plaintext_len, plaintext,
428 EXPECT_EQ(Bytes(kPlaintext, kPlaintextLen), Bytes(plaintext, plaintext_len));
431 plaintext_len = 0;
432 ASSERT_TRUE(RSA_decrypt(key.get(), &plaintext_len, plaintext,
435 EXPECT_EQ(Bytes(kPlaintext, kPlaintextLen), Bytes(plaintext, plaintext_len));
443 key.get(), &plaintext_len, plaintext, sizeof(plaintext), ciphertext
    [all...]
  /external/boringssl/src/include/openssl/
ssl.h     [all...]

Completed in 396 milliseconds