/aosp_15_r20/external/tink/go/hybrid/internal/hpke/ |
H A D | hpke_test.go | 162 if info, err = hex.DecodeString(v.info); err != nil { 165 if senderPubKey, err = hex.DecodeString(v.pkEm); err != nil { 168 if senderPrivKey, err = hex.DecodeString(v.skEm); err != nil { 171 if recipientPubKey, err = hex.DecodeString(v.pkRm); err != nil { 174 if recipientPrivKey, err = hex.DecodeString(v.skRm); err != nil { 177 if encapsulatedKey, err = hex.DecodeString(v.enc); err != nil { 180 if sharedSecret, err = hex.DecodeString(v.sharedSecret); err != nil { 183 if keyScheduleCtx, err = hex.DecodeString(v.keyScheduleCtx); err != nil { 186 if secret, err = hex.DecodeString(v.secret); err != nil { 189 if key, err = hex.DecodeString(v.key); err != nil { [all …]
|
/aosp_15_r20/prebuilts/go/linux-x86/src/crypto/cipher/ |
D | example_test.go | 24 key, _ := hex.DecodeString("6368616e676520746869732070617373776f726420746f206120736563726574") 53 key, _ := hex.DecodeString("6368616e676520746869732070617373776f726420746f206120736563726574") 54 …ciphertext, _ := hex.DecodeString("c3aaa29f002ca75870806e44086700f62ce4d43e902b3888e23ceff797a7a47… 55 nonce, _ := hex.DecodeString("64a9433eae7ccceee2fc0eda") 81 key, _ := hex.DecodeString("6368616e676520746869732070617373") 82 …ciphertext, _ := hex.DecodeString("73c86d43a9d700a253a96c85b0f6b03ac9792e0e757f869cca306bd3cba1c62… 124 key, _ := hex.DecodeString("6368616e676520746869732070617373") 163 key, _ := hex.DecodeString("6368616e676520746869732070617373") 164 ciphertext, _ := hex.DecodeString("7dd015f06bec7f1b8f6559dad89f4131da62261786845100056b353194ad") 192 key, _ := hex.DecodeString("6368616e676520746869732070617373") [all …]
|
D | gcm_test.go | 376 key, _ := hex.DecodeString(test.key) 382 nonce, _ := hex.DecodeString(test.nonce) 383 plaintext, _ := hex.DecodeString(test.plaintext) 384 ad, _ := hex.DecodeString(test.ad) 458 key, _ := hex.DecodeString("ab72c77b97cb5fe9a382d9fe81ffdbed") 476 key, _ := hex.DecodeString("ab72c77b97cb5fe9a382d9fe81ffdbed") 477 nonce, _ := hex.DecodeString("54cc7dc2c37ec006bcc6d1db") 478 …ciphertext, _ := hex.DecodeString("0e1bde206a07a9c2c1b65300f8c649972b4401346697138c7a4891ee59867d0… 523 nonce, _ := hex.DecodeString(test.nonce) 524 want, _ := hex.DecodeString(test.tag)
|
D | cfb_test.go | 50 key, err := hex.DecodeString(test.key) 54 iv, err := hex.DecodeString(test.iv) 58 plaintext, err := hex.DecodeString(test.plaintext) 62 expected, err := hex.DecodeString(test.ciphertext)
|
/aosp_15_r20/external/tink/go/daead/subtle/ |
H A D | aes_siv_test.go | 57 key, _ := hex.DecodeString(keyStr) 82 key, _ := hex.DecodeString(keyStr) 115 key, _ := hex.DecodeString(keyStr) 147 key, _ := hex.DecodeString(keyStr) 164 key, _ := hex.DecodeString(keyStr) 203 key, _ := hex.DecodeString(keyStr) 229 key, _ := hex.DecodeString(keyStr) 276 key, err := hex.DecodeString(tc.Key) 280 aad, err := hex.DecodeString(tc.Aad) 284 msg, err := hex.DecodeString(tc.Msg) [all …]
|
/aosp_15_r20/external/tink/go/signature/ |
H A D | rsassapkcs1_verifier_key_manager_test.go | 263 e, err := hex.DecodeString(t.key.e) 267 n, err := hex.DecodeString(t.key.n) 271 d, err := hex.DecodeString(t.key.d) 275 p, err := hex.DecodeString(t.key.p) 279 q, err := hex.DecodeString(t.key.q) 283 dp, err := hex.DecodeString(t.key.dp) 287 dq, err := hex.DecodeString(t.key.dq) 291 crt, err := hex.DecodeString(t.key.crt) 403 sig, err := hex.DecodeString(tc.sig) 407 msg, err := hex.DecodeString(tc.msg)
|
/aosp_15_r20/external/boringssl/src/util/fipstools/acvp/acvptool/subprocess/ |
H A D | kasdh.go | 97 p, err := hex.DecodeString(group.PHex) 102 q, err := hex.DecodeString(group.QHex) 107 g, err := hex.DecodeString(group.GHex) 120 peerPublic, err := hex.DecodeString(test.PeerPublicHex) 130 privateKey, err := hex.DecodeString(test.PrivateKeyHex) 135 publicKey, err := hex.DecodeString(test.PublicKeyHex) 140 expectedOutput, err := hex.DecodeString(test.ResultHex)
|
H A D | ecdsa.go | 117 qx, err := hex.DecodeString(test.QxHex) 121 qy, err := hex.DecodeString(test.QyHex) 160 msg, err := hex.DecodeString(test.MsgHex) 185 msg, err := hex.DecodeString(test.MsgHex) 189 qx, err := hex.DecodeString(test.QxHex) 193 qy, err := hex.DecodeString(test.QyHex) 197 r, err := hex.DecodeString(test.RHex) 201 s, err := hex.DecodeString(test.SHex)
|
H A D | tls13.go | 87 clientHello, err := hex.DecodeString(test.ClientHelloHex) 91 serverHello, err := hex.DecodeString(test.ServerHelloHex) 95 serverFinished, err := hex.DecodeString(test.ServerFinishedHex) 99 clientFinished, err := hex.DecodeString(test.ClientFinishedHex) 121 psk, err := hex.DecodeString(test.PSKInputHex) 129 dhe, err := hex.DecodeString(test.DHEInputHex)
|
H A D | hkdf.go | 71 salt, err = hex.DecodeString(p.SaltHex) 76 key, err = hex.DecodeString(p.KeyHex) 90 ret, err := hex.DecodeString(p.IDHex) 96 extra, err := hex.DecodeString(p.ExtraHex) 164 expected, err = hex.DecodeString(test.ExpectedHex)
|
H A D | tlskdf.go | 87 pms, err := hex.DecodeString(test.PMSHex) 92 clientRandom, err := hex.DecodeString(test.ClientRandomHex) 97 serverRandom, err := hex.DecodeString(test.ServerRandomHex) 102 sessionHash, err := hex.DecodeString(test.SessionHashHex)
|
/aosp_15_r20/external/cronet/third_party/boringssl/src/util/fipstools/acvp/acvptool/subprocess/ |
H A D | kasdh.go | 97 p, err := hex.DecodeString(group.PHex) 102 q, err := hex.DecodeString(group.QHex) 107 g, err := hex.DecodeString(group.GHex) 120 peerPublic, err := hex.DecodeString(test.PeerPublicHex) 130 privateKey, err := hex.DecodeString(test.PrivateKeyHex) 135 publicKey, err := hex.DecodeString(test.PublicKeyHex) 140 expectedOutput, err := hex.DecodeString(test.ResultHex)
|
H A D | ecdsa.go | 117 qx, err := hex.DecodeString(test.QxHex) 121 qy, err := hex.DecodeString(test.QyHex) 160 msg, err := hex.DecodeString(test.MsgHex) 185 msg, err := hex.DecodeString(test.MsgHex) 189 qx, err := hex.DecodeString(test.QxHex) 193 qy, err := hex.DecodeString(test.QyHex) 197 r, err := hex.DecodeString(test.RHex) 201 s, err := hex.DecodeString(test.SHex)
|
H A D | tls13.go | 87 clientHello, err := hex.DecodeString(test.ClientHelloHex) 91 serverHello, err := hex.DecodeString(test.ServerHelloHex) 95 serverFinished, err := hex.DecodeString(test.ServerFinishedHex) 99 clientFinished, err := hex.DecodeString(test.ClientFinishedHex) 121 psk, err := hex.DecodeString(test.PSKInputHex) 129 dhe, err := hex.DecodeString(test.DHEInputHex)
|
H A D | hkdf.go | 71 salt, err = hex.DecodeString(p.SaltHex) 76 key, err = hex.DecodeString(p.KeyHex) 90 ret, err := hex.DecodeString(p.IDHex) 96 extra, err := hex.DecodeString(p.ExtraHex) 164 expected, err = hex.DecodeString(test.ExpectedHex)
|
H A D | tlskdf.go | 87 pms, err := hex.DecodeString(test.PMSHex) 92 clientRandom, err := hex.DecodeString(test.ClientRandomHex) 97 serverRandom, err := hex.DecodeString(test.ServerRandomHex) 102 sessionHash, err := hex.DecodeString(test.SessionHashHex)
|
H A D | aead.go | 129 key, err := hex.DecodeString(test.KeyHex) 134 nonce, err := hex.DecodeString(test.IVHex) 139 aad, err := hex.DecodeString(test.AADHex) 155 input, err := hex.DecodeString(inputHex) 170 if tag, err = hex.DecodeString(test.TagHex); err != nil {
|
/aosp_15_r20/external/tink/go/mac/subtle/ |
H A D | cmac_test.go | 32 keyRFC4493, _ = hex.DecodeString("2b7e151628aed2a6abf7158809cf4f3c") 33 …dataRFC4493, _ = hex.DecodeString("6bc1bee22e409f96e93d7e117393172aae2d8a571e03ac9c9eb76fac45af8e5… 82 key, err := hex.DecodeString(tc.Key) 87 msg, err := hex.DecodeString(tc.Msg) 92 tag, err := hex.DecodeString(tc.Tag) 145 exp, err := hex.DecodeString(e) 210 exp, err := hex.DecodeString(e) 234 exp, err := hex.DecodeString(e) 255 exp, err := hex.DecodeString(e)
|
/aosp_15_r20/external/tink/go/aead/subtle/ |
H A D | xchacha20poly1305_test.go | 34 key, _ := hex.DecodeString(test.key) 35 pt, _ := hex.DecodeString(test.plaintext) 36 aad, _ := hex.DecodeString(test.aad) 37 nonce, _ := hex.DecodeString(test.nonce) 38 out, _ := hex.DecodeString(test.out) 39 tag, _ := hex.DecodeString(test.tag) 146 key, _ := hex.DecodeString(test.key) 147 pt, _ := hex.DecodeString(test.plaintext) 148 aad, _ := hex.DecodeString(test.aad)
|
H A D | chacha20poly1305_test.go | 34 key, _ := hex.DecodeString(test.key) 35 pt, _ := hex.DecodeString(test.plaintext) 36 ad, _ := hex.DecodeString(test.associatedData) 37 nonce, _ := hex.DecodeString(test.nonce) 38 out, _ := hex.DecodeString(test.out) 144 key, _ := hex.DecodeString(test.key) 145 pt, _ := hex.DecodeString(test.plaintext) 146 ad, _ := hex.DecodeString(test.associatedData)
|
/aosp_15_r20/external/tink/go/subtle/ |
H A D | x25519_test.go | 44 priv, err := hex.DecodeString(test.priv) 48 pub, err := hex.DecodeString(test.pub) 99 pub, err := hex.DecodeString(test.Public) 103 priv, err := hex.DecodeString(test.Private) 157 pub, err := hex.DecodeString(pubHex) 181 priv, err := hex.DecodeString(test.priv) 205 priv, err := hex.DecodeString(priv)
|
/aosp_15_r20/external/tink/go/internal/aead/ |
H A D | chacha20poly1305_insecure_nonce_test.go | 36 key, _ := hex.DecodeString(test.key) 37 pt, _ := hex.DecodeString(test.plaintext) 38 aad, _ := hex.DecodeString(test.aad) 39 nonce, _ := hex.DecodeString(test.nonce) 40 ct, _ := hex.DecodeString(test.out) 131 key, _ := hex.DecodeString(test.key) 132 pt, _ := hex.DecodeString(test.plaintext) 133 aad, _ := hex.DecodeString(test.aad)
|
/aosp_15_r20/prebuilts/go/linux-x86/src/crypto/ed25519/ |
D | ed25519_test.go | 70 …key, _ := hex.DecodeString("833fe62409237b9d62ec77587520911e9a759cec1d19755b7da901b96dca3d42ec172b… 71 …expectedSig, _ := hex.DecodeString("98a70222f0b8121aa9d30f813d683f809e462b469c7ff87639499bb94e6dae… 72 message, _ := hex.DecodeString("616263") 133 …key, _ := hex.DecodeString("0305334e381af78f141cb666f6199f57bc3495335a256a95bd2a55bf546663f6dfc942… 134 …expectedSig, _ := hex.DecodeString("55a4cc2f70a54e04288c5f4cd1e45a7bb520b36292911876cada7323198dd8… 135 message, _ := hex.DecodeString("f726936d19c800494e3fdaff20b276a8") 253 privBytes, _ := hex.DecodeString(parts[0]) 254 pubKey, _ := hex.DecodeString(parts[1]) 255 msg, _ := hex.DecodeString(parts[2]) 256 sig, _ := hex.DecodeString(parts[3])
|
/aosp_15_r20/prebuilts/go/linux-x86/src/crypto/rsa/ |
D | example_test.go | 47 rsaCiphertext, _ := hex.DecodeString("aabbccddeeff") 72 ciphertext, _ := hex.DecodeString("00112233445566") 105 …signature, _ := hex.DecodeString("ad2766728615cc7a746cc553916380ca7bfa4f8983b990913bc69eb0556539a3… 143 …ciphertext, _ := hex.DecodeString("4d1ee10e8f286390258c51a5e80802844c3e6358ad6690b7285218a7c7ed7fc…
|
/aosp_15_r20/prebuilts/go/linux-x86/src/encoding/base64/ |
D | base64_test.go | 165 dbuf, err = tt.enc.DecodeString(encoded) 397 buf, err := StdEncoding.DecodeString(e) 494 s, err := StdEncoding.DecodeString("YWJjZA=====") 505 _, err := StdEncoding.Strict().DecodeString("WvLTlMrX9NpYDQlEIFlnDB==") 510 _, err = StdEncoding.Strict().DecodeString("WvLTlMrX9NpYDQlEIFlnDA==") 514 _, err = StdEncoding.DecodeString("WvLTlMrX9NpYDQlEIFlnDB==") 535 StdEncoding.DecodeString(data) 560 dec1, err := RawURLEncoding.DecodeString(source)
|