Home
last modified time | relevance | path

Searched refs:crypter_counter (Results 1 – 2 of 2) sorted by relevance

/external/grpc-grpc/src/core/tsi/alts/frame_protector/
Dalts_counter.cc36 alts_counter** crypter_counter, in alts_counter_create() argument
49 if (crypter_counter == nullptr) { in alts_counter_create()
54 *crypter_counter = in alts_counter_create()
55 static_cast<alts_counter*>(gpr_malloc(sizeof(**crypter_counter))); in alts_counter_create()
56 (*crypter_counter)->size = counter_size; in alts_counter_create()
57 (*crypter_counter)->overflow_size = overflow_size; in alts_counter_create()
58 (*crypter_counter)->counter = in alts_counter_create()
61 ((*crypter_counter)->counter)[counter_size - 1] = 0x80; in alts_counter_create()
66 grpc_status_code alts_counter_increment(alts_counter* crypter_counter, in alts_counter_increment() argument
70 if (crypter_counter == nullptr) { in alts_counter_increment()
[all …]
Dalts_counter.h55 alts_counter** crypter_counter,
74 grpc_status_code alts_counter_increment(alts_counter* crypter_counter,
83 size_t alts_counter_get_size(alts_counter* crypter_counter);
90 unsigned char* alts_counter_get_counter(alts_counter* crypter_counter);
96 void alts_counter_destroy(alts_counter* crypter_counter);