Searched refs:ciphertext_vec (Results 1 – 3 of 3) sorted by relevance
/external/grpc-grpc/src/core/tsi/alts/crypt/ |
D | gsec.cc | 48 struct iovec ciphertext_vec = {ciphertext_and_tag, in gsec_aead_crypter_encrypt() local 52 ciphertext_vec, bytes_written, error_details); in gsec_aead_crypter_encrypt() 63 struct iovec ciphertext_vec, size_t* ciphertext_bytes_written, in gsec_aead_crypter_encrypt_iovec() argument 69 plaintext_vec_length, ciphertext_vec, ciphertext_bytes_written, in gsec_aead_crypter_encrypt_iovec() 85 struct iovec ciphertext_vec = {(void*)ciphertext_and_tag, in gsec_aead_crypter_decrypt() local 89 crypter, nonce, nonce_length, &aad_vec, 1, &ciphertext_vec, 1, in gsec_aead_crypter_decrypt() 100 const struct iovec* ciphertext_vec, size_t ciphertext_vec_length, in gsec_aead_crypter_decrypt_iovec() argument 106 crypter, nonce, nonce_length, aad_vec, aad_vec_length, ciphertext_vec, in gsec_aead_crypter_decrypt_iovec()
|
D | aes_gcm.cc | 250 struct iovec ciphertext_vec, size_t* ciphertext_bytes_written, in gsec_aes_gcm_aead_crypter_encrypt_iovec() argument 320 uint8_t* ciphertext = static_cast<uint8_t*>(ciphertext_vec.iov_base); in gsec_aes_gcm_aead_crypter_encrypt_iovec() 321 size_t ciphertext_length = ciphertext_vec.iov_len; 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() 387 const struct iovec* ciphertext_vec, size_t ciphertext_vec_length, in gsec_aes_gcm_aead_crypter_decrypt_iovec() argument 406 if (ciphertext_vec_length > 0 && ciphertext_vec == nullptr) { in gsec_aes_gcm_aead_crypter_decrypt_iovec() 417 total_ciphertext_length += ciphertext_vec[i].iov_len; in gsec_aes_gcm_aead_crypter_decrypt_iovec() 484 ciphertext = static_cast<uint8_t*>(ciphertext_vec[i].iov_base); in gsec_aes_gcm_aead_crypter_decrypt_iovec() 485 ciphertext_length = ciphertext_vec[i].iov_len; in gsec_aes_gcm_aead_crypter_decrypt_iovec() 539 ciphertext = static_cast<uint8_t*>(ciphertext_vec[i].iov_base); in gsec_aes_gcm_aead_crypter_decrypt_iovec() [all …]
|
D | gsec.h | 146 struct iovec ciphertext_vec, size_t* ciphertext_bytes_written, 151 const struct iovec* ciphertext_vec, size_t ciphertext_vec_length, 247 struct iovec ciphertext_vec, size_t* ciphertext_bytes_written, 314 const struct iovec* ciphertext_vec, size_t ciphertext_vec_length,
|