Searched refs:ciphertext_length (Results 1 – 2 of 2) sorted by relevance
321 size_t ciphertext_length = ciphertext_vec.iov_len; in gsec_aes_gcm_aead_crypter_encrypt_iovec() local337 if (ciphertext_length < plaintext_length) { in gsec_aes_gcm_aead_crypter_encrypt_iovec()354 ciphertext_length -= bytes_written; in gsec_aes_gcm_aead_crypter_encrypt_iovec()367 if (ciphertext_length < kAesGcmTagLength) { in gsec_aes_gcm_aead_crypter_encrypt_iovec()379 ciphertext_length -= kAesGcmTagLength; in gsec_aes_gcm_aead_crypter_encrypt_iovec()380 *ciphertext_bytes_written = ciphertext_vec.iov_len - ciphertext_length; in gsec_aes_gcm_aead_crypter_encrypt_iovec()480 size_t ciphertext_length = 0; in gsec_aes_gcm_aead_crypter_decrypt_iovec() local485 ciphertext_length = ciphertext_vec[i].iov_len; in gsec_aes_gcm_aead_crypter_decrypt_iovec()487 if (ciphertext_length == 0) { in gsec_aes_gcm_aead_crypter_decrypt_iovec()495 size_t bytes_to_write = ciphertext_length; in gsec_aes_gcm_aead_crypter_decrypt_iovec()[all …]
310 size_t ciphertext_length = ciphertext_and_tag_lengths[ind]; in gsec_test_multiple_random_encrypt_decrypt() local312 static_cast<uint8_t*>(malloc(ciphertext_length)); in gsec_test_multiple_random_encrypt_decrypt()314 ciphertext_length}; in gsec_test_multiple_random_encrypt_decrypt()325 ciphertext_length) == 0); in gsec_test_multiple_random_encrypt_decrypt()