<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>22570</bug_id>
          
          <creation_ts>2013-07-04 01:03:05 +0000</creation_ts>
          <short_desc>AES-GCM should provide distinct inputs/outputs for the tag</short_desc>
          <delta_ts>2014-02-20 20:54:35 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Web Cryptography</product>
          <component>Web Cryptography API Document</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryan Sleevi">sleevi</reporter>
          <assigned_to name="Mark Watson">watsonm</assigned_to>
          <cc>ap</cc>
    
    <cc>israelh</cc>
    
    <cc>watsonm</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>90311</commentid>
    <comment_count>0</comment_count>
    <who name="Ryan Sleevi">sleevi</who>
    <bug_when>2013-07-04 01:03:05 +0000</bug_when>
    <thetext>Currently, AES-GCM handles the tag by appending it to the result.

However, it should instead provide distinct inputs/outputs for the ciphertext and the tag, per http://lists.w3.org/Archives/Public/public-webcrypto/2013May/0060.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90429</commentid>
    <comment_count>1</comment_count>
    <who name="Mark Watson">watsonm</who>
    <bug_when>2013-07-08 19:40:03 +0000</bug_when>
    <thetext>If this change is made it should apply to the input to unwrapKey and the output from wrapKey as well, for the case that AES-GCM is used as the wrapping algorithm.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99207</commentid>
    <comment_count>2</comment_count>
    <who name="Mark Watson">watsonm</who>
    <bug_when>2014-01-27 22:48:00 +0000</bug_when>
    <thetext>Agreed on 1/27 call that we&apos;ll follow the approach of RFC5116/PKCS#11 where the tag is appended to the ciphertext.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>