Home
last modified time | relevance | path

Searched defs:crypter (Results 1 – 17 of 17) sorted by relevance

/external/grpc-grpc/src/core/tsi/alts/crypt/
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; member
91 const gsec_aead_crypter* crypter, size_t plaintext_length, 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()
128 const gsec_aead_crypter* crypter, size_t* nonce_length, 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()
156 const gsec_aead_crypter* crypter, size_t* tag_length, in gsec_aes_gcm_aead_crypter_tag_length()
247 gsec_aead_crypter* crypter, const uint8_t* nonce, size_t nonce_length, in gsec_aes_gcm_aead_crypter_encrypt_iovec()
385 gsec_aead_crypter* crypter, const uint8_t* nonce, size_t nonce_length, in gsec_aes_gcm_aead_crypter_decrypt_iovec()
576 static void gsec_aes_gcm_aead_crypter_destroy(gsec_aead_crypter* crypter) { in gsec_aes_gcm_aead_crypter_destroy()
636 gsec_aead_crypter** crypter, in gsec_aes_gcm_aead_crypter_create()
/external/grpc-grpc-java/alts/src/test/java/io/grpc/alts/internal/
DAltsTsiFrameProtectorTest.java79 FakeChannelCrypter crypter = new FakeChannelCrypter(); in parserHeader_frameLengthNegativeFails() local
99 FakeChannelCrypter crypter = new FakeChannelCrypter(); in parserHeader_frameTooSmall() local
121 FakeChannelCrypter crypter = new FakeChannelCrypter(); in parserHeader_frameTooLarge() local
146 FakeChannelCrypter crypter = new FakeChannelCrypter(); in parserHeader_frameTypeInvalid() local
168 FakeChannelCrypter crypter = new FakeChannelCrypter(); in parserHeader_frameZeroOk() local
187 FakeChannelCrypter crypter = new FakeChannelCrypter(); in parserHeader_EmptyUnprotectNoRetain() local
202 FakeChannelCrypter crypter = new FakeChannelCrypter(); in parserHeader_frameMaxOk() local
223 FakeChannelCrypter crypter = new FakeChannelCrypter(); in parserHeader_frameOkFragment() local
247 FakeChannelCrypter crypter = new FakeChannelCrypter(); in parseHeader_frameFailFragment() local
278 FakeChannelCrypter crypter = new FakeChannelCrypter(); in parseFrame_oneFrameNoFragment() local
[all …]
/external/grpc-grpc/src/core/tsi/alts/frame_protector/
Dalts_crypter.cc35 alts_crypter* crypter, unsigned char* data, size_t data_allocated_size, in alts_crypter_process_in_place()
50 size_t alts_crypter_num_overhead_bytes(const alts_crypter* crypter) { in alts_crypter_num_overhead_bytes()
59 void alts_crypter_destroy(alts_crypter* crypter) { in alts_crypter_destroy()
Dalts_record_protocol_crypter_common.h40 gsec_aead_crypter* crypter; member
Dalts_unseal_privacy_integrity_crypter.cc88 alts_crypter** crypter, in alts_unseal_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_seal_privacy_integrity_crypter.cc90 alts_crypter** crypter, in alts_seal_crypter_create()
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/internal/
DAltsTsiFrameProtector.java45 int maxProtectedFrameBytes, ChannelCrypterNetty crypter, ByteBufAllocator alloc) { in AltsTsiFrameProtector()
101 private ChannelCrypterNetty crypter; field in AltsTsiFrameProtector.Protector
103 Protector(int maxProtectedFrameBytes, ChannelCrypterNetty crypter) { in Protector()
191 private final ChannelCrypterNetty crypter; field in AltsTsiFrameProtector.Unprotector
201 Unprotector(ChannelCrypterNetty crypter, ByteBufAllocator alloc) { in Unprotector()
/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() local
776 static void gsec_test_create_random_aes_gcm_crypter(gsec_aead_crypter** crypter, in gsec_test_create_random_aes_gcm_crypter()
/external/grpc-grpc/src/core/tsi/alts/zero_copy_frame_protector/
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_iovec_record_protocol.cc33 gsec_aead_crypter* crypter; member
428 gsec_aead_crypter* crypter, size_t overflow_size, bool is_client, in alts_iovec_record_protocol_create()
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() local
/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() local
177 gsec_aead_crypter* crypter = nullptr; in test_fixture_privacy_integrity_create() local
Dalts_iovec_record_protocol_test.cc102 gsec_aead_crypter* crypter = nullptr; in alts_iovec_record_protocol_test_fixture_create() local