val aes_reqs
      (alg: algorithm)
      (key: seq nat32)
      (round_keys: seq quad32)
      (keys_b: buffer128)
      (key_ptr: int)
      (heap0: vale_heap)
      (layout: vale_heap_layout)
    : prop0
let aes_reqs
  (alg:algorithm) (key:seq nat32) (round_keys:seq quad32) (keys_b:buffer128)
  (key_ptr:int) (heap0:vale_heap) (layout:vale_heap_layout) : prop0
  =
  (alg = AES_128 \/ alg = AES_256) /\
  is_aes_key_word alg key /\
  length(round_keys) == nr(alg) + 1 /\
  round_keys == key_to_round_keys_word alg key /\
  validSrcAddrs128 heap0 key_ptr keys_b (nr alg + 1) layout Secret /\
  reverse_bytes_quad32_seq (s128 heap0 keys_b) == round_keys
val aes_reqs
      (alg: algorithm)
      (key: seq nat32)
      (round_keys: seq quad32)
      (keys_b: buffer128)
      (key_ptr: int)
      (heap0: vale_heap)
      (layout: vale_heap_layout)
    : prop0
let aes_reqs
      (alg: algorithm)
      (key: seq nat32)
      (round_keys: seq quad32)
      (keys_b: buffer128)
      (key_ptr: int)
      (heap0: vale_heap)
      (layout: vale_heap_layout)
    : prop0 =
