crypto/ccm: fix input_len check
crypto/ccm: fix input_len check

Maximum input_len depends only on length_encoding and not auth_data_len.
The current length_max value was also wrong.

RFC3610 page 2

   3. The message m, consisting of a string of l(m) octets where 0 <=
      l(m) < 2^(8L).  The length restriction ensures that l(m) can be
      encoded in a field of L octets.

rfuentess/RIOT,avmelnikoff/RIOT,toonst/RIOT,lazytech-org/RIOT,mtausig/RIOT,biboc/RIOT,biboc/RIOT,smlng/RIOT,jasonatran/RIOT,kbumsik/RIOT,ant9000/RIOT,biboc/RIOT,OlegHahm/RIOT,RIOT-OS/RIOT,A-Paul/RIOT,authmillenon/RIOT,mfrey/RIOT,neiljay/RIOT,josephnoir/RIOT,gebart/RIOT,kbumsik/RIOT,toonst/RIOT,rfuentess/RIOT,BytesGalore/RIOT,jasonatran/RIOT,kYc0o/RIOT,kbumsik/RIOT,mfrey/RIOT,neiljay/RIOT,smlng/RIOT,gebart/RIOT,OTAkeys/RIOT,kaspar030/RIOT,x3ro/RIOT,josephnoir/RIOT,josephnoir/RIOT,gebart/RIOT,avmelnikoff/RIOT,authmillenon/RIOT,rfuentess/RIOT,lazytech-org/RIOT,A-Paul/RIOT,yogo1212/RIOT,RIOT-OS/RIOT,cladmi/RIOT,kYc0o/RIOT,BytesGalore/RIOT,smlng/RIOT,josephnoir/RIOT,yogo1212/RIOT,biboc/RIOT,biboc/RIOT,cladmi/RIOT,basilfx/RIOT,basilfx/RIOT,OlegHahm/RIOT,cladmi/RIOT,OlegHahm/RIOT,OTAkeys/RIOT,basilfx/RIOT,OlegHahm/RIOT,toonst/RIOT,avmelnikoff/RIOT,ant9000/RIOT,kYc0o/RIOT,josephnoir/RIOT,yogo1212/RIOT,yogo1212/RIOT,basilfx/RIOT,OTAkeys/RIOT,toonst/RIOT,jasonatran/RIOT,OTAkeys/RIOT,RIOT-OS/RIOT,lazytech-org/RIOT,yogo1212/RIOT,RIOT-OS/RIOT,kaspar030/RIOT,OTAkeys/RIOT,jasonatran/RIOT,BytesGalore/RIOT,authmillenon/RIOT,basilfx/RIOT,cladmi/RIOT,neiljay/RIOT,mtausig/RIOT,gebart/RIOT,cladmi/RIOT,kYc0o/RIOT,A-Paul/RIOT,miri64/RIOT,avmelnikoff/RIOT,rfuentess/RIOT,A-Paul/RIOT,smlng/RIOT,mfrey/RIOT,mtausig/RIOT,lazytech-org/RIOT,RIOT-OS/RIOT,smlng/RIOT,mfrey/RIOT,authmillenon/RIOT,authmillenon/RIOT,lazytech-org/RIOT,kYc0o/RIOT,neiljay/RIOT,ant9000/RIOT,x3ro/RIOT,kbumsik/RIOT,miri64/RIOT,miri64/RIOT,aeneby/RIOT,x3ro/RIOT,OlegHahm/RIOT,jasonatran/RIOT,kaspar030/RIOT,x3ro/RIOT,ant9000/RIOT,aeneby/RIOT,rfuentess/RIOT,gebart/RIOT,BytesGalore/RIOT,aeneby/RIOT,kaspar030/RIOT,toonst/RIOT,miri64/RIOT,aeneby/RIOT,yogo1212/RIOT,mfrey/RIOT,avmelnikoff/RIOT,aeneby/RIOT,A-Paul/RIOT,ant9000/RIOT,BytesGalore/RIOT,kbumsik/RIOT,mtausig/RIOT,mtausig/RIOT,neiljay/RIOT,miri64/RIOT,x3ro/RIOT,kaspar030/RIOT,authmillenon/RIOT