Searched refs:keyRecord (Results 1 – 2 of 2) sorted by relevance
1098 Dns::Ecdsa256KeyRecord keyRecord; in RegisterKey() local1100 keyRecord.Init(); in RegisterKey()1101 keyRecord.SetFlags(Dns::KeyRecord::kAuthConfidPermitted, Dns::KeyRecord::kOwnerNonZone, in RegisterKey()1103 keyRecord.SetProtocol(Dns::KeyRecord::kProtocolDnsSec); in RegisterKey()1104 keyRecord.SetAlgorithm(Dns::KeyRecord::kAlgorithmEcdsaP256Sha256); in RegisterKey()1105 keyRecord.SetLength(sizeof(Dns::Ecdsa256KeyRecord) - sizeof(Dns::ResourceRecord)); in RegisterKey()1106 keyRecord.SetKey(aKey); in RegisterKey()1111 keyInfo.mKeyData = reinterpret_cast<uint8_t *>(&keyRecord) + sizeof(Dns::ResourceRecord); in RegisterKey()1112 keyInfo.mKeyDataLength = keyRecord.GetLength(); in RegisterKey()
946 Dns::Ecdsa256KeyRecord keyRecord; in ProcessHostDescriptionInstruction() local952 SuccessOrExit(error = aMessage.Read(offset, keyRecord)); in ProcessHostDescriptionInstruction()953 VerifyOrExit(keyRecord.IsValid(), error = kErrorParse); in ProcessHostDescriptionInstruction()957 VerifyOrExit(aHost.mKey == keyRecord.GetKey(), error = kErrorSecurity); in ProcessHostDescriptionInstruction()962 aHost.mKey = keyRecord.GetKey(); in ProcessHostDescriptionInstruction()