Home
last modified time | relevance | path

Searched refs:gsec_aead_crypter (Results 1 – 22 of 22) sorted by relevance

/external/grpc-grpc/src/core/tsi/alts/crypt/
Dgsec.h51 typedef struct gsec_aead_crypter gsec_aead_crypter; typedef
143 gsec_aead_crypter* crypter, const uint8_t* nonce, size_t nonce_length,
149 gsec_aead_crypter* crypter, const uint8_t* nonce, size_t nonce_length,
155 const gsec_aead_crypter* crypter, size_t plaintext_length,
158 const gsec_aead_crypter* crypter, size_t ciphertext_and_tag_length,
160 grpc_status_code (*nonce_length)(const gsec_aead_crypter* crypter,
163 grpc_status_code (*key_length)(const gsec_aead_crypter* crypter,
166 grpc_status_code (*tag_length)(const gsec_aead_crypter* crypter,
169 void (*destruct)(gsec_aead_crypter* crypter);
173 struct gsec_aead_crypter { struct
[all …]
Dgsec.cc39 gsec_aead_crypter* crypter, const uint8_t* nonce, size_t nonce_length, in gsec_aead_crypter_encrypt()
60 gsec_aead_crypter* crypter, const uint8_t* nonce, size_t nonce_length, in gsec_aead_crypter_encrypt_iovec()
78 gsec_aead_crypter* crypter, const uint8_t* nonce, size_t nonce_length, in gsec_aead_crypter_decrypt()
98 gsec_aead_crypter* crypter, const uint8_t* nonce, size_t nonce_length, in gsec_aead_crypter_decrypt_iovec()
116 const gsec_aead_crypter* crypter, size_t plaintext_length, in gsec_aead_crypter_max_ciphertext_and_tag_length()
130 const gsec_aead_crypter* crypter, size_t ciphertext_and_tag_length, in gsec_aead_crypter_max_plaintext_length()
144 const gsec_aead_crypter* crypter, size_t* nonce_length_to_return, in gsec_aead_crypter_nonce_length()
156 grpc_status_code gsec_aead_crypter_key_length(const gsec_aead_crypter* crypter, in gsec_aead_crypter_key_length()
169 grpc_status_code gsec_aead_crypter_tag_length(const gsec_aead_crypter* crypter, in gsec_aead_crypter_tag_length()
182 void gsec_aead_crypter_destroy(gsec_aead_crypter* crypter) { in gsec_aead_crypter_destroy()
Daes_gcm.cc47 gsec_aead_crypter crypter;
91 const gsec_aead_crypter* crypter, size_t plaintext_length, in gsec_aes_gcm_aead_crypter_max_ciphertext_and_tag_length()
100 const_cast<gsec_aead_crypter*>(crypter)); in gsec_aes_gcm_aead_crypter_max_ciphertext_and_tag_length()
107 const gsec_aead_crypter* crypter, size_t ciphertext_and_tag_length, in gsec_aes_gcm_aead_crypter_max_plaintext_length()
115 const_cast<gsec_aead_crypter*>(crypter)); in gsec_aes_gcm_aead_crypter_max_plaintext_length()
128 const gsec_aead_crypter* crypter, size_t* nonce_length, in gsec_aes_gcm_aead_crypter_nonce_length()
136 const_cast<gsec_aead_crypter*>(crypter)); in gsec_aes_gcm_aead_crypter_nonce_length()
142 const gsec_aead_crypter* crypter, size_t* key_length, in gsec_aes_gcm_aead_crypter_key_length()
150 const_cast<gsec_aead_crypter*>(crypter)); in gsec_aes_gcm_aead_crypter_key_length()
156 const gsec_aead_crypter* crypter, size_t* tag_length, in gsec_aes_gcm_aead_crypter_tag_length()
[all …]
/external/grpc-grpc/src/core/tsi/alts/frame_protector/
Dalts_record_protocol_crypter_common.h40 gsec_aead_crypter* crypter;
102 gsec_aead_crypter* crypter, bool is_client, size_t overflow_size,
Dalts_crypter.h215 grpc_status_code alts_seal_crypter_create(gsec_aead_crypter* gc, bool is_client,
240 grpc_status_code alts_unseal_crypter_create(gsec_aead_crypter* gc,
Dalts_unseal_privacy_integrity_crypter.cc85 grpc_status_code alts_unseal_crypter_create(gsec_aead_crypter* gc, in alts_unseal_crypter_create()
Dalts_seal_privacy_integrity_crypter.cc88 grpc_status_code alts_seal_crypter_create(gsec_aead_crypter* gc, bool is_client, in alts_seal_crypter_create()
Dalts_record_protocol_crypter_common.cc91 gsec_aead_crypter* crypter, bool is_client, size_t overflow_size, in alts_crypter_create_common()
Dalts_frame_protector.cc334 gsec_aead_crypter* aead_crypter_seal = nullptr; in create_alts_crypters()
335 gsec_aead_crypter* aead_crypter_unseal = nullptr; in create_alts_crypters()
/external/grpc-grpc/test/core/tsi/alts/crypt/
Daes_gcm_test.cc79 static void gsec_test_random_encrypt_decrypt(gsec_aead_crypter* crypter, in gsec_test_random_encrypt_decrypt()
213 static void gsec_test_encrypt_decrypt(gsec_aead_crypter* crypter) { in gsec_test_encrypt_decrypt()
224 gsec_aead_crypter* crypter, size_t* aad_lengths, size_t* message_lengths, in gsec_test_multiple_random_encrypt_decrypt()
385 static void gsec_test_multiple_encrypt_decrypt(gsec_aead_crypter* crypter) { in gsec_test_multiple_encrypt_decrypt()
407 static void gsec_test_encryption_failure(gsec_aead_crypter* crypter) { in gsec_test_encryption_failure()
533 static void gsec_test_decryption_failure(gsec_aead_crypter* crypter) { in gsec_test_decryption_failure()
683 gsec_aead_crypter* crypter, gsec_aead_test_vector* test_vector) { in gsec_test_encrypt_decrypt_test_vector()
723 gsec_aead_crypter** crypter, gsec_aead_test_vector* test_vector, in gsec_test_get_crypter_from_test_vector()
741 gsec_aead_crypter* crypter; in gsec_test_verify_crypter_on_test_vector()
776 static void gsec_test_create_random_aes_gcm_crypter(gsec_aead_crypter** crypter, in gsec_test_create_random_aes_gcm_crypter()
[all …]
/external/grpc-grpc/test/core/tsi/alts/frame_protector/
Dalts_crypter_test.cc347 gsec_aead_crypter** server_crypter_seal, in create_random_alts_seal_crypter()
348 gsec_aead_crypter** server_crypter_unseal, in create_random_alts_seal_crypter()
349 gsec_aead_crypter** client_crypter_seal, in create_random_alts_seal_crypter()
350 gsec_aead_crypter** client_crypter_unseal, bool rekey) { in create_random_alts_seal_crypter()
392 gsec_aead_crypter *server_crypter_seal = nullptr, in alts_crypter_do_generic_tests()
/external/grpc-grpc/src/core/tsi/alts/zero_copy_frame_protector/
Dalts_grpc_privacy_integrity_record_protocol.h45 gsec_aead_crypter* crypter, size_t overflow_size, bool is_client,
Dalts_grpc_integrity_only_record_protocol.h50 gsec_aead_crypter* crypter, size_t overflow_size, bool is_client,
Dalts_grpc_record_protocol_common.h94 gsec_aead_crypter* crypter,
Dalts_iovec_record_protocol.h187 gsec_aead_crypter* crypter, size_t overflow_size, bool is_client,
Dalts_iovec_record_protocol.cc33 gsec_aead_crypter* crypter;
428 gsec_aead_crypter* crypter, size_t overflow_size, bool is_client, in alts_iovec_record_protocol_create()
Dalts_grpc_privacy_integrity_record_protocol.cc124 gsec_aead_crypter* crypter, size_t overflow_size, bool is_client, in alts_grpc_privacy_integrity_record_protocol_create()
Dalts_grpc_record_protocol_common.cc89 gsec_aead_crypter* crypter, in alts_grpc_record_protocol_init()
Dalts_grpc_integrity_only_record_protocol.cc199 gsec_aead_crypter* crypter, size_t overflow_size, bool is_client, in alts_grpc_integrity_only_record_protocol_create()
Dalts_zero_copy_grpc_protector.cc119 gsec_aead_crypter* crypter = nullptr; in create_alts_grpc_record_protocol()
/external/grpc-grpc/test/core/tsi/alts/zero_copy_frame_protector/
Dalts_grpc_record_protocol_test.cc119 gsec_aead_crypter* crypter = nullptr; in test_fixture_integrity_only_create()
177 gsec_aead_crypter* crypter = nullptr; in test_fixture_privacy_integrity_create()
Dalts_iovec_record_protocol_test.cc102 gsec_aead_crypter* crypter = nullptr; in alts_iovec_record_protocol_test_fixture_create()