Searched refs:siglen (Results 1 – 3 of 3) sorted by relevance
/system/keymaster/km_openssl/ |
D | hmac_operation.cpp | 181 size_t siglen = signature.available_read(); in Finish() local 182 if (siglen > digest_len || siglen < kMinHmacLengthBits / 8) in Finish() 184 if (siglen < min_mac_length_) return KM_ERROR_INVALID_MAC_LENGTH; in Finish() 185 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 | 375 size_t siglen; in SignDigested() local 376 if (EVP_DigestSignFinal(&digest_ctx_, nullptr /* signature */, &siglen) != 1) in SignDigested() 379 if (!output->Reinitialize(siglen)) in SignDigested() 382 if (EVP_DigestSignFinal(&digest_ctx_, output->peek_write(), &siglen) <= 0) in SignDigested() 384 if (!output->advance_write(siglen)) in SignDigested()
|