Searched refs:plaintext_vec (Results 1 – 3 of 3) sorted by relevance
/external/grpc-grpc/src/core/tsi/alts/crypt/ |
D | aes_gcm.cc | 249 const struct iovec* plaintext_vec, size_t plaintext_vec_length, in gsec_aes_gcm_aead_crypter_encrypt_iovec() argument 268 if (plaintext_vec_length > 0 && plaintext_vec == nullptr) { in gsec_aes_gcm_aead_crypter_encrypt_iovec() 328 const uint8_t* plaintext = static_cast<uint8_t*>(plaintext_vec[i].iov_base); in gsec_aes_gcm_aead_crypter_encrypt_iovec() 329 size_t plaintext_length = plaintext_vec[i].iov_len; in gsec_aes_gcm_aead_crypter_encrypt_iovec() 388 struct iovec plaintext_vec, size_t* plaintext_bytes_written, in gsec_aes_gcm_aead_crypter_decrypt_iovec() argument 471 uint8_t* plaintext = static_cast<uint8_t*>(plaintext_vec.iov_base); in gsec_aes_gcm_aead_crypter_decrypt_iovec() 472 size_t plaintext_length = plaintext_vec.iov_len; in gsec_aes_gcm_aead_crypter_decrypt_iovec() 491 memset(plaintext_vec.iov_base, 0x00, plaintext_vec.iov_len); in gsec_aes_gcm_aead_crypter_decrypt_iovec() 510 memset(plaintext_vec.iov_base, 0x00, plaintext_vec.iov_len); in gsec_aes_gcm_aead_crypter_decrypt_iovec() 515 memset(plaintext_vec.iov_base, 0x00, plaintext_vec.iov_len); in gsec_aes_gcm_aead_crypter_decrypt_iovec() [all …]
|
D | gsec.cc | 47 struct iovec plaintext_vec = {(void*)plaintext, plaintext_length}; in gsec_aead_crypter_encrypt() local 51 crypter, nonce, nonce_length, &aad_vec, 1, &plaintext_vec, 1, in gsec_aead_crypter_encrypt() 62 const struct iovec* plaintext_vec, size_t plaintext_vec_length, in gsec_aead_crypter_encrypt_iovec() argument 68 crypter, nonce, nonce_length, aad_vec, aad_vec_length, plaintext_vec, in gsec_aead_crypter_encrypt_iovec() 87 struct iovec plaintext_vec = {plaintext, plaintext_length}; in gsec_aead_crypter_decrypt() local 90 plaintext_vec, bytes_written, error_details); in gsec_aead_crypter_decrypt() 101 struct iovec plaintext_vec, size_t* plaintext_bytes_written, in gsec_aead_crypter_decrypt_iovec() argument 107 ciphertext_vec_length, plaintext_vec, plaintext_bytes_written, in gsec_aead_crypter_decrypt_iovec()
|
D | gsec.h | 145 const struct iovec* plaintext_vec, size_t plaintext_vec_length, 152 struct iovec plaintext_vec, size_t* plaintext_bytes_written, 246 const struct iovec* plaintext_vec, size_t plaintext_vec_length, 315 struct iovec plaintext_vec, size_t* plaintext_bytes_written,
|