Searched refs:kEcdsaValueSize (Results 1 – 1 of 1) sorted by relevance
64 constexpr size_t kEcdsaValueSize = APPLOADER_DSA_LENGTH; variable65 constexpr size_t kEcdsaSignatureSize = 2 * kEcdsaValueSize;80 using SHADigest = std::array<uint8_t, kEcdsaValueSize>;215 if (rBnSize < 0 || static_cast<size_t>(rBnSize) > kEcdsaValueSize) { in ecdsaSignatureDerToCose()220 if (sBnSize < 0 || static_cast<size_t>(sBnSize) > kEcdsaValueSize) { in ecdsaSignatureDerToCose()227 if (BN_bn2bin(rBn, ecdsaCoseSignature.data() + kEcdsaValueSize - rBnSize) != in ecdsaSignatureDerToCose()340 BIGNUM_Ptr(BN_bin2bn(signature, kEcdsaValueSize, nullptr), BN_free); in checkEcDsaSignature()347 BN_bin2bn(signature + kEcdsaValueSize, kEcdsaValueSize, nullptr), in checkEcDsaSignature()