Home
last modified time | relevance | path

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

/third_party/grpc/src/core/tsi/alts/crypt/
Dgsec.h53 typedef struct gsec_aead_crypter gsec_aead_crypter; typedef
145 gsec_aead_crypter* crypter, const uint8_t* nonce, size_t nonce_length,
151 gsec_aead_crypter* crypter, const uint8_t* nonce, size_t nonce_length,
157 const gsec_aead_crypter* crypter, size_t plaintext_length,
160 const gsec_aead_crypter* crypter, size_t ciphertext_and_tag_length,
162 grpc_status_code (*nonce_length)(const gsec_aead_crypter* crypter,
165 grpc_status_code (*key_length)(const gsec_aead_crypter* crypter,
168 grpc_status_code (*tag_length)(const gsec_aead_crypter* crypter,
171 void (*destruct)(gsec_aead_crypter* crypter);
175 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()
61 gsec_aead_crypter* crypter, const uint8_t* nonce, size_t nonce_length, in gsec_aead_crypter_encrypt_iovec()
79 gsec_aead_crypter* crypter, const uint8_t* nonce, size_t nonce_length, in gsec_aead_crypter_decrypt()
99 gsec_aead_crypter* crypter, const uint8_t* nonce, size_t nonce_length, in gsec_aead_crypter_decrypt_iovec()
117 const gsec_aead_crypter* crypter, size_t plaintext_length, in gsec_aead_crypter_max_ciphertext_and_tag_length()
131 const gsec_aead_crypter* crypter, size_t ciphertext_and_tag_length, in gsec_aead_crypter_max_plaintext_length()
145 const gsec_aead_crypter* crypter, size_t* nonce_length_to_return, in gsec_aead_crypter_nonce_length()
157 grpc_status_code gsec_aead_crypter_key_length(const gsec_aead_crypter* crypter, in gsec_aead_crypter_key_length()
170 grpc_status_code gsec_aead_crypter_tag_length(const gsec_aead_crypter* crypter, in gsec_aead_crypter_tag_length()
183 void gsec_aead_crypter_destroy(gsec_aead_crypter* crypter) { in gsec_aead_crypter_destroy()
Daes_gcm.cc45 gsec_aead_crypter crypter;
89 const gsec_aead_crypter* crypter, size_t plaintext_length, in gsec_aes_gcm_aead_crypter_max_ciphertext_and_tag_length()
98 const_cast<gsec_aead_crypter*>(crypter)); in gsec_aes_gcm_aead_crypter_max_ciphertext_and_tag_length()
105 const gsec_aead_crypter* crypter, size_t ciphertext_and_tag_length, in gsec_aes_gcm_aead_crypter_max_plaintext_length()
113 const_cast<gsec_aead_crypter*>(crypter)); in gsec_aes_gcm_aead_crypter_max_plaintext_length()
126 const gsec_aead_crypter* crypter, size_t* nonce_length, in gsec_aes_gcm_aead_crypter_nonce_length()
134 const_cast<gsec_aead_crypter*>(crypter)); in gsec_aes_gcm_aead_crypter_nonce_length()
140 const gsec_aead_crypter* crypter, size_t* key_length, in gsec_aes_gcm_aead_crypter_key_length()
148 const_cast<gsec_aead_crypter*>(crypter)); in gsec_aes_gcm_aead_crypter_key_length()
154 const gsec_aead_crypter* crypter, size_t* tag_length, in gsec_aes_gcm_aead_crypter_tag_length()
[all …]
/third_party/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()
/third_party/grpc/test/core/tsi/alts/crypt/
Daes_gcm_test.cc80 static void gsec_test_random_encrypt_decrypt(gsec_aead_crypter* crypter, in gsec_test_random_encrypt_decrypt()
214 static void gsec_test_encrypt_decrypt(gsec_aead_crypter* crypter) { in gsec_test_encrypt_decrypt()
225 gsec_aead_crypter* crypter, size_t* aad_lengths, size_t* message_lengths, in gsec_test_multiple_random_encrypt_decrypt()
386 static void gsec_test_multiple_encrypt_decrypt(gsec_aead_crypter* crypter) { in gsec_test_multiple_encrypt_decrypt()
408 static void gsec_test_encryption_failure(gsec_aead_crypter* crypter) { in gsec_test_encryption_failure()
534 static void gsec_test_decryption_failure(gsec_aead_crypter* crypter) { in gsec_test_decryption_failure()
684 gsec_aead_crypter* crypter, gsec_aead_test_vector* test_vector) { in gsec_test_encrypt_decrypt_test_vector()
724 gsec_aead_crypter** crypter, gsec_aead_test_vector* test_vector, in gsec_test_get_crypter_from_test_vector()
742 gsec_aead_crypter* crypter; in gsec_test_verify_crypter_on_test_vector()
777 static void gsec_test_create_random_aes_gcm_crypter(gsec_aead_crypter** crypter, in gsec_test_create_random_aes_gcm_crypter()
[all …]
/third_party/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.h93 gsec_aead_crypter* crypter,
Dalts_iovec_record_protocol.h187 gsec_aead_crypter* crypter, size_t overflow_size, bool is_client,
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_iovec_record_protocol.cc33 gsec_aead_crypter* crypter;
430 gsec_aead_crypter* crypter, size_t overflow_size, bool is_client, in alts_iovec_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()
/third_party/grpc/test/core/tsi/alts/frame_protector/
Dalts_crypter_test.cc346 gsec_aead_crypter** server_crypter_seal, in create_random_alts_seal_crypter()
347 gsec_aead_crypter** server_crypter_unseal, in create_random_alts_seal_crypter()
348 gsec_aead_crypter** client_crypter_seal, in create_random_alts_seal_crypter()
349 gsec_aead_crypter** client_crypter_unseal, bool rekey) { in create_random_alts_seal_crypter()
391 gsec_aead_crypter *server_crypter_seal = nullptr, in alts_crypter_do_generic_tests()
/third_party/grpc/test/core/tsi/alts/zero_copy_frame_protector/
Dalts_grpc_record_protocol_test.cc120 gsec_aead_crypter* crypter = nullptr; in test_fixture_integrity_only_create()
178 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()