/util/ |
A D | generate_build_files.py | 73 out.write('\n') 178 out.write(')\n') 215 out.write('\n') 221 out.write(']\n') 258 out.write(']\n') 285 out.write('\n') 312 out.write('\n') 323 out.write(']\n') 482 out.write(')\n\n') 493 out.write(')\n\n') [all …]
|
A D | generate-asm-lcov.py | 54 out = '' 58 return out 66 out = current 67 if out == None: 87 out[line] = 0 91 return out 97 out = {} 114 out[filename] = parse(filename, res, out[filename]) 115 return out 120 out = '' [all …]
|
A D | convert_comments.go | 90 func writeLine(out *bytes.Buffer, line string) { 91 out.WriteString(line) 92 out.WriteByte('\n') 207 var out bytes.Buffer 212 writeLine(&out, line) 263 writeLine(&out, newLine) 269 return out.Bytes()
|
A D | read_symbols.go | 77 out := os.Stdout 80 out, err = os.Create(*outFlag) 84 defer out.Close() 148 if _, err := fmt.Fprintln(out, s); err != nil {
|
A D | make_prefix_headers.go | 41 var out = flag.String("out", ".", "Path to a directory where the outputs will be written") var 218 if err := writeCHeader(symbols, filepath.Join(*out, "boringssl_prefix_symbols.h")); err != nil { 223 …if err := writeASMHeader(symbols, filepath.Join(*out, "boringssl_prefix_symbols_asm.h")); err != n… 228 …if err := writeNASMHeader(symbols, filepath.Join(*out, "boringssl_prefix_symbols_nasm.inc")); err …
|
A D | godeps.go | 40 out = flag.String("out", "", "The path to write the output to. If unset, this is stdout") var 185 if len(*out) != 0 { 187 outFile, err = os.Create(*out)
|
A D | util.bzl | 121 # Pull the C++ files out.
|
/util/fipstools/acvp/acvptool/testmodulewrapper/ |
A D | hmac_drbg_test.go | 61 var out [1024 / 8]byte 62 drbg.Generate(out[:], nil) 63 drbg.Generate(out[:], nil) 65 …if hex.EncodeToString(out[:]) != "76fc79fe9b50beccc991a11b5635783a83536add03c157fb30645e611c2898bb… 66 t.Errorf("Incorrect result: %x", out) 86 var out [32]byte 88 drbg.Generate(out[:], nil) 90 drbg.Generate(out[:], nil) 92 …if hex.EncodeToString(out[:]) != "d3c36e4ae25ff21a95a157a89f13eb976362a695ea755f0465ed4a7bb20c5cb3… 93 t.Errorf("Incorrect result: %x", out)
|
A D | hmac_drbg.go | 83 func (drbg *HMACDRBGSHA256) Generate(out []byte, additionalInput []byte) { 89 for done < len(out) { 94 done += copy(out[done:], drbg.v[:])
|
A D | cts_test.go | 39 out := doCTSDecrypt(key[:], ciphertext, iv[:]) 41 if !bytes.Equal(in[:], out) {
|
A D | testmodulewrapper.go | 450 out := make([]byte, outLen) 454 drbg.Generate(out, additionalData1) 455 drbg.Generate(out, additionalData2) 457 return reply(out) 471 out := make([]byte, outLen) 475 drbg.Generate(out, nil) 477 drbg.Generate(out, nil) 479 return reply(out)
|
/util/pregenerate/ |
A D | err_data.go | 130 out.WriteString("const uint32_t " + values + "[] = {\n") 132 fmt.Fprintf(out, " 0x%x,\n", v) 134 out.WriteString("};\n\n") 143 out.WriteString("\\0\"\n \"") 146 out.Write(st.stringData[i : i+1]) 148 out.WriteString("\";\n\n") 229 var out bytes.Buffer 230 out.WriteString(`// Copyright 2015 The BoringSSL Authors 257 out.WriteString("\n") 259 e.reasons.WriteTo(&out, "Reason") [all …]
|
A D | build.go | 62 out.Srcs, err = glob(in.Srcs) 66 out.Hdrs, err = glob(in.Hdrs) 70 out.InternalHdrs, err = glob(in.InternalHdrs) 74 out.Asm, err = glob(in.Asm) 78 out.Nasm, err = glob(in.Nasm) 82 out.Data, err = glob(in.Data) 114 addPerlasmTask(&out.Asm, &p, "-win.S", []string{"win64"}) 126 addPerlasmTask(&out.Asm, &p, "-linux.S", []string{"elf"}) 131 slices.Sort(out.Srcs) 132 slices.Sort(out.Asm) [all …]
|
A D | task.go | 56 out, err := os.CreateTemp("", "*."+base) 60 defer os.Remove(out.Name()) 65 args = append(args, out.Name()) 73 data, err := os.ReadFile(out.Name())
|
/util/fipstools/delocate/ |
A D | delocate_test.go | 33 out string member 73 os.WriteFile(test.Path(test.out), buf.Bytes(), 0666) 75 expected, err := os.ReadFile(test.Path(test.out)) 77 t.Fatalf("could not read %q: %s", test.Path(test.out), err)
|
A D | delocate.go | 1746 out, err := os.OpenFile(*outFile, os.O_CREATE|os.O_TRUNC|os.O_WRONLY, 0644) 1750 defer out.Close() 1752 if err := transform(out, inputs); err != nil {
|
/util/fipstools/acvp/modulewrapper/ |
A D | modulewrapper.cc | 1239 std::vector<uint8_t> out; in AES_CTR() local 1382 if (!EVP_AEAD_CTX_seal(ctx.get(), out.data(), &out_len, out.size(), in AEADSeal() 1388 out.resize(out_len); in AEADSeal() 1411 if (!EVP_AEAD_CTX_open(ctx.get(), out.data(), &out_len, out.size(), in AEADOpen() 1418 out.resize(out_len); in AEADOpen() 1508 if (!AES_wrap_key_padded(&aes, out.data(), &out_len, out.size(), in AESPaddedKeyWrapSeal() 1514 out.resize(out_len); in AESPaddedKeyWrapSeal() 1532 if (!AES_unwrap_key_padded(&aes, out.data(), &out_len, out.size(), in AESPaddedKeyWrapOpen() 1539 out.resize(out_len); in AESPaddedKeyWrapOpen() 1690 return write_reply({out}); in HKDF() [all …]
|
/util/ar/ |
A D | ar_test.go | 30 out map[string]string member 93 for file, contentsPath := range test.out { 111 if _, ok := test.out[file]; !ok {
|
/util/fipstools/acvp/acvptool/acvp/ |
A D | acvp.go | 198 func parseReply(out any, in io.Reader) error { 199 if out == nil { 209 if err := decoder.Decode(out); err != nil { 382 func (server *Server) Get(out any, endPoint string) error { 398 return parseReply(out, resp.Body) 453 func (server *Server) Post(out any, endPoint string, contents []byte) error { 454 return server.write("POST", out, endPoint, contents) 457 func (server *Server) Put(out any, endPoint string, contents []byte) error { 458 return server.write("PUT", out, endPoint, contents) 485 output := reflect.ValueOf(out) [all …]
|
/util/testresult/ |
A D | testresult.go | 88 out, err := json.MarshalIndent(t, "", " ") 92 _, err = file.Write(out)
|
/util/convert_wycheproof/ |
A D | convert_wycheproof.go | 288 out, err := os.Create(txtPath) 293 defer out.Close() 295 if err := convertWycheproof(out, jsonPath); err != nil {
|
/util/bot/ |
A D | extract.py | 155 with open(fixed_path, 'wb') as out: 156 shutil.copyfileobj(entry.fileobj, out)
|
/util/fipstools/acvp/acvptool/ |
A D | acvp.go | 85 func jsonFromFile(out any, filename string) error { 107 if err := decoder.Decode(out); err != nil { 303 func getVectorsWithRetry(server *acvp.Server, url string) (out acvp.Vectors, vectorsBytes []byte, e… 306 return out, nil, err 311 return out, nil, err 530 out, err := json.Marshal(item) 534 return out, nil
|
/util/fipstools/acvp/acvptool/subprocess/ |
A D | subprocess.go | 90 func NewWithIO(cmd *exec.Cmd, in io.WriteCloser, out io.ReadCloser) *Subprocess { 94 stdout: out,
|
/util/fipstools/acvp/ |
A D | ACVP.md | 159 …lt contains a dummy entry for the algorithm `acvptool` it will be filtered out when running with `… 287 More complex interaction remains to be fleshed out. However, it is generally possible to create new… 302 …h` instead of `-run`. The `-fetch` option also supports passing `-expected-out <filename>` to fetc…
|