Lines Matching refs:parameter
171 std::string* parameter) { in EncryptCommandParameter() argument
172 CHECK(parameter); in EncryptCommandParameter()
181 if (parameter->size() > kTpmBufferSize) { in EncryptCommandParameter()
187 AesOperation(parameter, caller_nonce_, tpm_nonce_, AES_ENCRYPT); in EncryptCommandParameter()
192 std::string* parameter) { in DecryptResponseParameter() argument
193 CHECK(parameter); in DecryptResponseParameter()
202 if (parameter->size() > kTpmBufferSize) { in DecryptResponseParameter()
206 AesOperation(parameter, tpm_nonce_, caller_nonce_, AES_DECRYPT); in DecryptResponseParameter()
282 void HmacAuthorizationDelegate::AesOperation(std::string* parameter, in AesOperation() argument
299 AES_cfb128_encrypt(reinterpret_cast<const unsigned char*>(parameter->data()), in AesOperation()
300 decrypted, parameter->size(), &key, aes_iv, &iv_offset, in AesOperation()
302 memcpy(string_as_array(parameter), decrypted, parameter->size()); in AesOperation()