OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:plaintext2
(Results
1 - 8
of
8
) sorted by null
/prebuilts/go/darwin-x86/src/vendor/golang_org/x/crypto/chacha20poly1305/
chacha20poly1305_test.go
33
plaintext2
, err := aead.Open(nil, nonce, ct, ad)
39
if !bytes.Equal(plaintext,
plaintext2
) {
40
t.Errorf("#%d: plaintext's don't match: got %x vs %x", i,
plaintext2
, plaintext)
91
plaintext2
, err := aead.Open(nil, nonce[:], ct, ad)
97
if !bytes.Equal(plaintext,
plaintext2
) {
98
t.Errorf("Random #%d: plaintext's don't match: got %x vs %x", i,
plaintext2
, plaintext)
/prebuilts/go/linux-x86/src/vendor/golang_org/x/crypto/chacha20poly1305/
chacha20poly1305_test.go
33
plaintext2
, err := aead.Open(nil, nonce, ct, ad)
39
if !bytes.Equal(plaintext,
plaintext2
) {
40
t.Errorf("#%d: plaintext's don't match: got %x vs %x", i,
plaintext2
, plaintext)
91
plaintext2
, err := aead.Open(nil, nonce[:], ct, ad)
97
if !bytes.Equal(plaintext,
plaintext2
) {
98
t.Errorf("Random #%d: plaintext's don't match: got %x vs %x", i,
plaintext2
, plaintext)
/external/boringssl/src/crypto/cipher/
aead_test.cc
247
uint8_t
plaintext2
[sizeof(plaintext) + 16];
local
248
OPENSSL_memset(
plaintext2
, kSentinel, sizeof(
plaintext2
));
251
if (!EVP_AEAD_CTX_open(ctx.get(),
plaintext2
, &plaintext2_len,
252
sizeof(
plaintext2
), nonce, nonce_len, ciphertext,
258
for (size_t i = plaintext2_len; i < sizeof(
plaintext2
); i++) {
260
if (
plaintext2
[i] != kSentinel) {
267
OPENSSL_memcmp(
plaintext2
, plaintext, sizeof(plaintext)) != 0) {
/prebuilts/go/darwin-x86/src/crypto/cipher/
example_test.go
221
plaintext2
:= make([]byte, len(plaintext))
223
stream.XORKeyStream(
plaintext2
, ciphertext[aes.BlockSize:])
225
fmt.Printf("%s\n",
plaintext2
)
256
plaintext2
:= make([]byte, len(plaintext))
258
stream.XORKeyStream(
plaintext2
, ciphertext[aes.BlockSize:])
260
fmt.Printf("%s\n",
plaintext2
)
gcm_test.go
215
plaintext2
, err := aesgcm.Open(nil, nonce, ct, ad)
221
if !bytes.Equal(plaintext,
plaintext2
) {
222
t.Errorf("#%d: plaintext's don't match: got %x vs %x", i,
plaintext2
, plaintext)
/prebuilts/go/linux-x86/src/crypto/cipher/
example_test.go
221
plaintext2
:= make([]byte, len(plaintext))
223
stream.XORKeyStream(
plaintext2
, ciphertext[aes.BlockSize:])
225
fmt.Printf("%s\n",
plaintext2
)
256
plaintext2
:= make([]byte, len(plaintext))
258
stream.XORKeyStream(
plaintext2
, ciphertext[aes.BlockSize:])
260
fmt.Printf("%s\n",
plaintext2
)
gcm_test.go
215
plaintext2
, err := aesgcm.Open(nil, nonce, ct, ad)
221
if !bytes.Equal(plaintext,
plaintext2
) {
222
t.Errorf("#%d: plaintext's don't match: got %x vs %x", i,
plaintext2
, plaintext)
/hardware/interfaces/keymaster/3.0/vts/functional/
keymaster_hidl_hal_test.cpp
2641
string
plaintext2
= DecryptMessage(ciphertext2, params);
local
[
all
...]
Completed in 427 milliseconds