HomeSort by relevance Sort by last modified time
    Searched full:caller_nonce_ (Results 1 - 3 of 3) sorted by null

  /system/tpm/trunks/
hmac_authorization_delegate_test.cc 86 delegate.tpm_nonce_ = delegate.caller_nonce_;
87 delegate.caller_nonce_ = nonce;
123 EXPECT_EQ(delegate_.caller_nonce_.size, original_nonce.size);
124 EXPECT_EQ(0, memcmp(delegate_.caller_nonce_.buffer,
136 EXPECT_EQ(delegate_.caller_nonce_.size, original_nonce.size);
138 EXPECT_NE(0, memcmp(delegate_.caller_nonce_.buffer,
141 EXPECT_EQ(0, memcmp(delegate_.caller_nonce_.buffer,
146 original_nonce = delegate_.caller_nonce_;
149 EXPECT_EQ(delegate_.caller_nonce_.size, original_nonce.size);
150 EXPECT_NE(0, memcmp(delegate_.caller_nonce_.buffer
    [all...]
hmac_authorization_delegate.cc 49 caller_nonce_.size = 0;
69 auth.nonce = caller_nonce_;
93 hmac_data.append(reinterpret_cast<const char*>(caller_nonce_.buffer),
94 caller_nonce_.size);
157 hmac_data.append(reinterpret_cast<const char*>(caller_nonce_.buffer),
158 caller_nonce_.size);
187 AesOperation(parameter, caller_nonce_, tpm_nonce_, AES_ENCRYPT);
206 AesOperation(parameter, tpm_nonce_, caller_nonce_, AES_DECRYPT);
224 caller_nonce_ = caller_nonce;
235 caller_nonce_);
    [all...]
hmac_authorization_delegate.h 142 // NOTE: This operation is DESTRUCTIVE, and rewrites the caller_nonce_ field.
146 TPM2B_NONCE caller_nonce_; member in class:trunks::HmacAuthorizationDelegate

Completed in 156 milliseconds