Home
last modified time | relevance | path

Searched refs:plaintext_length (Results 1 – 14 of 14) sorted by relevance

/third_party/mbedtls/tests/src/drivers/
Dtest_driver_aead.c37 const uint8_t *plaintext, size_t plaintext_length, in mbedtls_test_transparent_aead_encrypt() argument
56 plaintext, plaintext_length, in mbedtls_test_transparent_aead_encrypt()
68 (void) plaintext_length; in mbedtls_test_transparent_aead_encrypt()
86 uint8_t *plaintext, size_t plaintext_size, size_t *plaintext_length ) in mbedtls_test_transparent_aead_decrypt() argument
105 plaintext, plaintext_size, plaintext_length ); in mbedtls_test_transparent_aead_decrypt()
119 (void) plaintext_length; in mbedtls_test_transparent_aead_decrypt()
222 size_t plaintext_length ) in mbedtls_test_transparent_aead_set_lengths() argument
236 plaintext_length ); in mbedtls_test_transparent_aead_set_lengths()
240 (void) plaintext_length; in mbedtls_test_transparent_aead_set_lengths()
353 size_t *plaintext_length, in mbedtls_test_transparent_aead_verify() argument
[all …]
/third_party/mbedtls/library/
Dpsa_crypto_aead.c147 const uint8_t *plaintext, size_t plaintext_length, in mbedtls_psa_aead_encrypt() argument
162 if( ciphertext_size < ( plaintext_length + operation.tag_length ) ) in mbedtls_psa_aead_encrypt()
167 tag = ciphertext + plaintext_length; in mbedtls_psa_aead_encrypt()
174 plaintext_length, in mbedtls_psa_aead_encrypt()
189 plaintext_length, in mbedtls_psa_aead_encrypt()
207 plaintext_length, in mbedtls_psa_aead_encrypt()
228 *ciphertext_length = plaintext_length + operation.tag_length; in mbedtls_psa_aead_encrypt()
264 uint8_t *plaintext, size_t plaintext_size, size_t *plaintext_length ) in mbedtls_psa_aead_decrypt() argument
340 *plaintext_length = ciphertext_length - operation.tag_length; in mbedtls_psa_aead_decrypt()
346 *plaintext_length = ciphertext_length - operation.tag_length; in mbedtls_psa_aead_decrypt()
[all …]
Dpsa_crypto_aead.h85 const uint8_t *plaintext, size_t plaintext_length,
149 uint8_t *plaintext, size_t plaintext_size, size_t *plaintext_length );
309 size_t plaintext_length );
Dpsa_crypto_driver_wrappers.c1520 const uint8_t *plaintext, size_t plaintext_length, in psa_driver_wrapper_aead_encrypt() argument
1540 plaintext, plaintext_length, in psa_driver_wrapper_aead_encrypt()
1554 plaintext, plaintext_length, in psa_driver_wrapper_aead_encrypt()
1573 uint8_t *plaintext, size_t plaintext_size, size_t *plaintext_length ) in psa_driver_wrapper_aead_decrypt() argument
1593 plaintext, plaintext_size, plaintext_length ); in psa_driver_wrapper_aead_decrypt()
1607 plaintext, plaintext_size, plaintext_length ) ); in psa_driver_wrapper_aead_decrypt()
1753 size_t plaintext_length ) in psa_driver_wrapper_aead_set_lengths() argument
1761 plaintext_length ) ); in psa_driver_wrapper_aead_set_lengths()
1770 ad_length, plaintext_length ) ); in psa_driver_wrapper_aead_set_lengths()
1779 (void)plaintext_length; in psa_driver_wrapper_aead_set_lengths()
[all …]
Dpsa_crypto_driver_wrappers.h218 const uint8_t *plaintext, size_t plaintext_length,
228 uint8_t *plaintext, size_t plaintext_size, size_t *plaintext_length );
250 size_t plaintext_length );
278 size_t *plaintext_length,
Dpsa_crypto.c3721 size_t plaintext_length, in psa_aead_encrypt() argument
3752 plaintext, plaintext_length, in psa_aead_encrypt()
3774 size_t *plaintext_length ) in psa_aead_decrypt() argument
3779 *plaintext_length = 0; in psa_aead_decrypt()
3803 plaintext, plaintext_size, plaintext_length ); in psa_aead_decrypt()
4006 size_t plaintext_length ) in psa_aead_set_lengths() argument
4032 (( uint64_t ) plaintext_length ) > 0xFFFFFFFE0ull ) in psa_aead_set_lengths()
4059 plaintext_length ); in psa_aead_set_lengths()
4065 operation->body_remaining = plaintext_length; in psa_aead_set_lengths()
4253 size_t *plaintext_length, in psa_aead_verify() argument
[all …]
/third_party/mbedtls/tests/include/test/drivers/
Daead.h65 const uint8_t *plaintext, size_t plaintext_length,
75 uint8_t *plaintext, size_t plaintext_size, size_t *plaintext_length );
97 size_t plaintext_length );
125 size_t *plaintext_length,
/third_party/openssl/include/crypto/
Daes_platform.h108 size_t aes_gcm_enc_128_kernel(const uint8_t * plaintext, uint64_t plaintext_length, uint8_t * ciphe…
110 size_t aes_gcm_enc_192_kernel(const uint8_t * plaintext, uint64_t plaintext_length, uint8_t * ciphe…
112 size_t aes_gcm_enc_256_kernel(const uint8_t * plaintext, uint64_t plaintext_length, uint8_t * ciphe…
114 size_t aes_gcm_dec_128_kernel(const uint8_t * ciphertext, uint64_t plaintext_length, uint8_t * plai…
116 size_t aes_gcm_dec_192_kernel(const uint8_t * ciphertext, uint64_t plaintext_length, uint8_t * plai…
118 size_t aes_gcm_dec_256_kernel(const uint8_t * ciphertext, uint64_t plaintext_length, uint8_t * plai…
/third_party/mbedtls/include/psa/
Dcrypto_sizes.h298 #define PSA_AEAD_ENCRYPT_OUTPUT_SIZE(key_type, alg, plaintext_length) \ argument
300 (plaintext_length) + PSA_ALG_AEAD_GET_TAG_LENGTH(alg) : \
321 #define PSA_AEAD_ENCRYPT_OUTPUT_MAX_SIZE(plaintext_length) \ argument
322 ((plaintext_length) + PSA_AEAD_TAG_MAX_SIZE)
Dcrypto.h2137 size_t plaintext_length,
2213 size_t *plaintext_length);
2517 size_t plaintext_length);
2826 size_t *plaintext_length,
Dcrypto_se_driver.h744 size_t plaintext_length,
/third_party/mbedtls/tests/src/
Dpsa_exercise_key.c244 size_t plaintext_length = sizeof( ciphertext ); in exercise_aead_key() local
287 &plaintext_length ), in exercise_aead_key()
388 size_t plaintext_length = 16; in exercise_asymmetric_encryption_key() local
393 plaintext, plaintext_length, in exercise_asymmetric_encryption_key()
406 &plaintext_length ); in exercise_asymmetric_encryption_key()
/third_party/mbedtls/tests/suites/
Dtest_suite_psa_crypto.function4424 size_t plaintext_length = 0;
4485 &plaintext_length ) );
4495 &plaintext_length,
Dtest_suite_ssl.function3521 /* Minimal non-zero plaintext_length giving desired padding.