Q1: What does RFC 6234 itself specify?
Multiple ChoiceAn A2A draft cites only RFC 6234 as the complete normative definition of SHA-256, HMAC-SHA-256, and HKDF-SHA-256.
Scope: RFC 6234 specifies the SHA algorithms and supplies sample SHA/HMAC/HKDF code, while the HMAC and HKDF constructions are defined by RFC 2104 and RFC 5869. Structured-data serialization, signatures, request authentication, and authorization belong to the composing protocol.
An A2A draft cites only RFC 6234 as the complete normative definition of SHA-256, HMAC-SHA-256, and HKDF-SHA-256.
Two conforming SHA-256 libraries receive the same logical task object, but one implementation hashes UTF-8 JSON and the other hashes a platform object serialization.
A client sends JSON and a SHA-256 digest. A gateway parses and rewrites the JSON before forwarding it. The backend hashes the rewritten bytes, while the client hashed the original bytes. The design intends the digest to authenticate the client's exact request representation.
The A2A profile requires HMAC-SHA-256 for request authentication. One implementation instead computes SHA-256(secret || request-bytes) and passes its own test vectors.
An A2A design must derive separate request-proof and audit keys from shared input keying material. The profile says HKDF-SHA-256, but an implementation computes SHA-256(input-keying-material) once and uses the result for both purposes.
A client signs a request digest. A gateway parses and normalizes the request, then sends the backend normalized bytes, the original digest, and an unsigned header saying that client verification succeeded. The backend authorizes the normalized operation.