Home
last modified time | relevance | path

Searched refs:InputFileBuffer (Results 1 – 3 of 3) sorted by relevance

/device/linaro/bootloader/edk2/BaseTools/Source/Python/Rsa2048Sha256Sign/
DRsa2048Sha256Sign.py110 args.InputFileBuffer = args.InputFile.read()
170 FullInputFileBuffer = args.InputFileBuffer
172 format = "%dsQ" % len(args.InputFileBuffer)
173 FullInputFileBuffer = struct.pack(format, args.InputFileBuffer, args.MonotonicCountValue)
189 args.OutputFile.write(args.InputFileBuffer)
196 …LOCK_RSA_2048_SHA256._make(EFI_CERT_BLOCK_RSA_2048_SHA256_STRUCT.unpack_from(args.InputFileBuffer))
197 args.InputFileBuffer = args.InputFileBuffer[EFI_CERT_BLOCK_RSA_2048_SHA256_STRUCT.size:]
213 FullInputFileBuffer = args.InputFileBuffer
215 format = "%dsQ" % len(args.InputFileBuffer)
216 FullInputFileBuffer = struct.pack(format, args.InputFileBuffer, args.MonotonicCountValue)
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Pkcs7Sign/
DPkcs7Sign.py127 args.InputFileBuffer = args.InputFile.read()
200 format = "%dsQ" % len(args.InputFileBuffer)
201 FullInputFileBuffer = struct.pack(format, args.InputFileBuffer, args.MonotonicCountValue)
216 args.OutputFile.write(args.InputFileBuffer)
257 elif SignatureSize > len(args.InputFileBuffer):
261 args.SignatureBuffer = args.InputFileBuffer[0:SignatureSize]
262 args.InputFileBuffer = args.InputFileBuffer[SignatureSize:]
264 format = "%dsQ" % len(args.InputFileBuffer)
265 FullInputFileBuffer = struct.pack(format, args.InputFileBuffer, args.MonotonicCountValue)
282 open(args.OutputFileName, 'wb').write(args.InputFileBuffer)
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFw/
DGenFw.c1079 UINT8 *InputFileBuffer; in main() local
1144 InputFileBuffer = NULL; in main()
1609 InputFileBuffer = malloc (InputFileLength); in main()
1610 if (InputFileBuffer == NULL) { in main()
1615 fread (InputFileBuffer, 1, InputFileLength, fpIn); in main()
1922 memcpy (FileBuffer, InputFileBuffer, InputFileLength); in main()
2648 … if ((FileLength != InputFileLength) || (memcmp (FileBuffer, InputFileBuffer, FileLength) != 0)) { in main()
2682 fwrite (InputFileBuffer, 1, InputFileLength, fpInOut); in main()
2714 if (InputFileBuffer != NULL) { in main()
2715 free (InputFileBuffer); in main()