AES256GCM.envelope_from_gcm_checked: def of qasim-bend-kit@0.1.0.2 Import: import qasim-bend-kit@0.1.0.2/libs/AES256GCM.bend as AES256GCM Lines 426-433 of qasim-bend-kit@0.1.0.2/libs/AES256GCM.bend: https://jend.leeeet.dev/read.txt?path=qasim-bend-kit@0.1.0.2/libs/AES256GCM.bend&start_line=426&end_line=433 import Base import qasim-bend-kit@0.1.0.2/libs/AES256GCMCore.bend as Core def envelope_from_gcm_checked(nonce: Nonce, output: Core.GcmOutput) -> Envelope: match output: case Core.GcmOutput{+ciphertext, ciphertext_valid, +tag_bytes, tag_valid, tag_size, tag_words, tag_nonce, tag_aad, tag_matches}: Envelope{nonce, ciphertext, Tag{tag_bytes, tag_size, core_bytes_valid_proof(tag_bytes, tag_valid)}, core_bytes_valid_proof(ciphertext, ciphertext_valid)} Uses (5): https://jend.leeeet.dev/definition.txt?path=qasim-bend-kit@0.1.0.2/libs/AES256GCM.bend&name=Envelope https://jend.leeeet.dev/definition.txt?path=qasim-bend-kit@0.1.0.2/libs/AES256GCM.bend&name=Nonce https://jend.leeeet.dev/definition.txt?path=qasim-bend-kit@0.1.0.2/libs/AES256GCM.bend&name=Tag https://jend.leeeet.dev/definition.txt?path=qasim-bend-kit@0.1.0.2/libs/AES256GCM.bend&name=core_bytes_valid_proof https://jend.leeeet.dev/definition.txt?path=qasim-bend-kit@0.1.0.2/libs/AES256GCMCore.bend&name=GcmOutput