(alg = AES_128 \/ alg = AES_256) /\ is_aes_key_word alg key /\ length (round_keys) == nr (alg) + 1 /\
round_keys == key_to_round_keys_word alg key /\
validSrcAddrs128 heap0 key_ptr keys_b (nr alg + 1) layout Secret /\
reverse_bytes_quad32_seq (s128 heap0 keys_b) == round_keys
Vale.AES.PPC64LE.GCMdecrypt.fsti.checked
Vale.PPC64LE.State.fsti.checked Vale.PPC64LE.Stack_i.fsti.checked Vale.PPC64LE.QuickCodes.fsti.checked Vale.PPC64LE.QuickCode.fst.checked Vale.PPC64LE.Memory.fsti.checked Vale.PPC64LE.Machine_s.fst.checked Vale.PPC64LE.InsVector.fsti.checked Vale.PPC64LE.InsStack.fsti.checked Vale.PPC64LE.InsMem.fsti.checked Vale.PPC64LE.InsBasic.fsti.checked Vale.PPC64LE.Decls.fsti.checked Vale.Poly1305.Math.fsti.checked Vale.Math.Poly2.Bits_s.fsti.checked Vale.Lib.Meta.fsti.checked Vale.Def.Words_s.fsti.checked Vale.Def.Words.Seq_s.fsti.checked Vale.Def.Types_s.fst.checked Vale.Def.Prop_s.fst.checked Vale.Def.Opaque_s.fsti.checked Vale.Arch.Types.fsti.checked Vale.Arch.HeapImpl.fsti.checked Vale.AES.PPC64LE.GHash.fsti.checked Vale.AES.PPC64LE.GF128_Mul.fsti.checked Vale.AES.PPC64LE.GCTR.fsti.checked Vale.AES.PPC64LE.GCMencrypt.fsti.checked Vale.AES.PPC64LE.AES.fsti.checked Vale.AES.OptPublic_BE.fsti.checked Vale.AES.GHash_BE_s.fst.checked Vale.AES.GHash_BE.fsti.checked Vale.AES.GF128_s.fsti.checked Vale.AES.GF128.fsti.checked Vale.AES.GCTR_BE_s.fst.checked Vale.AES.GCTR_BE.fsti.checked Vale.AES.GCM_helpers_BE.fsti.checked Vale.AES.GCM_BE_s.fst.checked Vale.AES.GCM_BE.fsti.checked Vale.AES.AES_common_s.fst.checked Vale.AES.AES_BE_s.fst.checked prims.fst.checked FStar.Seq.Base.fsti.checked FStar.Seq.fst.checked FStar.Pervasives.Native.fst.checked FStar.Pervasives.fsti.checked
Vale.AES.PPC64LE.GCMdecrypt.fsti
Vale.AES.AES_common_s.algorithm FStar.Seq.Base.seq Vale.PPC64LE.Memory.nat32 Vale.PPC64LE.Memory.quad32 Vale.PPC64LE.Memory.buffer128 Prims.int Vale.PPC64LE.InsBasic.vale_heap Vale.Arch.HeapImpl.vale_heap_layout Prims.l_and Prims.l_or Prims.b2t Prims.op_Equality Vale.AES.AES_common_s.AES_128 Vale.AES.AES_common_s.AES_256 Vale.AES.AES_BE_s.is_aes_key_word Prims.eq2 FStar.Seq.Base.length Prims.op_Addition Vale.AES.AES_common_s.nr Vale.Def.Types_s.quad32 Vale.AES.AES_BE_s.key_to_round_keys_word Vale.PPC64LE.Decls.validSrcAddrs128 Vale.Arch.HeapTypes_s.Secret Vale.Arch.Types.reverse_bytes_quad32_seq Vale.PPC64LE.Decls.s128 Vale.Def.Prop_s.prop0
module Vale.AES.PPC64LE.GCMdecrypt
open Vale.Def.Prop_s
open Vale.Def.Opaque_s
open FStar.Seq
open Vale.Def.Words_s
open Vale.Def.Words.Seq_s
open Vale.Def.Types_s
open Vale.Arch.Types
open Vale.Arch.HeapImpl
open Vale.AES.AES_BE_s
open Vale.AES.GCTR_BE_s
open Vale.AES.GCTR_BE
open Vale.AES.GCM_BE
open Vale.AES.GHash_BE_s
open Vale.AES.GHash_BE
open Vale.AES.GCM_BE_s
open Vale.AES.PPC64LE.AES
open Vale.AES.GF128_s
open Vale.AES.GF128
open Vale.Poly1305.Math
open Vale.AES.GCM_helpers_BE
open Vale.AES.PPC64LE.GHash
open Vale.AES.PPC64LE.GCTR
open Vale.PPC64LE.Machine_s
open Vale.PPC64LE.Memory
open Vale.PPC64LE.Stack_i
open Vale.PPC64LE.State
open Vale.PPC64LE.Decls
open Vale.PPC64LE.InsBasic
open Vale.PPC64LE.InsMem
open Vale.PPC64LE.InsVector
open Vale.PPC64LE.InsStack
open Vale.PPC64LE.QuickCode
open Vale.PPC64LE.QuickCodes
open Vale.AES.PPC64LE.GF128_Mul
open Vale.Math.Poly2.Bits_s
open Vale.Lib.Meta
open Vale.AES.PPC64LE.GCMencrypt
let aes_reqs
  (alg:algorithm) (key:seq nat32) (round_keys:seq quad32) (keys_b:buffer128)
  (key_ptr:int) (heap0:vale_heap) (layout:vale_heap_layout) : prop0
val aes_reqs
      (alg: algorithm)
      (key: seq nat32)
      (round_keys: seq quad32)
      (keys_b: buffer128)
      (key_ptr: int)
      (heap0: vale_heap)
      (layout: vale_heap_layout)
    : prop0

    alg: Vale.AES.AES_common_s.algorithm ->
    key: FStar.Seq.Base.seq Vale.PPC64LE.Memory.nat32 ->
    round_keys: FStar.Seq.Base.seq Vale.PPC64LE.Memory.quad32 ->
    keys_b: Vale.PPC64LE.Memory.buffer128 ->
    key_ptr: Prims.int ->
    heap0: Vale.PPC64LE.InsBasic.vale_heap ->
    layout: Vale.Arch.HeapImpl.vale_heap_layout
  -> Vale.Def.Prop_s.prop0