Home
last modified time | relevance | path

Searched refs:encdec (Results 1 – 4 of 4) sorted by relevance

/external/openssl/crypto/evp/
Devp_test.c140 int encdec) in test1() argument
147 (encdec == 1 ? "(encrypt)" : (encdec == 0 ? "(decrypt)" : "(encrypt/decrypt)"))); in test1()
161 if (encdec != 0) in test1()
200 if (encdec <= 0) in test1()
248 int encdec) in test_cipher() argument
256 test1(c,key,kn,iv,in,plaintext,pn,ciphertext,cn,encdec); in test_cipher()
370 int encdec; in main() local
385 encdec = -1; in main()
387 encdec = atoi(sstrsep(&p,"\n")); in main()
396 if(!test_cipher(cipher,key,kn,iv,in,plaintext,pn,ciphertext,cn,encdec) in main()
Devptests.txt62 # AES-bits-ECB:key::plaintext:ciphertext:encdec
79 # AES-bits-CBC:key:IV/ciphertext':plaintext:ciphertext:encdec
97 # AES-bits-CFB:key:IV/ciphertext':plaintext:ciphertext:encdec
129 # AES-bits-CFB:key:IV/output':plaintext:ciphertext:encdec
201 # CAMELLIA-bits-ECB:key::plaintext:ciphertext:encdec
230 # CAMELLIA-bits-CBC:key:IV/ciphertext':plaintext:ciphertext:encdec
251 # CAMELLIA-bits-CFB:key:IV/ciphertext':plaintext:ciphertext:encdec
289 # CAMELLIA-bits-OFB:key:IV/output':plaintext:ciphertext:encdec
/external/chromium_org/third_party/boringssl/src/crypto/cipher/
Dcipher_test.c128 const uint8_t *tag, int tn, int encdec) { in test1() argument
134 (encdec == 1 ? "(encrypt)" in test1()
135 : (encdec == 0 ? "(decrypt)" : "(encrypt/decrypt)"))); in test1()
155 if (encdec != 0) { in test1()
226 if (encdec <= 0) { in test1()
295 int encdec) { in test_cipher() argument
326 encdec); in test_cipher()
357 int encdec; in main() local
375 encdec = -1; in main()
388 encdec = -1; in main()
[all …]
Dcipher_test.txt22 # AES-bits-ECB:key::plaintext:ciphertext:encdec
34 # AES-bits-CBC:key:IV/ciphertext':plaintext:ciphertext:encdec