Searched refs:data_ (Results 1 – 8 of 8) sorted by relevance
/system/keymaster/ |
D | dsa_operation.cpp | 40 if (!data_.reserve(data_.available_read() + input.available_read()) || in StoreData() 41 !data_.write(input.peek_read(), input.available_read())) in StoreData() 49 if (!DSA_sign(0 /* type -- ignored */, data_.peek_read(), data_.available_read(), in Finish() 57 if ((int)data_.available_read() != DSA_size(dsa_key_)) in Finish() 60 int result = DSA_verify(0 /* type -- ignored */, data_.peek_read(), data_.available_read(), in Finish()
|
D | rsa_operation.cpp | 45 if (!data_.reserve(data_.available_read() + input.available_read()) || in StoreData() 46 !data_.write(input.peek_read(), input.available_read())) in StoreData() 53 int bytes_encrypted = RSA_private_encrypt(data_.available_read(), data_.peek_read(), in Finish() 64 if ((int)data_.available_read() != RSA_size(rsa_key_)) in Finish() 66 if (data_.available_read() != signature.available_read()) in Finish() 76 if (memcmp_s(decrypted_data.get(), data_.peek_read(), data_.available_read()) == 0) in Finish()
|
D | ecdsa_operation.cpp | 40 if (!data_.reserve(data_.available_read() + input.available_read()) || in StoreData() 41 !data_.write(input.peek_read(), input.available_read())) in StoreData() 49 if (!ECDSA_sign(0 /* type -- ignored */, data_.peek_read(), data_.available_read(), in Finish() 57 int result = ECDSA_verify(0 /* type -- ignored */, data_.peek_read(), data_.available_read(), in Finish()
|
D | rsa_operation.h | 45 Buffer data_; variable
|
D | ecdsa_operation.h | 47 Buffer data_; variable
|
D | dsa_operation.h | 47 Buffer data_; variable
|
/system/extras/memtrack/ |
D | memtrack.cpp | 41 : data_(buffer), max_(buffer_len), cur_idx_(0), len_(0), in FileData() 67 memcpy(data_, data_ + cur_idx_, len_); in isAvail() 73 bytes = read(fd_, data_ + len_, max_ - len_); in isAvail() 91 if (data_[cur_idx_] != 'P' || data_[cur_idx_+1] != 's' || in getPss() 92 data_[cur_idx_+2] != 's' || data_[cur_idx_+3] != ':') { in getPss() 94 while (isAvail(1) && data_[cur_idx_++] != '\n'); in getPss() 97 while (isAvail(1) && isspace(data_[cur_idx_])) { in getPss() 102 while (isAvail(1) && isdigit(data_[cur_idx_])) { in getPss() 103 value = value * 10 + data_[cur_idx_] - '0'; in getPss() 109 while (isAvail(1) && data_[cur_idx_++] != '\n'); in getPss()
|
D | memtrack.h | 43 char *data_; variable
|