Searched refs:hasLabel (Results 1 – 2 of 2) sorted by relevance
218 WebCryptoRsaOaepParams(bool hasLabel, const unsigned char* label, unsigned labelSize) in WebCryptoRsaOaepParams() argument219 : m_hasLabel(hasLabel) in WebCryptoRsaOaepParams()222 BLINK_ASSERT(hasLabel || !labelSize); in WebCryptoRsaOaepParams()227 bool hasLabel() const { return m_hasLabel; } in hasLabel() function
599 bool hasLabel; in parseRsaOaepParams() local601 if (!getOptionalCryptoOperationData(raw, "label", hasLabel, label, context, error)) in parseRsaOaepParams()604 …const unsigned char* labelStart = hasLabel ? static_cast<const unsigned char*>(label->baseAddress(… in parseRsaOaepParams()605 unsigned labelLength = hasLabel ? label->byteLength() : 0; in parseRsaOaepParams()607 params = adoptPtr(new WebCryptoRsaOaepParams(hasLabel, labelStart, labelLength)); in parseRsaOaepParams()