Searched refs:siglen (Results 1 – 4 of 4) sorted by relevance
/system/core/trusty/keymaster/ |
D | trusty_keymaster_device_test.cpp | 186 size_t siglen; in TEST_F() local 188 &signature, &siglen)); in TEST_F() 190 EXPECT_EQ(message_len, siglen); in TEST_F() 205 size_t siglen; in TEST_F() local 207 message_len, &signature, &siglen)); in TEST_F() 222 size_t siglen; in TEST_F() local 224 message_len, &signature, &siglen)); in TEST_F() 238 size_t siglen; in TEST_F() local 240 array_size(message) - 1, &signature, &siglen)); in TEST_F() 242 EXPECT_GT(siglen, 69U); in TEST_F() [all …]
|
/system/keymaster/ |
D | hmac_operation.cpp | 183 size_t siglen = signature.available_read(); in Finish() local 184 if (siglen > digest_len || siglen < kMinHmacLengthBits / 8) in Finish() 186 if (siglen < min_mac_length_) in Finish() 188 if (CRYPTO_memcmp(signature.peek_read(), digest, siglen) != 0) in Finish()
|
D | ecdsa_operation.cpp | 149 size_t siglen; in Finish() local 160 siglen = siglen_tmp; in Finish() 162 if (EVP_DigestSignFinal(&digest_ctx_, nullptr /* signature */, &siglen) != 1) in Finish() 164 if (!output->Reinitialize(siglen)) in Finish() 166 if (EVP_DigestSignFinal(&digest_ctx_, output->peek_write(), &siglen) <= 0) in Finish() 169 if (!output->advance_write(siglen)) in Finish()
|
D | rsa_operation.cpp | 371 size_t siglen; in SignDigested() local 372 if (EVP_DigestSignFinal(&digest_ctx_, nullptr /* signature */, &siglen) != 1) in SignDigested() 375 if (!output->Reinitialize(siglen)) in SignDigested() 378 if (EVP_DigestSignFinal(&digest_ctx_, output->peek_write(), &siglen) <= 0) in SignDigested() 380 if (!output->advance_write(siglen)) in SignDigested()
|